CVE-2023-54123 md/raid10: fix memleak for 'conf->bio_split'

Not scored Published Updated

A memory leak in the Linux kernel RAID10 driver allows local attackers to exhaust system memory, potentially causing a denial of service.

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

What is CVE-2023-54123?

CVE-2023-54123 is a memory corruption vulnerability in Linux, published on 24 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 for 'conf->bio_split'

In the error path of raid10_run(), 'conf' need be freed, however, 'conf->bio_split' is missed and memory will be leaked.

Since there are 3 places to free 'conf', factor out a helper to fix the problem.

Which versions are affected by CVE-2023-54123?

How do I fix CVE-2023-54123?

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-54123 being exploited?

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

Sources

Also known as BELL-CVE-2023-54123, DEBIAN-CVE-2023-54123, GHSA-fggm-fgvr-h4xg, UBUNTU-CVE-2023-54123.

Is CVE-2023-54123 in your software?

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

Check your SBOMs for free