Skip to content
7.5 High

CVE-2022-48747 In the Linux kernel, the following vulnerability has been resolved: 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 and versions

Product Affected versions Fixed in
Linux 5.17 earliest → < 5.17 5.17
Linux 5.16 earliest → < 5.16.5 5.16.5
Linux 5.15 earliest → < 5.15.19 5.15.19
Linux 5.10 earliest → < 5.10.96 5.10.96
Linux 5.5 No fix stated
Linux 5.4 earliest → < 5.4.176 5.4.176
linux_kernel 5.17 earliest → < 5.17 5.17

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE