CVE-2023-53380

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53380
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53380.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53380
Downstream
Published
2025-09-18T14:15:40Z
Modified
2025-09-19T16:00:27Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

md/raid10: fix null-ptr-deref of mreplace in raid10syncrequest

There are two check of 'mreplace' in raid10syncrequest(). In the first check, 'needreplace' will be set and 'mreplace' will be used later if no-Faulty 'mreplace' exists, In the second check, 'mreplace' will be set to NULL if it is Faulty, but 'needreplace' will not be changed accordingly. null-ptr-deref occurs if Faulty is set between two check.

Fix it by merging two checks into one. And replace 'need_replace' with 'mreplace' because their values are always the same.

References

Affected packages