NetSight
high7.5

CVE-2022-48747

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 …

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
before 5.4.176
from 5.5 before 5.10.96
from 5.11 before 5.15.19
from 5.16 before 5.16.5

Weakness classification

References