net: txgbe: fix FDIR filter leak on remove
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:
net: txgbe: fix FDIR filter leak on remove
Perfect FDIR filters can be added while the interface is down and are kept on the software list for later restore. unregister_netdev() only calls ndo_stop when the device is up, so txgbe_fdir_filter_exit() in txgbe_close() is skipped in that case and the filters are leaked on driver remove. Free the filter list from txgbe_remove() as well.
From the CVE record · Linux
The Linux kernel’s txgbe driver can leak FDIR filters when the driver is removed while the network interface is down. Filters added while the interface is down remain on a software list that is not freed during removal. The input does not specify an attacker action or access requirements.
Engineers running Linux systems that use the txgbe driver should check their kernel versions; affected versions are not specified.