CVE-2023-53681

Source
https://cve.org/CVERecord?id=CVE-2023-53681
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53681.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53681
Downstream
Related
Published
2025-10-07T15:21:35.315Z
Modified
2026-04-11T12:46:51.496042Z
Summary
bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
Details

In the Linux kernel, the following vulnerability has been resolved:

bcache: Fix _bchbtreenodealloc to make the failure behavior consistent

In some specific situations, the return value of __bchbtreenodealloc may be NULL. This may lead to a potential NULL pointer dereference in caller function like a calling chain : btreesplit->bchbtreenodealloc->bchbtreenodealloc.

Fix it by initializing the return value in _bchbtreenodealloc.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53681.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cafe563591446cf80bfbc2fe3bc72a2e36cf1060
Fixed
587b4e8bb5dac682f09280ab35db4632b29d5ac4
Fixed
b070f29a61436f6f8a2e3abc7ea4f4be81695198
Fixed
a4405f6ee03323410d7b10966fd67b35f71b1944
Fixed
f67b0e3081f2a24170280a33ac66f6b112083c03
Fixed
7ecea5ce3dc17339c280c75b58ac93d8c8620d9f
Fixed
4514847aee18d9391a0cf3aad75d3567c72795a4
Fixed
80fca8a10b604afad6c14213fdfd816c4eda3ee4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53681.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.0
Fixed
4.19.291
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.253
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53681.json"