Skip to main content
Network Thinking Solutions Logo

CVE-2024-58007

Linux kernel: soc: qcom: socinfo: Avoid out of bounds read of serial number

All CVEs
CVE-2024-58007Published 2/27/2025

Linux kernel: soc: qcom: socinfo: Avoid out of bounds read of serial number

Vendor advisory
CVSS7.1High

Overview

In the Linux kernel, the following vulnerability has been resolved: soc: qcom: socinfo: Avoid out of bounds read of serial number On MSM8916 devices, the serial number exposed in sysfs is constant and does not change across individual devices. It's always: db410c:/sys/devices/soc0$ cat serial_number 2644893864 The firmware used on MSM8916 exposes SOCINFO_VERSION(0, 8), which does not have support for the serial_num field in the socinfo struct. There is an existing check to avoid exposing the serial number in that case, but it's not correct: When checking the item_size returned by SMEM, we need to make sure the *end* of the serial_num is within bounds, instead of comparing with the *start* offset. The serial_number currently exposed on MSM8916 devices is just an out of bounds read of whatever comes after the socinfo struct in SMEM. Fix this by changing offsetof() to offsetofend(), so that the size of the field is also taken into account.

Published
2/27/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.4, < 6.1.129

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.78

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.14

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.3

Verify advisory

Source
Linux
Linux
≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 7445fa05317534bbd8b373c0eff8319187916030

Verify advisory

Source
Linux
Linux
≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 2495c6598731b6d7f565140f2bd63ef4bc36ce7d

Verify advisory

Source
Linux
Linux
≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd

Verify advisory

Source
Linux
Linux
≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 9c88b3a3fae4d60641c3a45be66269d00eff33cd

Verify advisory

Source
Linux
Linux
≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 47470acd719d45c4c8c418c07962f74cc995652b

Verify advisory

Source
Linux
Linux
≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 407c928305c1a37232a63811c400ef616f85ccbc

Verify advisory

Source
Linux
Linux
≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 0a92feddae0634a0b87c04b19d343f6af97af700

Verify advisory

Source
Linux
Linux
≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 22cf4fae6660b6e1a583a41cbf84e3046ca9ccd0

Verify advisory

Source
Linux
Linux
5.4

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.