CVE-2026-139246: net: hix5hd2: serialize timeout recovery with interface teardown
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 ndostop has disabled NAPI. The second napidisable() 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 unregisternetdev() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel hix5hd2 driver, serialize timeout recovery with interface teardown: after unregister_netdev() stops the watchdog, drain the worker before releasing MDIO and descriptor resources; have the worker take RTNL and skip recovery if the interface is no longer running; use the netdev core close and open helpers for recovery.