{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53380","id":"CVE-2023-53380","title":"md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request","description":"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","descriptionLong":"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.","published":"2025-09-18T13:33:25.383Z","updated":"2026-10-28T02:31:00.626716635Z","reserved":"2025-09-17T14:54:09.736Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ee37d7314a32ab6809eacc3389bad0406c69a81f","lessThan":"45fa023b3334a7ae6f6c4eb977295804222dfa28","status":"affected","versionType":"git"},{"version":"ee37d7314a32ab6809eacc3389bad0406c69a81f","lessThan":"2990e2ece18dd4cca71b3109c80517ad94adb065","status":"affected","versionType":"git"},{"version":"ee37d7314a32ab6809eacc3389bad0406c69a81f","lessThan":"f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f","status":"affected","versionType":"git"},{"version":"ee37d7314a32ab6809eacc3389bad0406c69a81f","lessThan":"222cc459d59857ee28a5366dc225ab42b22f9272","status":"affected","versionType":"git"},{"version":"ee37d7314a32ab6809eacc3389bad0406c69a81f","lessThan":"b5015b97adda6a24dd3e713c63e521ecbeff25c6","status":"affected","versionType":"git"},{"version":"ee37d7314a32ab6809eacc3389bad0406c69a81f","lessThan":"144c7fd008e0072b0b565f1157eec618de54ca8a","status":"affected","versionType":"git"},{"version":"ee37d7314a32ab6809eacc3389bad0406c69a81f","lessThan":"34817a2441747b48e444cb0e05d84e14bc9443da","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","lessThan":"4.20","status":"unaffected","versionType":"semver"},{"version":"5.4.251","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.188","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.121","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.39","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.3.13","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4.4","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/45fa023b3334a7ae6f6c4eb977295804222dfa28","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2990e2ece18dd4cca71b3109c80517ad94adb065","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/222cc459d59857ee28a5366dc225ab42b22f9272","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b5015b97adda6a24dd3e713c63e521ecbeff25c6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/144c7fd008e0072b0b565f1157eec618de54ca8a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/34817a2441747b48e444cb0e05d84e14bc9443da","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53380.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53380","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00156,"epssPercentile":0.04848,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53380","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53380","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53380","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53380","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}