CVE-2024-50170 net: bcmasp: fix potential memory leak in bcmasp_xmit()
A memory leak in the Linux kernel's Broadcom ASP 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
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-50170?
CVE-2024-50170 is a high-severity denial of service vulnerability in Linux kernel, published on 7 Nov 2024. 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: bcmasp: fix potential memory leak in bcmasp_xmit()
The bcmasp_xmit() returns NETDEV_TX_OK without freeing skb in case of mapping fails, add dev_kfree_skb() to fix it.
Weakness: CWE-401
Which versions are affected by CVE-2024-50170?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-50170?
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-50170 being exploited?
There is no known exploitation of CVE-2024-50170 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-53132, BELL-CVE-2024-50170, DEBIAN-CVE-2024-50170, GHSA-3x82-hxvx-2rv2, UBUNTU-CVE-2024-50170.