CVE-2023-54294 md/raid10: fix memleak of md thread
A memory leak in the Linux kernel RAID10 driver allows local attackers to cause denial of service by exhausting system memory.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-54294?
CVE-2023-54294 is a memory corruption vulnerability in Linux, published on 30 Dec 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 memleak of md thread
In raid10_run(), if setup_conf() succeed and raid10_run() failed before setting 'mddev->thread', then in the error path 'conf->thread' is not freed.
Fix the problem by setting 'mddev->thread' right after setup_conf().
Which versions are affected by CVE-2023-54294?
How do I fix CVE-2023-54294?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-54294 being exploited?
There is no known exploitation of CVE-2023-54294 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2023-54294, DEBIAN-CVE-2023-54294, GHSA-cpq6-27xg-r565, UBUNTU-CVE-2023-54294.