Security mailing lists by PureSourceCode

CVE-2021-47433

MEDIUM 5.5CVSS 3.1

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.

Published
22 May 2024
Last modified
4 Aug 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
< 5.10.75 5.10.75
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.11, < 5.14.14 5.14.14
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
= 5.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*
= 5.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*
= 5.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*
= 5.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*
= 5.15

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 22 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.