What’s Vulnerable › Vulnerabilities

CVE-2022-48747: block: Fix wrong offset in bio_truncate()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.96, 5.15.19, 5.16.5, 5.4.176. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48747 or the next vulnerability affects your stack