btrfs: output extra debug info if we failed to find an inline backref
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 492104c866cb1b62a11393adccb477f5cd2c7768 · < 28062cd6eda04035d8f6ded2001292ac8b496149| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel can trigger a warning when btrfs cannot find an inline backref while inserting one. The input does not establish an attacker capability or specify whether triggering it requires network access, authentication, or user interaction.
Engineers running Linux kernels with btrfs should check their versions; affected versions are not specified.