CVE-2023-53681

bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cafe563591446cf80bfbc2fe3bc72a2e36cf1060 to before 587b4e8bb5dac682f09280ab35db4632b29d5ac4Affected
  • cafe563591446cf80bfbc2fe3bc72a2e36cf1060 to before b070f29a61436f6f8a2e3abc7ea4f4be81695198Affected
  • cafe563591446cf80bfbc2fe3bc72a2e36cf1060 to before a4405f6ee03323410d7b10966fd67b35f71b1944Affected
  • cafe563591446cf80bfbc2fe3bc72a2e36cf1060 to before f67b0e3081f2a24170280a33ac66f6b112083c03Affected
  • cafe563591446cf80bfbc2fe3bc72a2e36cf1060 to before 7ecea5ce3dc17339c280c75b58ac93d8c8620d9fAffected
  • cafe563591446cf80bfbc2fe3bc72a2e36cf1060 to before 4514847aee18d9391a0cf3aad75d3567c72795a4Affected
  • cafe563591446cf80bfbc2fe3bc72a2e36cf1060 to before 80fca8a10b604afad6c14213fdfd816c4eda3ee4Affected
LinuxLinux
  • 3.10Affected
  • before 3.10Not affected
  • 4.19.291 through 4.19.*Not affected
  • 5.4.253 through 5.4.*Not affected
  • 5.10.188 through 5.10.*Not affected
  • 5.15.121 through 5.15.*Not affected
  • 6.1.39 through 6.1.*Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.