CVE-2024-35821 ubifs: Set page uptodate in the correct place
A race condition in the Linux kernel UBIFS filesystem allows attackers to read stale data from the page cache due to premature page state updates.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-35821?
CVE-2024-35821 is a high-severity vulnerability in Debian Debian Linux, published on 17 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ubifs: Set page uptodate in the correct place
Page cache reads are lockless, so setting the freshly allocated page uptodate before we've overwritten it with the data it's supposed to have in it will allow a simultaneous reader to see old data. Move the call to SetPageUptodate into ubifs_write_end(), which is after we copied the new data into the page.
Weakness: CWE-772
Which versions are affected by CVE-2024-35821?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-35821?
Apply the vendor's patch.
Is CVE-2024-35821 being exploited?
There is no known exploitation of CVE-2024-35821 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-35821, DEBIAN-CVE-2024-35821, GHSA-vf5r-hx7h-7rvc, UBUNTU-CVE-2024-35821.