CVE-2024-50167 be2net: fix potential memory leak in be_xmit()
A memory leak in the be2net network driver allows attackers to cause a denial of service by exhausting kernel memory.
- 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-2024-50167?
CVE-2024-50167 is a medium-severity denial of service vulnerability in Linux kernel, published on 7 Nov 2024. 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:
be2net: fix potential memory leak in be_xmit()
The be_xmit() returns NETDEV_TX_OK without freeing skb in case of be_xmit_enqueue() fails, add dev_kfree_skb_any() to fix it.
Weakness: CWE-401
Which versions are affected by CVE-2024-50167?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-50167?
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-2024-50167 being exploited?
There is no known exploitation of CVE-2024-50167 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-52963, AZL-52993, BELL-CVE-2024-50167, DEBIAN-CVE-2024-50167, GHSA-m87c-pc83-wrfv, UBUNTU-CVE-2024-50167.