CVE-2024-35848 eeprom: at24: fix memory corruption race condition
A race condition in the Linux kernel AT24 EEPROM driver allows attackers to trigger memory corruption, potentially leading to code execution or system crashes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-35848?
CVE-2024-35848 is a high-severity vulnerability in Debian Debian Linux, published on 17 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-362
Which versions are affected by CVE-2024-35848?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-35848?
Apply the vendor's patch.
Is CVE-2024-35848 being exploited?
There is no known exploitation of CVE-2024-35848 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-42109, AZL-42153, BELL-CVE-2024-35848, DEBIAN-CVE-2024-35848, GHSA-gr49-4mw7-963q, UBUNTU-CVE-2024-35848.