CVE-2022-48747

block: Fix wrong offset in bio_truncate()

HIGH
7.5
CVSS Score
Published: June 20, 2024 at 11:13 AM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.9%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.1765.11 ≤ v < 5.15.195.16 ≤ v < 5.16.55.4.9 ≤ v < 5.4.1765.5 ≤ v < 5.10.965.5 ≤ v < 5.15.195.5 ≤ v < 5.16.55.5 ≤ v < 5.171da177e4c3f45.4.95.585a8ce62c2eabe28b9d76ca4eecf37922402df93943cd69efac437d82a7aea0659fccbcc071730de
Vendor states this is fixed in 3ee859e384d4 (fixed)
Vendor states this is fixed in 3ee859e384d453d6ac68bfd5971f630d9fa46ad3 (fixed)
Vendor states this is fixed in 4633a79ff8bc (fixed)
Vendor states this is fixed in 4633a79ff8bc82770486a063a08b55e5162521d8 (fixed)
Vendor states this is fixed in 6cbf4c731d78 (fixed)
Vendor states this is fixed in 6cbf4c731d7812518cd857c2cfc3da9fd120f6ae (fixed)
Vendor states this is fixed in 941d5180c430 (fixed)
Vendor states this is fixed in 941d5180c430ce5b0f7a3622ef9b76077bfa3d82 (fixed)
Vendor states this is fixed in b63e120189fd (fixed)
Vendor states this is fixed in b63e120189fd92aff00096d11e2fc5253f60248b (fixed)
Vendor states this is fixed in 5.10.96 (unaffected)
Vendor states this is fixed in 5.15.19 (unaffected)
Vendor states this is fixed in 5.16.5 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 5.4.176 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6ae
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248b

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card