In the Linux kernel, the following vulnerability has been resolved: btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info() Instead of doing a BUG_ON() handle the error by returning -EUCLEAN, aborting the transaction and logging an error message.
https://git.kernel.org/stable/c/ef9a8b73c8b60b27d9db4787e624a3438ffe8428
https://git.kernel.org/stable/c/28cb13f29faf6290597b24b728dc3100c019356f