cbcvebase.
CVE-2024-44963
published 2024-09-04

CVE-2024-44963: In the Linux kernel, the following vulnerability has been resolved: btrfs: do not BUG_ON() when freeing tree block after error When freeing a tree block, at…

PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
15.0th percentile
In the Linux kernel, the following vulnerability has been resolved: btrfs: do not BUG_ON() when freeing tree block after error When freeing a tree block, at btrfs_free_tree_block(), if we fail to create a delayed reference we don't deal with the error and just do a BUG_ON(). The error most likely to happen is -ENOMEM, and we have a comment mentioning that only -ENOMEM can happen, but that is not true, because in case qgroups are enabled any error returned from btrfs_qgroup_trace_extent_post() (can be -EUCLEAN or anything returned from btrfs_search_slot() for example) can be propagated back to btrfs_free_tree_block(). So stop doing a BUG_ON() and return the error to the callers and make them abort the transaction to prevent leaking space. Syzbot was triggering this, likely due to memory allocation failure injection.

Affected

14 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.10.6-1 (forky)linux 6.10.6-1 (forky)
linuxlinux
linuxlinux>= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7 < 22d907bcd283d69d5e60497fc0d51969545c583b22d907bcd283d69d5e60497fc0d51969545c583b
linuxlinux>= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7 < 98251cd60b4d702a8a81de442ab621e83a3fb24f98251cd60b4d702a8a81de442ab621e83a3fb24f
linuxlinux>= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7 < bb3868033a4cccff7be57e9145f2117cbdc91c11bb3868033a4cccff7be57e9145f2117cbdc91c11
linuxlinux_kernel< 6.10.56.10.5
linuxlinux_kernel>= 0 < 6.10.6-16.10.6-1
linuxlinux_kernel>= 0 < 6.10.6-16.10.6-1
linuxlinux_kernel>= 0 < 6.8.0-50.516.8.0-50.51
msrcazl3_kernel_6.6.64.2-9_on_azure_linux_3.0
msrcazl3_kernel_6.6.92.2-1_on_azure_linux_3.0
msrccbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.200.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.202.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.