5.5medium
bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cafe563591446cf80bfbc2fe3bc72a2e36cf1060 before 587b4e8bb5dac682f09280ab35db4632b29d5ac4, from cafe563591446cf80bfbc2fe3bc72a2e36cf1060 before b070f29a61436f6f8a2e3abc7ea4f4be81695198, from cafe563591446cf80bfbc2fe3bc72a2e36cf1060 before a4405f6ee03323410d7b10966fd67b35f71b1944, from cafe563591446cf80bfbc2fe3bc72a2e36cf1060 before f67b0e3081f2a24170280a33ac66f6b112083c03, from cafe563591446cf80bfbc2fe3bc72a2e36cf1060 before 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f, from cafe563591446cf80bfbc2fe3bc72a2e36cf1060 before 4514847aee18d9391a0cf3aad75d3567c72795a4, from cafe563591446cf80bfbc2fe3bc72a2e36cf1060 before 80fca8a10b604afad6c14213fdfd816c4eda3ee4, 3.10 Not affected: before 3.10, from 4.19.291 up to 4.19.*, from 5.4.253 up to 5.4.*, from 5.10.188 up to 5.10.*, from 5.15.121 up to 5.15.*, from 6.1.39 up to 6.1.* | CVE List |
| linux linux_kernel | from 3.10 before 4.19.291, from 4.20 before 5.4.253, from 5.5 before 5.10.188, from 5.11 before 5.15.121, from 5.16 before 6.1.39, from 6.2 before 6.4.4 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: bcache: Corrección de __bch_btree_node_alloc para hacer que el comportamiento de fallo sea consistente En algunas situaciones específicas, el valor de retorno de __bch_btree_node_alloc puede ser NULL. Esto puede llevar a una potencial desreferencia de puntero NULL en la función llamadora, como una cadena de llamadas: btree_split -> bch_btree_node_alloc -> __bch_btree_node_alloc. Se corrige inicializando el valor de retorno en __bch_btree_node_alloc.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53681 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-53681 changed 2026-10-28 | Public domain |