CVE-2024-48881
bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 0729029e647234fa1a94376b6edffec5c2cd75f6, < 4379c5828492a4c2a651c8f826a01453bd2b80b0; >= db9439cef0b5efccf8021fe89f4953e0f901e85b, < 336e30f32ae7c043fde0f6fa21586ff30bea9fe2; >= 991e9c186a8ac6ab272a86e0ddc6f9733c38b867, < fb5fee35bdd18316a84b5f30881a24e1415e1464; >= 68118c339c6e1e16ae017bef160dbe28a27ae9c8, < 5202391970ffbf81975251b3526b890ba027b715; >= 028ddcac477b691dd9205c92f991cc15259d033e, < cc05aa2c0117e20fa25a3c0d915f98b8f2e78667; >= 028ddcac477b691dd9205c92f991cc15259d033e, < 5e0e913624bcd24f3de414475018d3023f060ee1; >= 028ddcac477b691dd9205c92f991cc15259d033e, < b2e382ae12a63560fca35050498e19e760adf8c0; fe75e8a0c20127a8dc95704f1a7ad6b82c9a0ef8; 0cabf9e164660e8d66c4810396046383a1110a69; >= 5.4.251, < 5.4.287; …
- Anyone running Linux 6.5
Vulnerability facts
- Affected
- Linux >= 0729029e647234fa1a94376b6edffec5c2cd75f6, < 4379c5828492a4c2a651c8f826a01453bd2b80b0; >= db9439cef0b5efccf8021fe89f4953e0f901e85b, < 336e30f32ae7c043fde0f6fa21586ff30bea9fe2; >= 991e9c186a8ac6ab272a86e0ddc6f9733c38b867, < fb5fee35bdd18316a84b5f30881a24e1415e1464; >= 68118c339c6e1e16ae017bef160dbe28a27ae9c8, < 5202391970ffbf81975251b3526b890ba027b715; >= 028ddcac477b691dd9205c92f991cc15259d033e, < cc05aa2c0117e20fa25a3c0d915f98b8f2e78667; >= 028ddcac477b691dd9205c92f991cc15259d033e, < 5e0e913624bcd24f3de414475018d3023f060ee1; >= 028ddcac477b691dd9205c92f991cc15259d033e, < b2e382ae12a63560fca35050498e19e760adf8c0; fe75e8a0c20127a8dc95704f1a7ad6b82c9a0ef8; 0cabf9e164660e8d66c4810396046383a1110a69; >= 5.4.251, < 5.4.287; …; Linux 6.5
- Fixed in
- Linux 4379c5828492a4c2a651c8f826a01453bd2b80b0, Linux 336e30f32ae7c043fde0f6fa21586ff30bea9fe2, Linux 5202391970ffbf81975251b3526b890ba027b715, Linux 5e0e913624bcd24f3de414475018d3023f060ee1, Linux 5.4.287
- 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, CNA)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.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again Commit 028ddcac477b ("bcache: Remove unnecessary NULL point check in node allocations") leads a NULL pointer deference in cache_set_flush(). 1721 if (!IS_ERR_OR_NULL(c->root)) 1722 list_add(&c->root->list, &c->btree_cache); >From the above code in cache_set_flush(), if previous registration code fails before allocating c->root, it is possible c->root is NULL as what it is initialized. __bch_btree_node_alloc() never returns NULL but c->root is possible to be NULL at above line 1721. This patch replaces IS_ERR() by IS_ERR_OR_NULL() to fix this.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0729029e647234fa1a94376b6edffec5c2cd75f6, < 4379c5828492a4c2a651c8f826a01453bd2b80b0; >= db9439cef0b5efccf8021fe89f4953e0f901e85b, < 336e30f32ae7c043fde0f6fa21586ff30bea9fe2; >= 991e9c186a8ac6ab272a86e0ddc6f9733c38b867, < fb5fee35bdd18316a84b5f30881a24e1415e1464; >= 68118c339c6e1e16ae017bef160dbe28a27ae9c8, < 5202391970ffbf81975251b3526b890ba027b715; >= 028ddcac477b691dd9205c92f991cc15259d033e, < cc05aa2c0117e20fa25a3c0d915f98b8f2e78667; >= 028ddcac477b691dd9205c92f991cc15259d033e, < 5e0e913624bcd24f3de414475018d3023f060ee1; >= 028ddcac477b691dd9205c92f991cc15259d033e, < b2e382ae12a63560fca35050498e19e760adf8c0; fe75e8a0c20127a8dc95704f1a7ad6b82c9a0ef8; 0cabf9e164660e8d66c4810396046383a1110a69; >= 5.4.251, < 5.4.287; … | — | cvelist |
| Linux | 6.5 | — | 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-48881. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-48881.md Affected: Linux >= 0729029e647234fa1a94376b6edffec5c2cd75f6, < 4379c5828492a4c2a651c8f826a01453bd2b80b0; >= db9439cef0b5efccf8021fe89f4953e0f901e85b, < 336e30f32ae7c043fde0f6fa21586ff30bea9fe2; >= 991e9c186a8ac6ab272a86e0ddc6f9733c38b867, < fb5fee35bdd18316a84b5f30881a24e1415e1464; >= 68118c339c6e1e16ae017be… Fixed in: Linux 4379c5828492a4c2a651c8f826a01453bd2b80b0, Linux 336e30f32ae7c043fde0f6fa21586ff30bea9fe2, Linux 5202391970ffbf81975251b3526b890ba027b715, Linux 5e0e913624bcd24f3de414475018d3023f060ee1, Linux 5.4.287 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
- https://git.kernel.org/stable/c/4379c5828492a4c2a651c8f826a01453bd2b80b0
- https://git.kernel.org/stable/c/336e30f32ae7c043fde0f6fa21586ff30bea9fe2
- https://git.kernel.org/stable/c/fb5fee35bdd18316a84b5f30881a24e1415e1464
- https://git.kernel.org/stable/c/5202391970ffbf81975251b3526b890ba027b715
- https://git.kernel.org/stable/c/cc05aa2c0117e20fa25a3c0d915f98b8f2e78667
- https://git.kernel.org/stable/c/5e0e913624bcd24f3de414475018d3023f060ee1
- https://git.kernel.org/stable/c/b2e382ae12a63560fca35050498e19e760adf8c0
FAQ
Is CVE-2024-48881 being exploited?
There is no confirmed exploitation: CVE-2024-48881 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-48881?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-48881?
Linux >= 0729029e647234fa1a94376b6edffec5c2cd75f6, < 4379c5828492a4c2a651c8f826a01453bd2b80b0; >= db9439cef0b5efccf8021fe89f4953e0f901e85b, < 336e30f32ae7c043fde0f6fa21586ff30bea9fe2; >= 991e9c186a8ac6ab272a86e0ddc6f9733c38b867, < fb5fee35bdd18316a84b5f30881a24e1415e1464; >= 68118c339c6e1e16ae017bef160dbe28a27ae9c8, < 5202391970ffbf81975251b3526b890ba027b715; >= 028ddcac477b691dd9205c92f991cc15259d033e, < cc05aa2c0117e20fa25a3c0d915f98b8f2e78667; >= 028ddcac477b691dd9205c92f991cc15259d033e, < 5e0e913624bcd24f3de414475018d3023f060ee1; >= 028ddcac477b691dd9205c92f991cc15259d033e, < b2e382ae12a63560fca35050498e19e760adf8c0; fe75e8a0c20127a8dc95704f1a7ad6b82c9a0ef8; 0cabf9e164660e8d66c4810396046383a1110a69; >= 5.4.251, < 5.4.287; …; Linux 6.5.
Is there a fix for CVE-2024-48881?
Yes. Fixed in Linux 4379c5828492a4c2a651c8f826a01453bd2b80b0, Linux 336e30f32ae7c043fde0f6fa21586ff30bea9fe2, Linux 5202391970ffbf81975251b3526b890ba027b715, Linux 5e0e913624bcd24f3de414475018d3023f060ee1, Linux 5.4.287. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-48881?
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.