CVE-2022-48747 block: Fix wrong offset in bio_truncate()
A flaw in the Linux kernel block layer allows local attackers to read uninitialized memory from block devices, potentially exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48747?
CVE-2022-48747 is a high-severity vulnerability in Linux kernel, published on 20 Jun 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:
block: Fix wrong offset in bio_truncate()
bio_truncate() clears the buffer outside of last block of bdev, however current bio_truncate() is using the wrong offset of page. So it can return the uninitialized data.
This happened when both of truncated/corrupted FS and userspace (via bdev) are trying to read the last of bdev.
Weakness: CWE-908
Which versions are affected by CVE-2022-48747?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-48747?
Apply the vendor's patch.
Is CVE-2022-48747 being exploited?
There is no known exploitation of CVE-2022-48747 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-48747, GHSA-qpxp-m569-qp25, UBUNTU-CVE-2022-48747.