CVE-2023-53672 PUBLISHED

btrfs: output extra debug info if we failed to find an inline backref

Assigner: Linux
Reserved: 07.10.2025 Published: 07.10.2025 Updated: 07.10.2025

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 376b41524b71e494514720bd6114325b0a2ed19c (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 400e08a16604b534fdd82c5a288fa150d04f5f79 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 7afbfde45d665953b4d5a42a721e15bf0315d89b (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to b7c3cf2f6c42e6688b1c37215a0b1663f982f915 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 6994f806c6d1ae8b59344d3700358547f3b3fe1d (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 28062cd6eda04035d8f6ded2001292ac8b496149 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to e70ba449b04b40584bdabb383d10455397cbf177 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 7f72f50547b7af4ddf985b07fc56600a4deba281 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 4.14.326 to 4.14.* (incl.)
  • unaffected from 4.19.295 to 4.19.* (incl.)
  • unaffected from 5.4.257 to 5.4.* (incl.)
  • unaffected from 5.10.197 to 5.10.* (incl.)
  • unaffected from 5.15.133 to 5.15.* (incl.)
  • unaffected from 6.1.55 to 6.1.* (incl.)
  • unaffected from 6.5.5 to 6.5.* (incl.)
  • unaffected from 6.6 to * (incl.)

References