net: bcmasp: fix memory leak when bringing down interface
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.306.8.96.9In 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.
From the CVE record · Linux
The Linux kernel's bcmasp driver does not reclaim flushed TX packets when an interface is brought down. This can leak DMA-mapped buffers and corrupt TX control blocks during power-management shutdown. The input does not establish whether an attacker can trigger this remotely or locally, or whether authentication or user interaction is required.
Engineers running Linux systems that use the bcmasp driver should check their kernel versions; affected versions are not specified.