In the Linux kernel, the following vulnerability has been resolved: net: hix5hd2: serialize timeout recovery with interface teardown The timeout worker calls the driver's close and open methods without RTNL or a running-state check. A timeout queued before an interface is closed can call close again after ndo_stop has disabled NAPI. The second napi_disable() can then wait indefinitely. The worker can also race with an ongoing close. Take RTNL and skip recovery when the interface is no longer running. Use the netdev core close and open helpers so a failed reopen leaves the interface down, rather than leaving it marked running with NAPI disabled. After unregister_netdev() has stopped the watchdog, drain the worker before releasing its MDIO and descriptor resources. This wait is outside RTNL, allowing an already queued worker to take RTNL, observe the down state, and finish. This issue was identified as part of our ongoing research while reviewing kernel code.
https://git.kernel.org/stable/c/d0b44156849f275f9de13423935b2bb598ee24fc
https://git.kernel.org/stable/c/ac813b0c73b7f884fbbad9dd40c1487d7a5935dd
https://git.kernel.org/stable/c/87cce46329a811ea3fe108ac721e0a2400d0a3bb
https://git.kernel.org/stable/c/423a53b78b0b765b5889b39111725b058b6faaf1
https://git.kernel.org/stable/c/41e61bcb20b071d3e521ee3e85ef3044cd12f857
https://git.kernel.org/stable/c/3d53e78465916db13a3bc1a976b72d7a2478098f
https://git.kernel.org/stable/c/1e3669c0b8cf6f0128ca987785efa3718feb2a88
https://git.kernel.org/stable/c/16b3c603817a782e756f249f4a9c4449ac1ed35d