CVE-2022-48747

published 20 Jun 2024 · updated 17 Nov 2026

block: Fix wrong offset in bio_truncate()

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 6cbf4c731d7812518cd857c2cfc3da9fd120f6ae, Kernel 3ee859e384d453d6ac68bfd5971f630d9fa46ad3, Kernel 4633a79ff8bc82770486a063a08b55e5162521d8 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=943cd69efac437d82a7aea0659fccbcc071730de <6cbf4c731d7812518cd857c2cfc3da9fd120f6ae, >=85a8ce62c2eabe28b9d76ca4eecf37922402df93 <3ee859e384d453d6ac68bfd5971f630d9fa46ad3, >=85a8ce62c2eabe28b9d76ca4eecf37922402df93 <4633a79ff8bc82770486a063a08b55e5162521d8, >=85a8ce62c2eabe28b9d76ca4eecf37922402df93 <941d5180c430ce5b0f7a3622ef9b76077bfa3d82, >=85a8ce62c2eabe28b9d76ca4eecf37922402df93 <b63e120189fd92aff00096d11e2fc5253f60248b, =5.5, >=5.4.9 <5.4.1766cbf4c731d7812518cd857c2cfc3da9fd120f6ae, 3ee859e384d453d6ac68bfd5971f630d9fa46ad3, 4633a79ff8bc82770486a063a08b55e5162521d8, 941d5180c430ce5b0f7a3622ef9b76077bfa3d82, b63e120189fd92aff00096d11e2fc5253f60248b, 5.4.176
linux-kernel: Kernel>=5.16.0 <5.16.5, >=5.4.9 <5.4.176, >=5.5.0 <5.10.96, >=5.11.0 <5.15.195.16.5, 5.4.176, 5.10.96, 5.15.19

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48747 severity on Zeptric[![CVE-2022-48747](https://zeptric.io/badge/cve/CVE-2022-48747.svg)](https://zeptric.io/cve/CVE-2022-48747)