{"id":"CVE-2023-53380","aliases":["CVE-2023-53380"],"related":[],"kind":"vulnerability","state":"published","title":"md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-09-18T13:33:25.383Z","modified":"2026-06-17T06:45:09.573Z","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-476"],"affected":[{"ranges":[{"type":"git","introduced":"ee37d7314a32ab6809eacc3389bad0406c69a81f","fixed":"45fa023b3334a7ae6f6c4eb977295804222dfa28","status":"affected"},{"type":"git","introduced":"ee37d7314a32ab6809eacc3389bad0406c69a81f","fixed":"2990e2ece18dd4cca71b3109c80517ad94adb065","status":"affected"},{"type":"git","introduced":"ee37d7314a32ab6809eacc3389bad0406c69a81f","fixed":"f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f","status":"affected"},{"type":"git","introduced":"ee37d7314a32ab6809eacc3389bad0406c69a81f","fixed":"222cc459d59857ee28a5366dc225ab42b22f9272","status":"affected"},{"type":"git","introduced":"ee37d7314a32ab6809eacc3389bad0406c69a81f","fixed":"b5015b97adda6a24dd3e713c63e521ecbeff25c6","status":"affected"},{"type":"git","introduced":"ee37d7314a32ab6809eacc3389bad0406c69a81f","fixed":"144c7fd008e0072b0b565f1157eec618de54ca8a","status":"affected"},{"type":"git","introduced":"ee37d7314a32ab6809eacc3389bad0406c69a81f","fixed":"34817a2441747b48e444cb0e05d84e14bc9443da","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.4.251","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.188","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.121","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.39","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.13","lastAffected":"6.3.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","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":"4.20","fixed":"5.4.251"},{"status":"affected","introduced":"5.5","fixed":"5.10.188"},{"status":"affected","introduced":"5.11","fixed":"5.15.121"},{"status":"affected","introduced":"5.16","fixed":"6.1.39"},{"status":"affected","introduced":"6.2","fixed":"6.3.13"},{"status":"affected","introduced":"6.4","fixed":"6.4.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/45fa023b3334a7ae6f6c4eb977295804222dfa28","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2990e2ece18dd4cca71b3109c80517ad94adb065","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/222cc459d59857ee28a5366dc225ab42b22f9272","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5015b97adda6a24dd3e713c63e521ecbeff25c6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/144c7fd008e0072b0b565f1157eec618de54ca8a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34817a2441747b48e444cb0e05d84e14bc9443da","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:56:06.480Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53380","url":"https://www.cve.org/CVERecord?id=CVE-2023-53380","licence":"CVE Terms of Use","modified":"2026-05-11T19:43:49.796Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53380","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53380","licence":"Public domain","modified":"2026-06-17T06:45:09.573Z"}],"updatedAt":"2026-11-25T22:58:34.859Z","epss":{"score":0.00156,"percentile":0.05012,"date":"2026-12-01T12:00:22.000Z"}}