CVE-2024-58007

Aliases:UBUNTU-CVE-2024-58007DEBIAN-CVE-2024-58007
Advisory lineage Upstream: 0 Downstream: 55
Modified
Published: 27 Feb 2025, 02:12
Last modified:11 May 2026, 21:01

Vulnerability Summary

Overall Risk (default)
medium
28/100
CVSS Score
7.1 HIGH
v3.1 (nvd)
EPSS Score
0.26% LOW
0% probability +0.22%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

27 Feb 2025, 02:12
Published
Vulnerability first disclosed
11 May 2026, 21:01
Last Modified
Vulnerability 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

  • v3.1HIGHScore: 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

EPSS Trends

Current EPSS score: 0.26% Percentile: 18%

Techniques & Countermeasures

  • CWE-125Out-of-bounds Read

    The product reads data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • debianlinux

    < 5.10.237-1 | < 6.1.129-1 | < 6.12.15-1 | < 6.12.15-1

  • debianlinux-6.1

    < 6.1.129-1~deb11u1

  • ubuntulinux

    < 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-64.67

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1032.34

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1084.91~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1146.156~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1032.34~22.04.1

  • ubuntulinux-aws-fips

    < 5.4.0-1146.156+fips1 | all | < 5.15.0-1084.91+fips1

  • ubuntulinux-azure

    all | < 5.4.0-1151.158 | < 5.15.0-1089.98 | < 6.8.0-1034.39

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1089.98~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1151.158~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.11

    < 6.11.0-1015.15~24.04.1

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1034.39~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 5.4.0-1151.158+fips1 | all | < 5.15.0-1089.98+fips1

  • ubuntulinux-azure-nvidia

    < 6.8.0-1022.23

  • ubuntulinux-bluefield

    all | < 5.4.0-1105.112 | < 5.15.0-1066.68

  • ubuntulinux-fips

    < 5.4.0-1120.130 | all | < 5.15.0-140.150+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    all | < 5.4.0-1149.158 | < 5.15.0-1083.92 | < 6.8.0-1033.35

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1083.92~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1149.158~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.11

    < 6.11.0-1015.15~24.04.1

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-6.8

    < 6.8.0-1033.35~22.04.1

  • ubuntulinux-gcp-fips

    < 5.4.0-1149.158+fips1 | all | < 5.15.0-1083.92+fips1

Showing first 50 affected entries in server-rendered view.

References (56)