What’s Vulnerable › Vulnerabilities
CVE-2024-50170: net: bcmasp: fix potential memory leak in bcmasp_xmit()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-07 · updated 2026-08-04
- Weakness: CWE-401
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.
Affected products
- Linux kernel: from 6.6 before 6.6.59; from 6.7 before 6.11.6; 6.12-rc1, 6.12-rc2, 6.12-rc3 — fixed in 6.11.6, 6.6.59
How to fix
Upgrade to a fixed version: Linux kernel 6.11.6, 6.6.59. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/7218de0778aefbbbcfe474a55f88bbf6f244627d
- https://git.kernel.org/stable/c/f689f20d3e09f2d4d0a2c575a9859115a33e68bd
- https://git.kernel.org/stable/c/fed07d3eb8a8d9fcc0e455175a89bc6445d6faed
Get alerted when CVE-2024-50170 or the next vulnerability affects your stack