CVE-2024-35848

Source
https://cve.org/CVERecord?id=CVE-2024-35848
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35848.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35848
Downstream
Related
Published
2024-05-17T14:47:26.828Z
Modified
2026-03-20T12:36:40.867455Z
Summary
eeprom: at24: fix memory corruption race condition
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35848.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b20eb4c1f0261eebe6e1b9221c0d6e4048837778
Fixed
c850f71fca09ea41800ed55905980063d17e01da
Fixed
26d32bec4c6d255a03762f33c637bfa3718be15a
Fixed
c43e5028f5a35331eb25017f5ff6cc21735005c6
Fixed
2af84c46b9b8f2d6c0f88d09ee5c849ae1734676
Fixed
6d8b56ec0c8f30d5657382f47344a32569f7a9bc
Fixed
f42c97027fb75776e2e9358d16bf4a99aeb04cf2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35848.json"