Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2021-47433

btrfs: fix abort logic in btrfs_replace_file_extents

High8.1EPSS 0.58%
Published
Updated
Reserved
Assigned by
Linux

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.

Scores

CVSS scores of CVE-2021-47433, by who scored it
Scored byCVSSScoreVector
LinuxCNA (assigner)3.1High8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVDNVD · Modified3.1Medium5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
0.58% · top 52% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.

Affected products

  • Linux · Linux

    • affected 8fccebfa534c7984864394fa03608305e4929aae – < 0e32a2b85c7d92ece86c17dfef390c5ed79c6378
    • affected 8fccebfa534c7984864394fa03608305e4929aae – < 0e309e1152fc34ef75991d9d69b165dbf75bf26c
    • affected 8fccebfa534c7984864394fa03608305e4929aae – < 4afb912f439c4bc4e6a4f3e7547f2e69e354108f
  • Linux · Linux

    • affected 5.10
    • unaffected < 5.10
    • unaffected 5.10.75 – ≤ 5.10.*
    • unaffected 5.14.14 – ≤ 5.14.*
    • unaffected 5.15 – ≤ *

References (3)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2021-47433 badge
[![CVE-2021-47433](https://trackcve.app/badge/CVE-2021-47433.svg)](https://trackcve.app/cve/CVE-2021-47433)

Record last updated .