{"id":"CVE-2023-53299","summary":"md/raid10: fix leak of 'r10bio-\u003eremaining' for recovery","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: fix leak of 'r10bio-\u003eremaining' for recovery\n\nraid10_sync_request() will add 'r10bio-\u003eremaining' for both rdev and\nreplacement rdev. However, if the read io fails, recovery_request_write()\nreturns without issuing the write io, in this case, end_sync_request()\nis only called once and 'remaining' is leaked, cause an io hang.\n\nFix the problem by decreasing 'remaining' according to if 'bio' and\n'repl_bio' is valid.","modified":"2026-03-20T12:33:03.247969Z","published":"2025-09-16T08:11:30.854Z","related":["SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53299.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/11141630f03efffdfe260b3582b2d93d38171b97"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1697fb124c6d6c5237e9cbd78890310154738084"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1d2c6c6e37fe5de11fd01a82badf03390e12df7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f82e7e07cdaf2947d71968e3d6b73370a217093"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8c5d5d7ffd1e76734811b8ea5417cf0432b9952c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8d09065802c53cc938d162b62f6c4150b392c90e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb827ed2bb34480dc102146d3a1f89fdbcafc028"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53299.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53299"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}