CVE-2023-53681
bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
Mitigation
- Upgrade Linux to 80fca8a10b604afad6c14213fdfd816c4eda3ee4 or later.
Who should check
- Anyone running Linux >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 587b4e8bb5dac682f09280ab35db4632b29d5ac4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < b070f29a61436f6f8a2e3abc7ea4f4be81695198; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < a4405f6ee03323410d7b10966fd67b35f71b1944; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < f67b0e3081f2a24170280a33ac66f6b112083c03; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 4514847aee18d9391a0cf3aad75d3567c72795a4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 80fca8a10b604afad6c14213fdfd816c4eda3ee4
- Anyone running Linux 3.10
Vulnerability facts
- Affected
- Linux >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 587b4e8bb5dac682f09280ab35db4632b29d5ac4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < b070f29a61436f6f8a2e3abc7ea4f4be81695198; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < a4405f6ee03323410d7b10966fd67b35f71b1944; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < f67b0e3081f2a24170280a33ac66f6b112083c03; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 4514847aee18d9391a0cf3aad75d3567c72795a4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 80fca8a10b604afad6c14213fdfd816c4eda3ee4; Linux 3.10
- Fixed in
- Linux 587b4e8bb5dac682f09280ab35db4632b29d5ac4, Linux 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f, Linux 4514847aee18d9391a0cf3aad75d3567c72795a4, Linux 80fca8a10b604afad6c14213fdfd816c4eda3ee4
- 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.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent In some specific situations, the return value of __bch_btree_node_alloc may be NULL. This may lead to a potential NULL pointer dereference in caller function like a calling chain : btree_split->bch_btree_node_alloc->__bch_btree_node_alloc. Fix it by initializing the return value in __bch_btree_node_alloc.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 587b4e8bb5dac682f09280ab35db4632b29d5ac4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < b070f29a61436f6f8a2e3abc7ea4f4be81695198; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < a4405f6ee03323410d7b10966fd67b35f71b1944; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < f67b0e3081f2a24170280a33ac66f6b112083c03; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 4514847aee18d9391a0cf3aad75d3567c72795a4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 80fca8a10b604afad6c14213fdfd816c4eda3ee4 | — | cvelist |
| Linux | 3.10 | — | 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-2023-53681. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53681.md Affected: Linux >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 587b4e8bb5dac682f09280ab35db4632b29d5ac4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < b070f29a61436f6f8a2e3abc7ea4f4be81695198; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < a4405f6ee03323410d7b10966fd67b35f71b1944; >= cafe563591446cf80bfbc2f… Fixed in: Linux 587b4e8bb5dac682f09280ab35db4632b29d5ac4, Linux 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f, Linux 4514847aee18d9391a0cf3aad75d3567c72795a4, Linux 80fca8a10b604afad6c14213fdfd816c4eda3ee4 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/587b4e8bb5dac682f09280ab35db4632b29d5ac4
- https://git.kernel.org/stable/c/b070f29a61436f6f8a2e3abc7ea4f4be81695198
- https://git.kernel.org/stable/c/a4405f6ee03323410d7b10966fd67b35f71b1944
- https://git.kernel.org/stable/c/f67b0e3081f2a24170280a33ac66f6b112083c03
- https://git.kernel.org/stable/c/7ecea5ce3dc17339c280c75b58ac93d8c8620d9f
- https://git.kernel.org/stable/c/4514847aee18d9391a0cf3aad75d3567c72795a4
- https://git.kernel.org/stable/c/80fca8a10b604afad6c14213fdfd816c4eda3ee4
FAQ
Is CVE-2023-53681 being exploited?
There is no confirmed exploitation: CVE-2023-53681 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53681?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53681?
Linux >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 587b4e8bb5dac682f09280ab35db4632b29d5ac4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < b070f29a61436f6f8a2e3abc7ea4f4be81695198; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < a4405f6ee03323410d7b10966fd67b35f71b1944; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < f67b0e3081f2a24170280a33ac66f6b112083c03; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 4514847aee18d9391a0cf3aad75d3567c72795a4; >= cafe563591446cf80bfbc2fe3bc72a2e36cf1060, < 80fca8a10b604afad6c14213fdfd816c4eda3ee4; Linux 3.10.
Is there a fix for CVE-2023-53681?
Yes. Fixed in Linux 587b4e8bb5dac682f09280ab35db4632b29d5ac4, Linux 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f, Linux 4514847aee18d9391a0cf3aad75d3567c72795a4, Linux 80fca8a10b604afad6c14213fdfd816c4eda3ee4. Upgrade Linux to 80fca8a10b604afad6c14213fdfd816c4eda3ee4 or later.
How do I check if I'm affected by CVE-2023-53681?
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.