# CVE-2023-53681: bcache: Fix \_\_bch\_btree\_node\_alloc to make the failure behavior consistent

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-07 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53681, DEBIAN-CVE-2023-53681
- Record: https://cvemate.com/vulnerability/CVE-2023-53681 · JSON: https://cvemate.com/vulnerability/CVE-2023-53681/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.149%, percentile 4.207%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 127)

- debian linux (Debian): \< 6.1.52-1 \| \< 6.4.4-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-169.187 \| \< 5.15.0-86.96
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1116.126 \| \< 5.15.0-1047.52
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1047.52~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1116.126~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1116.126+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1121.128 \| \< 5.15.0-1049.56
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References

- <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>
- <https://ubuntu.com/security/CVE-2023-53681>
- <https://www.cve.org/CVERecord?id=CVE-2023-53681>
- <https://git.kernel.org/linus/80fca8a10b604afad6c14213fdfd816c4eda3ee4>
- <https://security-tracker.debian.org/tracker/CVE-2023-53681>

---

Data as of 2026-12-06T04:40:42.152Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
