CVE-2021-47113
MEDIUMLinux Kernel < 5.10.43 - Use-After-Free in Btrfs Rename Exchange
Title source: llmDescription
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.
References (3)
Core 3
Scores
CVSS v3
5.5
EPSS
0.0027
EPSS Percentile
18.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-416
Status
published
Products (10)
Linux/Linux
< 4.7
Linux/Linux
4.7
Linux/Linux
5.10.43 - 5.10.*
Linux/Linux
5.12.10 - 5.12.*
Linux/Linux
5.13
Linux/Linux
cdd1fedf8261cd7a73c0596298902ff4f0f04492 - 0df50d47d17401f9f140dfbe752a65e5d72f9932
Linux/Linux
cdd1fedf8261cd7a73c0596298902ff4f0f04492 - dc09ef3562726cd520c8338c1640872a60187af5
Linux/Linux
cdd1fedf8261cd7a73c0596298902ff4f0f04492 - ff8de2cec65a8c8521faade12a31b39c80e49f5b
linux/linux_kernel
5.13 rc1 (4 CPE variants)
linux/linux_kernel
< 5.10.43
Published
Mar 15, 2024
Tracked Since
Feb 18, 2026