CVE-2023-54231 net: libwx: fix memory leak in wx_setup_rx_resources

Not scored Published Updated

A memory leak in the Linux kernel libwx driver allows remote attackers to cause a denial of service by triggering a specific error path.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-54231?

CVE-2023-54231 is a denial of service vulnerability in Linux, published on 30 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

net: libwx: fix memory leak in wx_setup_rx_resources

When wx_alloc_page_pool() failed in wx_setup_rx_resources(), it doesn't release DMA buffer. Add dma_free_coherent() in the error path to release the DMA buffer.

Which versions are affected by CVE-2023-54231?

How do I fix CVE-2023-54231?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-54231 being exploited?

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

Sources

Also known as BELL-CVE-2023-54231, GHSA-gf2w-4455-j26q, UBUNTU-CVE-2023-54231.

Is CVE-2023-54231 in your software?

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

Check your SBOMs for free