CVE-2023-54106 net/mlx5: fix potential memory leak in mlx5e_init_rep_rx

Not scored Published Updated

A memory leak in the Linux kernel's mlx5 network driver allows attackers to cause a denial of service by exhausting system memory.

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-54106?

CVE-2023-54106 is a denial of service 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:

net/mlx5: fix potential memory leak in mlx5e_init_rep_rx

The memory pointed to by the priv->rx_res pointer is not freed in the error path of mlx5e_init_rep_rx, which can lead to a memory leak. Fix by freeing the memory in the error path, thereby making the error path identical to mlx5e_cleanup_rep_rx().

Which versions are affected by CVE-2023-54106?

How do I fix CVE-2023-54106?

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

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

Sources

Also known as BELL-CVE-2023-54106, DEBIAN-CVE-2023-54106, GHSA-2c4h-2ghg-m6fj, UBUNTU-CVE-2023-54106.

Is CVE-2023-54106 in your software?

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

Check your SBOMs for free