CVE-2024-58007
publishedsoc: qcom: socinfo: Avoid out of bounds read of serial number
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxefb448d0a3fca01bb987dd70963da6185b81751e to < 7445fa05317534bbd8b373c0eff8319187916030 · efb448d0a3fca01bb987dd70963da6185b81751e to < 2495c6598731b6d7f565140f2bd63ef4bc36ce7d · efb448d0a3fca01bb987dd70963da6185b81751e to < 2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd · efb448d0a3fca01bb987dd70963da6185b81751e to < 9c88b3a3fae4d60641c3a45be66269d00eff33cd · efb448d0a3fca01bb987dd70963da6185b81751e to < 47470acd719d45c4c8c418c07962f74cc995652b · efb448d0a3fca01bb987dd70963da6185b81751e to < 407c928305c1a37232a63811c400ef616f85ccbc · efb448d0a3fca01bb987dd70963da6185b81751e to < 0a92feddae0634a0b87c04b19d343f6af97af700 · efb448d0a3fca01bb987dd70963da6185b81751e to < 22cf4fae6660b6e1a583a41cbf84e3046ca9ccd0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.4.291 through 5.4.* (unaffected · semver) · 5.10.235 through 5.10.* (unaffected · semver) · 5.15.179 through 5.15.* (unaffected · semver) · 6.1.129 through 6.1.* (unaffected · semver) · 6.6.78 through 6.6.* (unaffected · semver) · 6.12.14 through 6.12.* (unaffected · semver) · 6.13.3 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.56.1.el10_2 | ALSA-2026:68507 |
| Debian | bullseye | linux | Advisory build | 5.10.237-1 | DLA-4178-1 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.56.1.el10_2 | ALSA-2026:68507 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.129-1~deb11u1 | DLA-4102-1 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-211.56.1.el10_2 | ELSA-2026-68507 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | efb448d0a3fca01bb987dd70963da6185b81751e to < 7445fa05317534bbd8b373c0eff8319187916030 (affected · git)efb448d0a3fca01bb987dd70963da6185b81751e to < 2495c6598731b6d7f565140f2bd63ef4bc36ce7d (affected · git)efb448d0a3fca01bb987dd70963da6185b81751e to < 2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd (affected · git)efb448d0a3fca01bb987dd70963da6185b81751e to < 9c88b3a3fae4d60641c3a45be66269d00eff33cd (affected · git)efb448d0a3fca01bb987dd70963da6185b81751e to < 47470acd719d45c4c8c418c07962f74cc995652b (affected · git)efb448d0a3fca01bb987dd70963da6185b81751e to < 407c928305c1a37232a63811c400ef616f85ccbc (affected · git)efb448d0a3fca01bb987dd70963da6185b81751e to < 0a92feddae0634a0b87c04b19d343f6af97af700 (affected · git)efb448d0a3fca01bb987dd70963da6185b81751e to < 22cf4fae6660b6e1a583a41cbf84e3046ca9ccd0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.4 (affected)0 to < 5.4 (unaffected · semver)5.4.291 through 5.4.* (unaffected · semver)5.10.235 through 5.10.* (unaffected · semver)5.15.179 through 5.15.* (unaffected · semver)6.1.129 through 6.1.* (unaffected · semver)6.6.78 through 6.6.* (unaffected · semver)6.12.14 through 6.12.* (unaffected · semver)6.13.3 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/0a92feddae0634a0b87c04b19d343f6af97af700
- https://git.kernel.org/stable/c/22cf4fae6660b6e1a583a41cbf84e3046ca9ccd0
- https://git.kernel.org/stable/c/2495c6598731b6d7f565140f2bd63ef4bc36ce7d
- https://git.kernel.org/stable/c/2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd
- https://git.kernel.org/stable/c/407c928305c1a37232a63811c400ef616f85ccbc
- https://git.kernel.org/stable/c/47470acd719d45c4c8c418c07962f74cc995652b
- https://git.kernel.org/stable/c/7445fa05317534bbd8b373c0eff8319187916030
- https://git.kernel.org/stable/c/9c88b3a3fae4d60641c3a45be66269d00eff33cd
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Provider assertions
2Linux · cna
soc: qcom: socinfo: Avoid out of bounds read of serial number
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- af8d0a0d6e8fded98abe97842cbcf216fe3028e38d06b84fa013fff61aca6820
- Ingested
- 23 Sep 2026, 08:32:14 UTC
- Source record
- Official CVE record