Use After Free in Linux
CVE-2021-47113
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.
Vulnerability class: Use-After-Free
EPSS: 0.003 (18.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
Affected products
- Linux — versions cdd1fedf8261cd7a73c0596298902ff4f0f04492, 4.7, 0
- Linux Linux_kernel — versions 5.13
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2021-47113?
- CVE-2021-47113 is a high-severity vulnerability in Linux, classified under Use After Free. CVSS score: 7.1/10. Published 2024-03-15.
- How severe is CVE-2021-47113?
- High severity. CVSS v3 base score is 7.1 out of 10.
- Is CVE-2021-47113 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.