CVE-2023-53299

md/raid10: fix leak of 'r10bio->remaining' for recovery

MEDIUM
5.5
CVSS Score
Published: September 16, 2025 at 08:11 AM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 4.14.3153.3 ≤ v < 4.19.2833.3 ≤ v < 5.10.1803.3 ≤ v < 5.15.1113.3 ≤ v < 5.4.2433.3 ≤ v < 6.1.283.3 ≤ v < 6.2.153.3 ≤ v < 6.3.23.3 ≤ v < 6.44.15 ≤ v < 4.19.2834.20 ≤ v < 5.4.2435.11 ≤ v < 5.15.1115.16 ≤ v < 6.1.285.5 ≤ v < 5.10.1806.2 ≤ v < 6.2.156.3 ≤ v < 6.3.224afd80d99f80a79d8824d2805114b8b067e98233.3
Vendor states this is fixed in 11141630f03efffdfe260b3582b2d93d38171b97 (fixed)
Vendor states this is fixed in 1697fb124c6d6c5237e9cbd78890310154738084 (fixed)
Vendor states this is fixed in 1d2c6c6e37fe5de11fd01a82badf03390e12df7a (fixed)
Vendor states this is fixed in 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e (fixed)
Vendor states this is fixed in 3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6 (fixed)
Vendor states this is fixed in 4f82e7e07cdaf2947d71968e3d6b73370a217093 (fixed)
Vendor states this is fixed in 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c (fixed)
Vendor states this is fixed in 8d09065802c53cc938d162b62f6c4150b392c90e (fixed)
Vendor states this is fixed in cb827ed2bb34480dc102146d3a1f89fdbcafc028 (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.14.315 (unaffected)
Vendor states this is fixed in 4.19.283 (unaffected)
Vendor states this is fixed in 5.10.180 (unaffected)
Vendor states this is fixed in 5.15.111 (unaffected)
Vendor states this is fixed in 5.4.243 (unaffected)
Vendor states this is fixed in 6.1.28 (unaffected)
Vendor states this is fixed in 6.2.15 (unaffected)
Vendor states this is fixed in 6.3.2 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/11141630f03efffdfe260b3582b2d93d38171b97
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1697fb124c6d6c5237e9cbd78890310154738084
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1d2c6c6e37fe5de11fd01a82badf03390e12df7a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4f82e7e07cdaf2947d71968e3d6b73370a217093
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8c5d5d7ffd1e76734811b8ea5417cf0432b9952c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8d09065802c53cc938d162b62f6c4150b392c90e

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card