
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-58007 is a vulnerability discovered in the Linux kernel's QCOM SoC driver, specifically affecting the socinfo functionality. The vulnerability was publicly disclosed on February 26, 2025, and received its last modification on March 13, 2025. The issue affects various versions of the Linux kernel, including versions from 5.4 through 6.13 (NVD).
The vulnerability is an out-of-bounds read issue (CWE-125) in the Linux kernel's soc/qcom/socinfo driver. On MSM8916 devices, the serial number exposed in sysfs remains constant (2644893864) across different devices due to incorrect bounds checking. The firmware used on MSM8916 exposes SOCINFOVERSION(0, 8), which lacks support for the serialnum field in the socinfo struct. The vulnerability occurs because the existing check compares the start offset instead of the end of the serialnum when checking itemsize returned by SMEM. The CVSS v3.1 base score is 7.1 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (NVD).
The vulnerability allows an attacker to perform an out-of-bounds read of whatever data comes after the socinfo struct in SMEM on MSM8916 devices. This could potentially lead to information disclosure and system crashes, as indicated by the high confidentiality and availability impact ratings in the CVSS score (NVD).
The vulnerability has been fixed by changing offsetof() to offsetofend() to properly account for the size of the field when performing bounds checking. Multiple Linux distributions have released patches, including Ubuntu which has provided fixes across various kernel versions. For Ubuntu users, system updates requiring a reboot are necessary to implement the fixes (Ubuntu).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."