CVE-2022-48747

block: Fix wrong offset in bio_truncate()

High · published June 20, 2024

CVSS v3.1
7.5
EPSS
1%
Percentile
59.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00915 · 59.8th percentile
Published
2024-06-20T11:13Z
EPSS history
Timeline
  • 20 JUN 11:13Z
    block: Fix wrong offset in bio_truncate()
    cvelistv5