wifi: mt76: Fix memory leak destroying device
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: Fix memory leak destroying device
All MT76 rx queues have an associated page_pool even if the queue is not associated to a NAPI (e.g. WED RRO queues with WED enabled). Destroy the page_pool running mt76_dma_cleanup routine during module unload. Moreover returns pages to the page pool if WED is not enabled for WED RRO queues.
From the CVE record · Linux
The Linux kernel's mt76 Wi-Fi driver can leak memory when a device is destroyed during module unload because an RX queue's page pool is not cleaned up. The input does not describe an attacker action or specify network access, authentication, or user interaction requirements.
Engineers running Linux systems that use the mt76 Wi-Fi driver should check their kernel versions; affected versions are not specified.