# CVE-2023-53299: md/raid10: fix leak of 'r10bio-\>remaining' for recovery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-09-16T08:11:30.854Z
- **Modified:** 2026-06-17T06:44:46.933Z

## Who should check

- Anyone running Linux \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< cb827ed2bb34480dc102146d3a1f89fdbcafc028; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 1d2c6c6e37fe5de11fd01a82badf03390e12df7a; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 1697fb124c6d6c5237e9cbd78890310154738084; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 8d09065802c53cc938d162b62f6c4150b392c90e; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 11141630f03efffdfe260b3582b2d93d38171b97; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 4f82e7e07cdaf2947d71968e3d6b73370a217093; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e
- Anyone running Linux 3.3

## 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.

## Affected and fixed versions

- Linux: \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< cb827ed2bb34480dc102146d3a1f89fdbcafc028; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 1d2c6c6e37fe5de11fd01a82badf03390e12df7a; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 1697fb124c6d6c5237e9cbd78890310154738084; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 8d09065802c53cc938d162b62f6c4150b392c90e; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 11141630f03efffdfe260b3582b2d93d38171b97; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 4f82e7e07cdaf2947d71968e3d6b73370a217093; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- Upgrade Linux to 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53299. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53299.md
Affected: Linux >= 24afd80d99f80a79d8824d2805114b8b067e9823, < cb827ed2bb34480dc102146d3a1f89fdbcafc028; >= 24afd80d99f80a79d8824d2805114b8b067e9823, < 1d2c6c6e37fe5de11fd01a82badf03390e12df7a; >= 24afd80d99f80a79d8824d2805114b8b067e9823, < 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c; >= 24afd80d99f80a79d8824d2…
Fixed in: Linux 1d2c6c6e37fe5de11fd01a82badf03390e12df7a, Linux 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c, Linux 1697fb124c6d6c5237e9cbd78890310154738084, Linux 8d09065802c53cc938d162b62f6c4150b392c90e, Linux 11141630f03efffdfe260b3582b2d93d38171b97, Linux 3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6, Linux 4f82e…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53299 being exploited?

There is no confirmed exploitation: CVE-2023-53299 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53299?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53299?

Linux \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< cb827ed2bb34480dc102146d3a1f89fdbcafc028; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 1d2c6c6e37fe5de11fd01a82badf03390e12df7a; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 1697fb124c6d6c5237e9cbd78890310154738084; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 8d09065802c53cc938d162b62f6c4150b392c90e; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 11141630f03efffdfe260b3582b2d93d38171b97; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 4f82e7e07cdaf2947d71968e3d6b73370a217093; \>= 24afd80d99f80a79d8824d2805114b8b067e9823, \< 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e; Linux 3.3.

### Is there a fix for CVE-2023-53299?

Yes. Fixed in Linux 1d2c6c6e37fe5de11fd01a82badf03390e12df7a, Linux 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c, Linux 1697fb124c6d6c5237e9cbd78890310154738084, Linux 8d09065802c53cc938d162b62f6c4150b392c90e, Linux 11141630f03efffdfe260b3582b2d93d38171b97, Linux 3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6, Linux 4f82e7e07cdaf2947d71968e3d6b73370a217093, Linux 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e. Upgrade Linux to 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e or later.

### How do I check if I'm affected by CVE-2023-53299?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/cb827ed2bb34480dc102146d3a1f89fdbcafc028>
- patch: <https://git.kernel.org/stable/c/1d2c6c6e37fe5de11fd01a82badf03390e12df7a>
- patch: <https://git.kernel.org/stable/c/8c5d5d7ffd1e76734811b8ea5417cf0432b9952c>
- patch: <https://git.kernel.org/stable/c/1697fb124c6d6c5237e9cbd78890310154738084>
- patch: <https://git.kernel.org/stable/c/8d09065802c53cc938d162b62f6c4150b392c90e>
- patch: <https://git.kernel.org/stable/c/11141630f03efffdfe260b3582b2d93d38171b97>
- patch: <https://git.kernel.org/stable/c/3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6>
- patch: <https://git.kernel.org/stable/c/4f82e7e07cdaf2947d71968e3d6b73370a217093>
- patch: <https://git.kernel.org/stable/c/26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53299>

HTML: <https://flawdb.com/CVE-2023-53299> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53299>
