CVE-2021-47113

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductLinux Kernel
PublishedMar 15, 2024
First seenMar 15, 2024

How to fix

Update
  • linux linux_kernel5.10.43, 5.12.10 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 5.10.43, 5.11 ≤ v < 5.12.10, 5.135.10.43, 5.12.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.