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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 943cd69efac437d82a7aea0659fccbcc071730de, < 6cbf4c731d7812518cd857c2cfc3da9fd120f6ae; >= 85a8ce62c2eabe28b9d76ca4eecf37922402df93, < b63e120189fd92aff00096d11e2fc5253f60248b; >= 85a8ce62c2eabe28b9d76ca4eecf37922402df93, < 4633a79ff8bc82770486a063a08b55e5162521d8; >= 85a8ce62c2eabe28b9d76ca4eecf37922402df93, < 941d5180c430ce5b0f7a3622ef9b76077bfa3d82; >= 85a8ce62c2eabe28b9d76ca4eecf37922402df93, < 3ee859e384d453d6ac68bfd5971f630d9fa46ad3; >= 5.4.9, < 5.4.176 |
| Linux | Linux | 5.5 |
| linux | linux_kernel | >= 1da177e4c3f4, < 6cbf4c731d78 |
| linux | linux_kernel | >= 1da177e4c3f4, < b63e120189fd |
| linux | linux_kernel | >= 1da177e4c3f4, < 4633a79ff8bc |
| linux | linux_kernel | >= 1da177e4c3f4, < 941d5180c430 |
| linux | linux_kernel | >= 1da177e4c3f4, < 3ee859e384d4 |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
References
- https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3Patch
- https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8Patch
- https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6aePatch
- https://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82Patch
- https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248bPatch
- https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3Patch
- https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8Patch
- https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6aePatch
- https://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82Patch
- https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248bPatch
Timeline
- Published
- Jun 20, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed