CVE-2023-53681
bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
Check your servers for CVE-2023-53681
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53681 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.26% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cafe563591446cf80bfbc2fe3bc72a2e36cf1060, before 587b4e8bb5dac682f09280ab35db4632b29d5ac4 affected from cafe563591446cf80bfbc2fe3bc72a2e36cf1060, before b070f29a61436f6f8a2e3abc7ea4f4be81695198 affected from cafe563591446cf80bfbc2fe3bc72a2e36cf1060, before a4405f6ee03323410d7b10966fd67b35f71b1944 affected from cafe563591446cf80bfbc2fe3bc72a2e36cf1060, before f67b0e3081f2a24170280a33ac66f6b112083c03 affected from cafe563591446cf80bfbc2fe3bc72a2e36cf1060, before 7ecea5ce3dc17339c280c75b58ac93d8c8620d9f affected from cafe563591446cf80bfbc2fe3bc72a2e36cf1060, before 4514847aee18d9391a0cf3aad75d3567c72795a4 affected from cafe563591446cf80bfbc2fe3bc72a2e36cf1060, before 80fca8a10b604afad6c14213fdfd816c4eda3ee4
Other versions: unaffected
|
| Linux |
affected 3.10 unaffected before 3.10 unaffected from 4.19.291 up to and including 4.19.* unaffected from 5.4.253 up to and including 5.4.* unaffected from 5.10.188 up to and including 5.10.* unaffected from 5.15.121 up to and including 5.15.* unaffected from 6.1.39 up to and including 6.1.* unaffected from 6.4.4 up to and including 6.4.* unaffected 6.5 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53681 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53681
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53681
trivy image --scanners vuln IMAGE | grep CVE-2023-53681
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/587b4e8bb5dac682f09280ab35db4632b29d5ac4 git.kernel.org
- https://git.kernel.org/stable/c/b070f29a61436f6f8a2e3abc7ea4f4be81695198 git.kernel.org
- https://git.kernel.org/stable/c/a4405f6ee03323410d7b10966fd67b35f71b1944 git.kernel.org
- https://git.kernel.org/stable/c/f67b0e3081f2a24170280a33ac66f6b112083c03 git.kernel.org
- https://git.kernel.org/stable/c/7ecea5ce3dc17339c280c75b58ac93d8c8620d9f git.kernel.org
- https://git.kernel.org/stable/c/4514847aee18d9391a0cf3aad75d3567c72795a4 git.kernel.org
- https://git.kernel.org/stable/c/80fca8a10b604afad6c14213fdfd816c4eda3ee4 git.kernel.org
Source: the record CVE-2023-53681 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse