CVE-2024-44963
btrfs: do not BUG_ON() when freeing tree block after error
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bfcef12f80b3a9bd6b09c7305679164e3307328a; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 22d907bcd283d69d5e60497fc0d51969545c583b; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 98251cd60b4d702a8a81de442ab621e83a3fb24f; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bb3868033a4cccff7be57e9145f2117cbdc91c11
- Anyone running Linux 4.11
Vulnerability facts
- Affected
- Linux >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bfcef12f80b3a9bd6b09c7305679164e3307328a; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 22d907bcd283d69d5e60497fc0d51969545c583b; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 98251cd60b4d702a8a81de442ab621e83a3fb24f; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bb3868033a4cccff7be57e9145f2117cbdc91c11; Linux 4.11
- Fixed in
- Linux 22d907bcd283d69d5e60497fc0d51969545c583b, Linux 98251cd60b4d702a8a81de442ab621e83a3fb24f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bfcef12f80b3a9bd6b09c7305679164e3307328a; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 22d907bcd283d69d5e60497fc0d51969545c583b; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 98251cd60b4d702a8a81de442ab621e83a3fb24f; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bb3868033a4cccff7be57e9145f2117cbdc91c11 | — | cvelist |
| Linux | 4.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-44963. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-44963.md Affected: Linux >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bfcef12f80b3a9bd6b09c7305679164e3307328a; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 22d907bcd283d69d5e60497fc0d51969545c583b; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 98251cd60b4d702a8a81de442ab621e83a3fb24f; >= fb235dc06fac9eaa4408ade… Fixed in: Linux 22d907bcd283d69d5e60497fc0d51969545c583b, Linux 98251cd60b4d702a8a81de442ab621e83a3fb24f Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-44963 being exploited?
There is no confirmed exploitation: CVE-2024-44963 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-44963?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-44963?
Linux >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bfcef12f80b3a9bd6b09c7305679164e3307328a; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 22d907bcd283d69d5e60497fc0d51969545c583b; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < 98251cd60b4d702a8a81de442ab621e83a3fb24f; >= fb235dc06fac9eaa4408ade9c8b20d45d63c89b7, < bb3868033a4cccff7be57e9145f2117cbdc91c11; Linux 4.11.
Is there a fix for CVE-2024-44963?
Yes. Fixed in Linux 22d907bcd283d69d5e60497fc0d51969545c583b, Linux 98251cd60b4d702a8a81de442ab621e83a3fb24f. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-44963?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.