7.1

CVE-2024-58007: soc: qcom: socinfo: Avoid out of bounds read of serial number

Modified
AliasesUBUNTU-CVE-2024-58007DEBIAN-CVE-2024-58007
Published 27-02-2025Last modified 11-05-2026

Vulnerability summary

CVE-2024-58007 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (NVD)
EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 53 · Related 50

Timeline

  1. 27-02-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.25% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu132 products
  • linux< 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-64.67
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1032.34
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 7445fa05317534bbd8b373c0eff8319187916030 | ≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 2495c6598731b6d7f565140f2bd63ef4bc36ce7d | ≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd | ≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 9c88b3a3fae4d60641c3a45be66269d00eff33cd | ≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 47470acd719d45c4c8c418c07962f74cc995652b | ≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 407c928305c1a37232a63811c400ef616f85ccbc | ≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 0a92feddae0634a0b87c04b19d343f6af97af700 | ≥ efb448d0a3fca01bb987dd70963da6185b81751e, < 22cf4fae6660b6e1a583a41cbf84e3046ca9ccd0 | 5.4
  • linux_kernel≥ 5.4, < 6.1.129 | ≥ 6.2, < 6.6.78 | ≥ 6.7, < 6.12.14 | ≥ 6.13, < 6.13.3
Debian1 product
  • linux< 6.1.129-1 | < 6.12.15-1

3 vendors · 135 products

References

56 links
Show all 56 references