CVE-2024-43854 block: initialize integrity buffer to zero before writing it to media
An attacker with local access can read uninitialized kernel memory from block device integrity buffers, potentially exposing sensitive data.
- 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-43854?
CVE-2024-43854 is a medium-severity vulnerability in Linux kernel, published on 17 Aug 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:
block: initialize integrity buffer to zero before writing it to media
Metadata added by bio_integrity_prep is using plain kmalloc, which leads to random kernel memory being written media. For PI metadata this is limited to the app tag that isn't used by kernel generated metadata, but for non-PI metadata the entire buffer leaks kernel memory.
Fix this by adding the __GFP_ZERO flag to allocations for writes.
Weakness: CWE-401
Which versions are affected by CVE-2024-43854?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-43854?
Apply the vendor's patch.
Is CVE-2024-43854 being exploited?
There is no known exploitation of CVE-2024-43854 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-47958, AZL-48033, BELL-CVE-2024-43854, DEBIAN-CVE-2024-43854, GHSA-hqfw-8gwg-7r3q, UBUNTU-CVE-2024-43854.