CVE-2024-35848
published high CVSS 3.1 · 7.0eeprom: at24: fix memory corruption race condition
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < c850f71fca09ea41800ed55905980063d17e01da · b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < 26d32bec4c6d255a03762f33c637bfa3718be15a · b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < c43e5028f5a35331eb25017f5ff6cc21735005c6 · b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < 2af84c46b9b8f2d6c0f88d09ee5c849ae1734676 · b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < 6d8b56ec0c8f30d5657382f47344a32569f7a9bc · b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < f42c97027fb75776e2e9358d16bf4a99aeb04cf2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.3 (affected) · 0 to < 5.3 (unaffected · semver) · 5.10.217 through 5.10.* (unaffected · semver) · 5.15.159 through 5.15.* (unaffected · semver) · 6.1.91 through 6.1.* (unaffected · semver) · 6.6.31 through 6.6.* (unaffected · semver) · 6.8.9 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.31.1.el9_4 | ALSA-2024:5363 |
| Debian | bullseye | linux | Advisory build | 5.10.218-1 | DSA-5703-1 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.3.0-427.31.1.el9_4 | ELSA-2024-5363 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.218-1~deb10u1 | DLA-3843-1 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.3.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
| Oracle Linux | 9 | rtlax86_64 | Advisory build | 0:5.14.0-427.31.1.el9_4 | ELSA-2024-5363 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: eeprom: at24: fix memory corruption race condition If the eeprom is not accessible, an nvmem device will be registered, the read will fail, and the device will be torn down. If another driver accesses the nvmem device after the teardown, it will reference invalid memory. Move the failure point before registering the nvmem device.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The dangling nvmem provider is driven through local interfaces — the world-readable `/sys/bus/nvmem/devices/*/nvmem` and compat `eeprom` binary attributes (0444 for `at24_data_spd`/`24c02_vaio` via AT24_FLAG_IRUGO) reached by read(2), plus in-kernel nvmem consumer paths. There is no network exposure, and the exploitation interface is a local syscall rather than physical manipulation. AC:H - Exploitation requires the EEPROM's one-byte probe read to fail (an I2C/hardware condition a local unprivileged attacker cannot induce) while an nvmem consumer holds a reference across the devres teardown. The consumer half is deterministic on affected platforms (e.g. the NVMEM_ADD notifier in cp500.c fires inside nvmem_register itself), but the hardware-failure half is outside attacker control. PR:L - SPD and VAIO at24 chip data clear `root_only`, giving the nvmem and compat eeprom sysfs attributes mode 0444, so any unprivileged local account can invoke the freed `at24_read()` path with no capabilities, namespace tricks, or group membership. UI:N - No victim action is needed; the attacker simply reads the sysfs attribute, or an in-kernel consumer touches the stale nvmem device on its own. S:U - The use-after-free occurs in kernel memory and its impact is confined to the kernel's own security authority — no VM, IOMMU, or sandbox boundary is crossed. C:H - Reading the stale nvmem device dereferences a freed `at24_data`, and `at24_translate_offset()` indexes `client_regmaps[]` using an index bounded only by the freed `byte_len`, yielding out-of-bounds pointer fetches and regmap reads that return arbitrary reclaimed kernel memory into the user-visible read buffer. I:H - `at24_read()` calls `at24->read_post()` — a function pointer loaded from freed memory — and drives regmap op/lock tables out of a freed regmap, while `at24_write()` on a writable instance pushes attacker data through the same stale structures; heap grooming turns this into arbitrary write and control-flow hijack. A:H - Even without grooming, the use-after-free dereferences freed regmap and device pointers and locks a freed mutex, reliably producing an oops or panic, and the dangling nvmem device persists so the crash can be triggered repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < c850f71fca09ea41800ed55905980063d17e01da (affected · git)b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < 26d32bec4c6d255a03762f33c637bfa3718be15a (affected · git)b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < c43e5028f5a35331eb25017f5ff6cc21735005c6 (affected · git)b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < 2af84c46b9b8f2d6c0f88d09ee5c849ae1734676 (affected · git)b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < 6d8b56ec0c8f30d5657382f47344a32569f7a9bc (affected · git)b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to < f42c97027fb75776e2e9358d16bf4a99aeb04cf2 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.3 (affected)0 to < 5.3 (unaffected · semver)5.10.217 through 5.10.* (unaffected · semver)5.15.159 through 5.15.* (unaffected · semver)6.1.91 through 6.1.* (unaffected · semver)6.6.31 through 6.6.* (unaffected · semver)6.8.9 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/26d32bec4c6d255a03762f33c637bfa3718be15a
- https://git.kernel.org/stable/c/2af84c46b9b8f2d6c0f88d09ee5c849ae1734676
- https://git.kernel.org/stable/c/6d8b56ec0c8f30d5657382f47344a32569f7a9bc
- https://git.kernel.org/stable/c/c43e5028f5a35331eb25017f5ff6cc21735005c6
- https://git.kernel.org/stable/c/c850f71fca09ea41800ed55905980063d17e01da
- https://git.kernel.org/stable/c/f42c97027fb75776e2e9358d16bf4a99aeb04cf2
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html
Provider assertions
3Linux · cna
eeprom: at24: fix memory corruption race condition
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4fe95db948bc5bf353776ac7e729836e19407e18a26bd65bb59c78c14d510e5d
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record