CVE-2021-47433

CVE-2021-47433

High · published May 22, 2024

CVSS v3.1
8.1
EPSS
1%
Percentile
47.0
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix abort logic in btrfs_replace_file_extents

Error injection testing uncovered a case where we'd end up with a

corrupt file system with a missing extent in the middle of a file. This

occurs because the if statement to decide if we should abort is wrong.

The only way we would abort in this case is if we got a ret !=

-EOPNOTSUPP and we called from the file clone code. However the

prealloc code uses this path too. Instead we need to abort if there is

an error, and the only error we _don't_ abort on is -EOPNOTSUPP and only

if we came from the clone file code.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00580 · 47.0th percentile
Published
2024-05-22T11:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel< 5.10.755.10.75
linux/linux_kernel≥ 5.11, < 5.14.145.14.14
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 22 MAY 06:19Z
    btrfs: fix abort logic in btrfs_replace_file_extents
    cvelistv5