# CVE-2024-35858: net: bcmasp: fix memory leak when bringing down interface

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.33%, higher than 18% of CVEs (2026-11-30)
- Published: 2024-05-17T14:47:33.401Z
- Modified: 2026-08-05T11:30:22.967Z
- 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 memory leak when bringing down interface

When bringing down the TX rings we flush the rings but forget to
reclaimed the flushed packets. This leads to a memory leak since we
do not free the dma mapped buffers. This also leads to tx control
block corruption when bringing down the interface for power
management.

(As written by CVE List.)

## Affected

- Linux Linux: from 490cb412007de593e07c1d3e2b1ec4233886707c before 09040baf8779ad880e0e0d0ea10e57aa929ef3ab; from 490cb412007de593e07c1d3e2b1ec4233886707c before 2389ad1990163d29cba5480d693b4c2e31cc545c; from 490cb412007de593e07c1d3e2b1ec4233886707c before 9f898fc2c31fbf0ac5ecd289f528a716464cb005; 6.6 (not affected: before 6.6; from 6.6.30 up to 6.6.*; from 6.8.9 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.6 before 6.6.30; from 6.7 before 6.8.9; 6.9

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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/09040baf8779ad880e0e0d0ea10e57aa929ef3ab> (patch)
- <https://git.kernel.org/stable/c/2389ad1990163d29cba5480d693b4c2e31cc545c> (patch)
- <https://git.kernel.org/stable/c/9f898fc2c31fbf0ac5ecd289f528a716464cb005> (patch)

## Sources

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

---

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