wifi: virt_wifi: free skb when disconnected
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c7cdba31ed8b87526db978976392802d3f93110c · < 4f266738af45675faa0e8afee08c6e780afa8b06| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: virt_wifi: free skb when disconnected
When the simulated link is disconnected, virt_wifi_start_xmit() returns NET_XMIT_DROP without freeing the skb. dev_hard_start_xmit() treats this return value as consumed, so every packet sent while disconnected leaks its skb.
Free the skb before returning the drop status.
From the CVE record · Linux
The Linux kernel’s virt_wifi driver leaks packet buffers when packets are sent while its simulated link is disconnected. Repeated packets under that condition cause additional leaks. The input does not specify whether an attacker can trigger this over a network, needs authentication, or requires user interaction.
Engineers running Linux kernels with virt_wifi should check whether their kernel includes the fix; affected versions are not specified.