CVE-2023-53380
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/09/2025
Last modified:
19/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request<br />
<br />
There are two check of &#39;mreplace&#39; in raid10_sync_request(). In the first<br />
check, &#39;need_replace&#39; will be set and &#39;mreplace&#39; will be used later if<br />
no-Faulty &#39;mreplace&#39; exists, In the second check, &#39;mreplace&#39; will be<br />
set to NULL if it is Faulty, but &#39;need_replace&#39; will not be changed<br />
accordingly. null-ptr-deref occurs if Faulty is set between two check.<br />
<br />
Fix it by merging two checks into one. And replace &#39;need_replace&#39; with<br />
&#39;mreplace&#39; because their values are always the same.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/144c7fd008e0072b0b565f1157eec618de54ca8a
- https://git.kernel.org/stable/c/222cc459d59857ee28a5366dc225ab42b22f9272
- https://git.kernel.org/stable/c/2990e2ece18dd4cca71b3109c80517ad94adb065
- https://git.kernel.org/stable/c/34817a2441747b48e444cb0e05d84e14bc9443da
- https://git.kernel.org/stable/c/45fa023b3334a7ae6f6c4eb977295804222dfa28
- https://git.kernel.org/stable/c/b5015b97adda6a24dd3e713c63e521ecbeff25c6
- https://git.kernel.org/stable/c/f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f