CVE-2024-57943 exfat: fix the new buffer was not zeroed before writing
An attacker with local access could read uninitialized kernel memory via the exFAT filesystem due to missing buffer zeroing before writes.
- 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-57943?
CVE-2024-57943 is a high-severity vulnerability in Linux kernel, published on 21 Jan 2025. 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:
exfat: fix the new buffer was not zeroed before writing
Before writing, if a buffer_head marked as new, its data must be zeroed, otherwise uninitialized data in the page cache will be written.
So this commit uses folio_zero_new_buffers() to zero the new buffers before ->write_end().
Weakness: CWE-824
Which versions are affected by CVE-2024-57943?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-57943?
Apply the vendor's patch.
Is CVE-2024-57943 being exploited?
There is no known exploitation of CVE-2024-57943 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-57943, DEBIAN-CVE-2024-57943, GHSA-p9vw-f8rg-c624, UBUNTU-CVE-2024-57943.