CVE-2024-44963
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2024
Last modified:
09/12/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
btrfs: do not BUG_ON() when freeing tree block after error<br />
<br />
When freeing a tree block, at btrfs_free_tree_block(), if we fail to<br />
create a delayed reference we don&#39;t deal with the error and just do a<br />
BUG_ON(). The error most likely to happen is -ENOMEM, and we have a<br />
comment mentioning that only -ENOMEM can happen, but that is not true,<br />
because in case qgroups are enabled any error returned from<br />
btrfs_qgroup_trace_extent_post() (can be -EUCLEAN or anything returned<br />
from btrfs_search_slot() for example) can be propagated back to<br />
btrfs_free_tree_block().<br />
<br />
So stop doing a BUG_ON() and return the error to the callers and make<br />
them abort the transaction to prevent leaking space. Syzbot was<br />
triggering this, likely due to memory allocation failure injection.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.10.5 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



