{"id":"CVE-2023-53299","aliases":["CVE-2023-53299"],"related":[],"kind":"vulnerability","state":"published","title":"md/raid10: fix leak of 'r10bio->remaining' for recovery","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: fix leak of 'r10bio->remaining' for recovery\n\nraid10_sync_request() will add 'r10bio->remaining' 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: fix leak of 'r10bio->remaining' for recovery\n\nraid10_sync_request() will add 'r10bio->remaining' 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.","source":"cvelist"}],"published":"2025-09-16T08:11:30.854Z","modified":"2026-06-17T06:44:46.933Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"cb827ed2bb34480dc102146d3a1f89fdbcafc028","status":"affected"},{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"1d2c6c6e37fe5de11fd01a82badf03390e12df7a","status":"affected"},{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"8c5d5d7ffd1e76734811b8ea5417cf0432b9952c","status":"affected"},{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"1697fb124c6d6c5237e9cbd78890310154738084","status":"affected"},{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"8d09065802c53cc938d162b62f6c4150b392c90e","status":"affected"},{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"11141630f03efffdfe260b3582b2d93d38171b97","status":"affected"},{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6","status":"affected"},{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"4f82e7e07cdaf2947d71968e3d6b73370a217093","status":"affected"},{"type":"git","introduced":"24afd80d99f80a79d8824d2805114b8b067e9823","fixed":"26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.3","status":"unaffected"},{"type":"semver","introduced":"4.14.315","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.283","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.243","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.180","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.111","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.3","fixed":"4.14.315"},{"status":"affected","introduced":"4.15","fixed":"4.19.283"},{"status":"affected","introduced":"4.20","fixed":"5.4.243"},{"status":"affected","introduced":"5.5","fixed":"5.10.180"},{"status":"affected","introduced":"5.11","fixed":"5.15.111"},{"status":"affected","introduced":"5.16","fixed":"6.1.28"},{"status":"affected","introduced":"6.2","fixed":"6.2.15"},{"status":"affected","introduced":"6.3","fixed":"6.3.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/cb827ed2bb34480dc102146d3a1f89fdbcafc028","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d2c6c6e37fe5de11fd01a82badf03390e12df7a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c5d5d7ffd1e76734811b8ea5417cf0432b9952c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1697fb124c6d6c5237e9cbd78890310154738084","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d09065802c53cc938d162b62f6c4150b392c90e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11141630f03efffdfe260b3582b2d93d38171b97","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f82e7e07cdaf2947d71968e3d6b73370a217093","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:13:08.755Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53299","url":"https://www.cve.org/CVERecord?id=CVE-2023-53299","licence":"CVE Terms of Use","modified":"2026-05-11T19:42:15.615Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53299","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53299","licence":"Public domain","modified":"2026-06-17T06:44:46.933Z"}],"updatedAt":"2026-11-25T22:58:34.818Z","epss":{"score":0.0016,"percentile":0.05366,"date":"2026-12-02T12:00:21.000Z"}}