CVE-2022-48747
published 2024-06-20CVE-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…
PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
0.92%
56.7th percentile
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
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.16.7-1 (bookworm) | linux 5.16.7-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 5.4.9 < 5.4.176 | 5.4.176 |
| linux | linux | >= 85a8ce62c2eabe28b9d76ca4eecf37922402df93 < b63e120189fd92aff00096d11e2fc5253f60248b | b63e120189fd92aff00096d11e2fc5253f60248b |
| linux | linux | >= 85a8ce62c2eabe28b9d76ca4eecf37922402df93 < 4633a79ff8bc82770486a063a08b55e5162521d8 | 4633a79ff8bc82770486a063a08b55e5162521d8 |
| linux | linux | >= 85a8ce62c2eabe28b9d76ca4eecf37922402df93 < 941d5180c430ce5b0f7a3622ef9b76077bfa3d82 | 941d5180c430ce5b0f7a3622ef9b76077bfa3d82 |
| linux | linux | >= 85a8ce62c2eabe28b9d76ca4eecf37922402df93 < 3ee859e384d453d6ac68bfd5971f630d9fa46ad3 | 3ee859e384d453d6ac68bfd5971f630d9fa46ad3 |
| linux | linux | >= 943cd69efac437d82a7aea0659fccbcc071730de < 6cbf4c731d7812518cd857c2cfc3da9fd120f6ae | 6cbf4c731d7812518cd857c2cfc3da9fd120f6ae |
| linux | linux_kernel | < 5.4.176 | 5.4.176 |
| linux | linux_kernel | >= 0 < 5.10.103-1 | 5.10.103-1 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| linux | linux_kernel | >= 5.11 < 5.15.19 | 5.15.19 |
| linux | linux_kernel | >= 5.16 < 5.16.5 | 5.16.5 |
| linux | linux_kernel | >= 5.5 < 5.10.96 | 5.10.96 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
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
osv·2024-06-20·CVSS 7.5
CVE-2022-48747 [HIGH] 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
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.
GHSA
GHSA-qpxp-m569-qp25: In the Linux kernel, the following vulnerability has been resolved:
block: Fix wrong offset in bio_truncate()
bio_truncate() clears the buffer outsi
ghsa_unreviewed·2024-06-20
CVE-2022-48747 [HIGH] CWE-908 GHSA-qpxp-m569-qp25: In the Linux kernel, the following vulnerability has been resolved:
block: Fix wrong offset in bio_truncate()
bio_truncate() clears the buffer outsi
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.
Red Hat
kernel: block: Fix wrong offset in bio_truncate()
vendor_redhat·2024-06-20·CVSS 7.5
CVE-2022-48747 [HIGH] CWE-99 kernel: block: Fix wrong offset in bio_truncate()
kernel: block: Fix wrong offset in bio_truncate()
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.
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 9) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 9) - Not affected
Debian
CVE-2022-48747: linux - In the Linux kernel, the following vulnerability has been resolved: block: Fix ...
vendor_debian·2022·CVSS 7.5
CVE-2022-48747 [HIGH] CVE-2022-48747: linux - In the Linux kernel, the following vulnerability has been resolved: block: Fix ...
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.
Scope: local
bookworm: resolved (fixed in 5.16.7-1)
bullseye: resolved (fixed in 5.10.103-1)
forky: resolved (fixed in 5.16.7-1)
sid: resolved (fixed in 5.16.7-1)
trixie: resolved (fixed in 5.16.7-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6aehttps://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248bhttps://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6aehttps://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248b
2024-06-20
Published