CVE-2023-53380 md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel's RAID10 driver can cause a system crash, requiring a kernel patch to resolve.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53380?

CVE-2023-53380 is a medium-severity vulnerability in Linux kernel, published on 18 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

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

There are two check of 'mreplace' in raid10_sync_request(). In the first check, 'need_replace' 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 'need_replace' 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.

Weakness: CWE-476

Which versions are affected by CVE-2023-53380?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53380?

Apply the vendor's patch.

Is CVE-2023-53380 being exploited?

There is no known exploitation of CVE-2023-53380 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53380, DEBIAN-CVE-2023-53380, GHSA-9g3f-fgm8-4cgm, UBUNTU-CVE-2023-53380.

Is CVE-2023-53380 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free