bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 4 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-476 — NULL Pointer Dereference
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-31968
- GCVE · GCVE-0-2023-53681
CERT-FR advisories
- CERTFR-2025-AVI-1073 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1047 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1032 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 3.10 < 4.19.291cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.253cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.188cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.121cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.39cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.4.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected cafe563591446cf80bfbc2fe3bc72a2e36cf1060 < 587b4e8bb5dac682f09280ab35db4632b29d5ac4 ; affected cafe563591446cf80bfbc2fe3bc72a2e36cf1060 < b070f29a61436f6f8a2e3abc7ea4f4be81695198 ; affected cafe563591446cf80bfbc2fe3bc72a2e36cf1060 < a4405f6ee03323410d7b10966fd67b35f71b1944 ; affected cafe563591446cf80bfbc2fe3bc72a2e36cf1060 < f67b0e3081f2a24170280a33ac66f6b112083c03 ; affected cafe563591446cf80bfbc2fe3bc72a2e36cf1060 < 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f ; affected cafe563591446cf80bfbc2fe3bc72a2e36cf1060 < 4514847aee18d9391a0cf3aad75d3567c72795a4 |
| Linux · Linux | affected 3.10 ; unaffected 0 < 3.10 ; unaffected 4.19.291 ≤ 4.19.* ; unaffected 5.4.253 ≤ 5.4.* ; unaffected 5.10.188 ≤ 5.10.* ; unaffected 5.15.121 ≤ 5.15.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |