# CVE-2024-35848: eeprom: at24: fix memory corruption race condition

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-17 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-35848, DEBIAN-CVE-2024-35848
- Record: https://cvemate.com/vulnerability/CVE-2024-35848 · JSON: https://cvemate.com/vulnerability/CVE-2024-35848/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.188%, percentile 8.78%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 129)

- debian linux (Debian): \< 6.1.94-1 \| \< 6.8.9-1
- ubuntu linux (Ubuntu): \< 5.4.0-200.220 \| \< 5.15.0-118.128 \| \< 6.8.0-40.40
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1135.145 \| \< 5.15.0-1067.73 \| \< 6.8.0-1013.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1067.73~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1135.145~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1013.14~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1135.145+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1067.73+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1140.147 \| \< 5.15.0-1070.79 \| \< 6.8.0-1012.14
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1070.79~20.04.1

## References (first 20 of 30)

- <https://git.kernel.org/stable/c/c850f71fca09ea41800ed55905980063d17e01da>
- <https://git.kernel.org/stable/c/26d32bec4c6d255a03762f33c637bfa3718be15a>
- <https://git.kernel.org/stable/c/c43e5028f5a35331eb25017f5ff6cc21735005c6>
- <https://git.kernel.org/stable/c/2af84c46b9b8f2d6c0f88d09ee5c849ae1734676>
- <https://git.kernel.org/stable/c/6d8b56ec0c8f30d5657382f47344a32569f7a9bc>
- <https://git.kernel.org/stable/c/f42c97027fb75776e2e9358d16bf4a99aeb04cf2>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html>
- <https://ubuntu.com/security/CVE-2024-35848>
- <https://www.cve.org/CVERecord?id=CVE-2024-35848>
- <https://git.kernel.org/linus/f42c97027fb75776e2e9358d16bf4a99aeb04cf2>
- <https://ubuntu.com/security/notices/USN-6949-1>
- <https://ubuntu.com/security/notices/USN-6950-1>
- <https://ubuntu.com/security/notices/USN-6952-1>
- <https://ubuntu.com/security/notices/USN-6955-1>
- <https://ubuntu.com/security/notices/USN-6956-1>
- <https://ubuntu.com/security/notices/USN-6957-1>
- <https://ubuntu.com/security/notices/USN-6950-2>
- <https://ubuntu.com/security/notices/USN-6950-3>
- <https://ubuntu.com/security/notices/USN-6949-2>
- <https://ubuntu.com/security/notices/USN-6952-2>

---

Data as of 2026-12-05T04:02:45.925Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
