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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*

History

13 Mar 2025, 19:36

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/0df50d47d17401f9f140dfbe752a65e5d72f9932 - () https://git.kernel.org/stable/c/0df50d47d17401f9f140dfbe752a65e5d72f9932 - Patch
References () https://git.kernel.org/stable/c/dc09ef3562726cd520c8338c1640872a60187af5 - () https://git.kernel.org/stable/c/dc09ef3562726cd520c8338c1640872a60187af5 - Patch
References () https://git.kernel.org/stable/c/ff8de2cec65a8c8521faade12a31b39c80e49f5b - () https://git.kernel.org/stable/c/ff8de2cec65a8c8521faade12a31b39c80e49f5b - Patch
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-416

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0df50d47d17401f9f140dfbe752a65e5d72f9932 - () https://git.kernel.org/stable/c/0df50d47d17401f9f140dfbe752a65e5d72f9932 -
References () https://git.kernel.org/stable/c/dc09ef3562726cd520c8338c1640872a60187af5 - () https://git.kernel.org/stable/c/dc09ef3562726cd520c8338c1640872a60187af5 -
References () https://git.kernel.org/stable/c/ff8de2cec65a8c8521faade12a31b39c80e49f5b - () https://git.kernel.org/stable/c/ff8de2cec65a8c8521faade12a31b39c80e49f5b -

15 Mar 2024, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-15 21:15

Updated : 2025-03-13 19:36


NVD link : CVE-2021-47113

Mitre link : CVE-2021-47113

CVE.ORG link : CVE-2021-47113


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free