What’s Vulnerable › Vulnerabilities

CVE-2023-53672: btrfs: output extra debug info if we failed to find an inline backref

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: output extra debug info if we failed to find an inline backref [BUG] Syzbot reported several warning triggered inside lookup_inline_extent_backref(). [CAUSE] As usual, the reproducer doesn't reliably trigger locally here, but at least we know the WARN_ON() is triggered when an inline backref can not be found, and it can only be triggered when @insert is true. (I.e. inserting a new inline backref, which means the backref should already exist) [ENHANCEMENT] After the WARN_ON(), dump all the parameters and the extent tree leaf to help debug.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.326, 4.19.295, 5.10.197, 5.15.133. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53672 or the next vulnerability affects your stack