CVE-2023-53299
md/raid10: fix leak of 'r10bio->remaining' for recovery
Check your servers for CVE-2023-53299
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-53299 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:
md/raid10: fix leak of 'r10bio->remaining' for recovery
raid10_sync_request() will add 'r10bio->remaining' for both rdev and replacement rdev. However, if the read io fails, recovery_request_write() returns without issuing the write io, in this case, end_sync_request() is only called once and 'remaining' is leaked, cause an io hang.
Fix the problem by decreasing 'remaining' according to if 'bio' and 'repl_bio' is valid.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.38% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 14 Jan 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-401 Missing Release of Memory after Effective Lifetime
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before cb827ed2bb34480dc102146d3a1f89fdbcafc028 affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before 1d2c6c6e37fe5de11fd01a82badf03390e12df7a affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before 1697fb124c6d6c5237e9cbd78890310154738084 affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before 8d09065802c53cc938d162b62f6c4150b392c90e affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before 11141630f03efffdfe260b3582b2d93d38171b97 affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before 3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6 affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before 4f82e7e07cdaf2947d71968e3d6b73370a217093 affected from 24afd80d99f80a79d8824d2805114b8b067e9823, before 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e
Other versions: unaffected
|
| Linux |
affected 3.3 unaffected before 3.3 unaffected from 4.14.315 up to and including 4.14.* unaffected from 4.19.283 up to and including 4.19.* unaffected from 5.4.243 up to and including 5.4.* unaffected from 5.10.180 up to and including 5.10.* unaffected from 5.15.111 up to and including 5.15.* unaffected from 6.1.28 up to and including 6.1.* unaffected from 6.2.15 up to and including 6.2.* unaffected from 6.3.2 up to and including 6.3.* unaffected 6.4 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-53299 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53299
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-53299
trivy image --scanners vuln IMAGE | grep CVE-2023-53299
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/cb827ed2bb34480dc102146d3a1f89fdbcafc028 git.kernel.org
- https://git.kernel.org/stable/c/1d2c6c6e37fe5de11fd01a82badf03390e12df7a git.kernel.org
- https://git.kernel.org/stable/c/8c5d5d7ffd1e76734811b8ea5417cf0432b9952c git.kernel.org
- https://git.kernel.org/stable/c/1697fb124c6d6c5237e9cbd78890310154738084 git.kernel.org
- https://git.kernel.org/stable/c/8d09065802c53cc938d162b62f6c4150b392c90e git.kernel.org
- https://git.kernel.org/stable/c/11141630f03efffdfe260b3582b2d93d38171b97 git.kernel.org
- https://git.kernel.org/stable/c/3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6 git.kernel.org
- https://git.kernel.org/stable/c/4f82e7e07cdaf2947d71968e3d6b73370a217093 git.kernel.org
- https://git.kernel.org/stable/c/26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e git.kernel.org
Source: the record CVE-2023-53299 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse