Menu

Star on GitHub · 3.2k

CVE-2024-58007

7.1 · HIGH

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 constan…

Published Feb 27, 2025CWE-125EPSS 0.25%

Overview

CVE-2024-58007 is a high-severity vulnerability. It was published on February 27, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-58007?

CVE-2024-58007 is a high-severity vulnerability. It was published on February 27, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2024-58007?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-58007?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-58007?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-58007 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all