mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
6c342ce223
We cannot do the cancel_work_sync from after the unregister_netdev, as
the dev pointer is no longer valid, causing a uaf on ldisc unregister
(or device close).
Instead, do the cancel_work_sync from the ndo_uninit op, where the dev
still exists, but the queue has stopped.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mctp-serial.c |