{"id":"CVE-2023-53380","summary":"md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: fix null-ptr-deref of mreplace in raid10_sync_request\n\nThere are two check of 'mreplace' in raid10_sync_request(). In the first\ncheck, 'need_replace' will be set and 'mreplace' will be used later if\nno-Faulty 'mreplace' exists, In the second check, 'mreplace' will be\nset to NULL if it is Faulty, but 'need_replace' will not be changed\naccordingly. null-ptr-deref occurs if Faulty is set between two check.\n\nFix it by merging two checks into one. And replace 'need_replace' with\n'mreplace' because their values are always the same.","modified":"2026-03-20T12:33:07.694370Z","published":"2025-09-18T13:33:25.383Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:3761-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53380.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/144c7fd008e0072b0b565f1157eec618de54ca8a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/222cc459d59857ee28a5366dc225ab42b22f9272"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2990e2ece18dd4cca71b3109c80517ad94adb065"},{"type":"WEB","url":"https://git.kernel.org/stable/c/34817a2441747b48e444cb0e05d84e14bc9443da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45fa023b3334a7ae6f6c4eb977295804222dfa28"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5015b97adda6a24dd3e713c63e521ecbeff25c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53380.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53380"},{"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":"ee37d7314a32ab6809eacc3389bad0406c69a81f"},{"fixed":"45fa023b3334a7ae6f6c4eb977295804222dfa28"},{"fixed":"2990e2ece18dd4cca71b3109c80517ad94adb065"},{"fixed":"f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f"},{"fixed":"222cc459d59857ee28a5366dc225ab42b22f9272"},{"fixed":"b5015b97adda6a24dd3e713c63e521ecbeff25c6"},{"fixed":"144c7fd008e0072b0b565f1157eec618de54ca8a"},{"fixed":"34817a2441747b48e444cb0e05d84e14bc9443da"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53380.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"}]}