CVE-2023-53299

Source
https://cve.org/CVERecord?id=CVE-2023-53299
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53299.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53299
Downstream
Related
Published
2025-09-16T08:11:30.854Z
Modified
2026-03-09T23:58:19.781279Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
md/raid10: fix leak of 'r10bio->remaining' for recovery
Details

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

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

raid10syncrequest() will add 'r10bio->remaining' for both rdev and replacement rdev. However, if the read io fails, recoveryrequestwrite() returns without issuing the write io, in this case, endsyncrequest() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53299.json"
}
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
24afd80d99f80a79d8824d2805114b8b067e9823
Fixed
cb827ed2bb34480dc102146d3a1f89fdbcafc028
Fixed
1d2c6c6e37fe5de11fd01a82badf03390e12df7a
Fixed
8c5d5d7ffd1e76734811b8ea5417cf0432b9952c
Fixed
1697fb124c6d6c5237e9cbd78890310154738084
Fixed
8d09065802c53cc938d162b62f6c4150b392c90e
Fixed
11141630f03efffdfe260b3582b2d93d38171b97
Fixed
3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6
Fixed
4f82e7e07cdaf2947d71968e3d6b73370a217093
Fixed
26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e

Database specific

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