7.1

CVE-2021-47113: btrfs: abort in rename_exchange if we fail to insert the second ref

Modified
AliasesUBUNTU-CVE-2021-47113DEBIAN-CVE-2021-47113
Published 15-03-2024Last modified 05-08-2026

Vulnerability summary

CVE-2021-47113 is a high (CVSS 7.1) Use After Free vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.4% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.27%
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 6 · Related 6

Timeline

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

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: abort in rename_exchange if we fail to insert the second ref Error injection stress uncovered a problem where we'd leave a dangling inode ref if we failed during a rename_exchange. This happens because we insert the inode ref for one side of the rename, and then for the other side. If this second inode ref insert fails we'll leave the first one dangling and leave a corrupt file system behind. Fix this by aborting if we did the insert for the first inode ref.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.27% 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

Affected systems

Version check

Known conditions: local access, 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≥ cdd1fedf8261cd7a73c0596298902ff4f0f04492, < 0df50d47d17401f9f140dfbe752a65e5d72f9932 | ≥ cdd1fedf8261cd7a73c0596298902ff4f0f04492, < ff8de2cec65a8c8521faade12a31b39c80e49f5b | ≥ cdd1fedf8261cd7a73c0596298902ff4f0f04492, < dc09ef3562726cd520c8338c1640872a60187af5 | 4.7
  • linux_kernel< 5.10.43 | ≥ 5.11, < 5.12.10 | 5.13:rc1 | 5.13:rc2 | 5.13:rc3 | 5.13:rc4
Debian1 product
  • linux< 5.10.46-1

3 vendors · 94 products

References

7 links