Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-58007

7.1 · HIGH
Published Feb 27, 2025 linux CWE-125 EPSS 0.26% (17th pctl)

Overview

CVE-2024-58007 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.4, < 6.1.129 Affected

Frequently Asked Questions

What is CVE-2024-58007?

CVE-2024-58007 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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's AI-powered security agents can automatically detect CVE-2024-58007 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.