In the Linux kernel, the following vulnerability has been resolved: ibmveth: disable the reset work before unregister in remove ibmveth_remove() cancels the reset work before unregister_netdev(), but NAPI keeps running until unregister closes the device and can queue the reset again, on an interrupt enable failure, a bad free_map entry or a bad RX slot. The reset can then run on the adapter after free_netdev(), or reopen the device during unregister. Use disable_work_sync(), which waits for a running reset and keeps the work from being queued again. A bad RX slot also makes poll spin, which can stall unregister; a later patch in this series fixes that. Found in review of the ibmveth multi-queue RX series and confirmed by code inspection; it was not reproduced. Tested on a POWER10 LPAR with unbind and bind cycles under traffic. No kernel selftests cover ibmveth.
https://git.kernel.org/stable/c/b2fea45f55b158d6189baf33ab0728e3387180e5
https://git.kernel.org/stable/c/1412235447869922eb0ee041a31fab6176e60ab0
https://git.kernel.org/stable/c/03825bb38fbb9a09c6d9aab3f1c0e5f5fc2ba1e4