CVE-2021-47113btrfs: abort in rename_exchange if we fail to insert the second ref
- 7.1HighCVSS base score
- 0.27%Exploitation in 30 daysEPSS · top 80% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 11 days later
· 11 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 80% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected cdd1fedf8261cd7a73c0596298902ff4f0f04492 – < 0df50d47d17401f9f140dfbe752a65e5d72f9932
- affected cdd1fedf8261cd7a73c0596298902ff4f0f04492 – < ff8de2cec65a8c8521faade12a31b39c80e49f5b
- affected cdd1fedf8261cd7a73c0596298902ff4f0f04492 – < dc09ef3562726cd520c8338c1640872a60187af5
- affected 4.7
- unaffected < 4.7
- unaffected 5.10.43 – ≤ 5.10.*
- unaffected 5.12.10 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References3
- https://git.kernel.org/stable/c/0df50d47d17401f9f140dfbe752a65e5d72f9932 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ff8de2cec65a8c8521faade12a31b39c80e49f5b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/dc09ef3562726cd520c8338c1640872a60187af5 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-33761 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47113)Record last updated .