CVE-2024-46751: btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()
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.
Security readout for executives and security teams
Plain-English summary
A Btrfs filesystem inconsistency can make an affected Linux kernel deliberately stop through BUG_ON rather than handle the error safely. This could disrupt services and potentially affect data security. The CVSS assessment is 7.8, but the supplied evidence does not establish real-world exploitation.
Executive priority
Treat this as high priority for Btrfs systems, especially multi-user or hosting workloads with local low-privileged access. Confirm exposure promptly and apply supported kernel updates during an expedited maintenance window. Systems not using Btrfs are lower priority for this CVE. No supplied evidence shows active exploitation.
Technical view
btrfs_lookup_extent_info() could encounter a zero extent reference count and execute BUG_ON(). The fix returns -EUCLEAN, logs an error, and aborts the transaction. CVSS 3.1 rates this local, low-complexity, low-privilege, no-user-interaction vulnerability with high confidentiality, integrity, and availability impacts.
Likely exposure
Linux hosts running affected kernels and using Btrfs are the clearest candidates. Exposure requires reaching the Btrfs condition involving a zero reference count. The bundle does not establish whether ordinary low-privileged activity can create that condition, and its version data does not define complete fixed-version ranges.
Exploitation context
The bundle marks this CVE as absent from KEV, and no cited source states that it is actively exploited. CVSS indicates a local, low-privileged vector, but available evidence does not demonstrate reliable attacker control, a public exploit, or remote reachability.
Researcher notes
Affected-version data mixes release numbers with repeated commit identifiers, so it should support screening rather than definitive range matching. The key behavioral change is replacing BUG_ON with -EUCLEAN, transaction abortion, and error logging. No CWE is assigned, and the sources do not explain how an attacker might induce the zero-reference condition.
Mitigation direction
Install a supported vendor kernel update incorporating the cited upstream stable fix.
Follow distribution guidance for exact fixed package versions; the bundle provides incomplete version ranges.
Reboot into the updated kernel and verify the running version.
Prioritize Btrfs hosts allowing local access by untrusted or low-privileged users.
Until patched, reduce unnecessary local access on affected high-value systems.
Validation and detection
Inventory running kernel versions and identify hosts using or configured for Btrfs.
Compare installed kernel packages with vendor advisories and the cited stable fixes.
After rebooting, confirm the updated kernel is active on every remediated host.
Review kernel logs for Btrfs failures, transaction aborts, BUG events, or EUCLEAN errors.
Use package provenance and controlled regression testing instead of triggering the fault in production.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-46751 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.