8.1

CVE-2021-47433: btrfs: fix abort logic in btrfs_replace_file_extents

Modified
AliasesUBUNTU-CVE-2021-47433DEBIAN-CVE-2021-47433
Published 22-05-2024Last modified 05-08-2026

Vulnerability summary

CVE-2021-47433 is a high (CVSS 8.1) vulnerability in linux. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 47.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 22-05-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.58%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.58% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu91 products
  • linuxAll versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 8fccebfa534c7984864394fa03608305e4929aae, < 0e32a2b85c7d92ece86c17dfef390c5ed79c6378 | ≥ 8fccebfa534c7984864394fa03608305e4929aae, < 0e309e1152fc34ef75991d9d69b165dbf75bf26c | ≥ 8fccebfa534c7984864394fa03608305e4929aae, < 4afb912f439c4bc4e6a4f3e7547f2e69e354108f | 5.10
  • linux_kernel< 5.10.75 | ≥ 5.11, < 5.14.14 | 5.15:rc1 | 5.15:rc2 | 5.15:rc3 | 5.15:rc4 | 5.15:rc5
Debian1 product
  • linux< 5.14.16-1

3 vendors · 94 products

References

7 links