CVEvulnerability
CVE-2022-48747
7.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-06-20
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-908
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 configurations
• linux linux kernel (< 5.4.176)
• linux linux kernel (>= 5.5 < 5.10.96)
• linux linux kernel (>= 5.11 < 5.15.19)
• linux linux kernel (>= 5.16 < 5.16.5)
Related
Weakness · CWE (1)
- CWE-908 Use of Uninitialized Resource weakness
References
- https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3 Patch
- https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8 Patch
- https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6ae Patch
- https://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82 Patch
- https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248b Patch
- https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3 Patch
- https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8 Patch
- https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6ae Patch
- https://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82 Patch
- https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248b Patch