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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-11-07T09:31:46.722Z
- Modified: 2026-08-05T11:42:14.785Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 490cb412007de593e07c1d3e2b1ec4233886707c before 7218de0778aefbbbcfe474a55f88bbf6f244627d; from 490cb412007de593e07c1d3e2b1ec4233886707c before f689f20d3e09f2d4d0a2c575a9859115a33e68bd; from 490cb412007de593e07c1d3e2b1ec4233886707c before fed07d3eb8a8d9fcc0e455175a89bc6445d6faed; 6.6 (not affected: before 6.6; from 6.6.59 up to 6.6.*; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.6 before 6.6.59; from 6.7 before 6.11.6; 6.12

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/7218de0778aefbbbcfe474a55f88bbf6f244627d> (patch)
- <https://git.kernel.org/stable/c/f689f20d3e09f2d4d0a2c575a9859115a33e68bd> (patch)
- <https://git.kernel.org/stable/c/fed07d3eb8a8d9fcc0e455175a89bc6445d6faed> (patch)

## Sources

- CVE List: [CVE-2024-50170](https://www.cve.org/CVERecord?id=CVE-2024-50170), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50170](https://nvd.nist.gov/vuln/detail/CVE-2024-50170), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50170 · Whole record: https://cve.day/CVE-2024-50170.json · Rebuilt by cve.day 2026-11-25T22:58:47.869Z
