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

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.

Classification

CVE ID: CVE-2024-35858

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/09040baf8779ad880e0e0d0ea10e57aa929ef3ab
https://git.kernel.org/stable/c/2389ad1990163d29cba5480d693b4c2e31cc545c
https://git.kernel.org/stable/c/9f898fc2c31fbf0ac5ecd289f528a716464cb005

Timeline