Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
2c91e2319ed95f9b7608c9ac2ebd1a070918f1fc to < b2fea45f55b158d6189baf33ab0728e3387180e5affected2c91e2319ed95f9b7608c9ac2ebd1a070918f1fc to < 03825bb38fbb9a09c6d9aab3f1c0e5f5fc2ba1e4affected2c91e2319ed95f9b7608c9ac2ebd1a070918f1fc to < 1412235447869922eb0ee041a31fab6176e60ab0affected
Linux Linux
Default version status: affected
6.16affected0 to < 6.16unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected