In the Linux kernel, the following vulnerability has been resolved:
net: netpoll: initialize work queue before error checks
Prevent a kernel warning when netconsole setup fails on devices with IFFDISABLENETPOLL flag. The warning (at kernel/workqueue.c:4242 in _flushwork) occurs because the cleanup path tries to cancel an uninitialized work queue.
When _netpollsetup() encounters a device with IFFDISABLENETPOLL, it fails early and calls skbpoolflush() for cleanup. This function calls cancelworksync(&np->refillwq), but refillwq hasn't been initialized yet, triggering the warning.
Move INITWORK() to the beginning of _netpoll_setup(), ensuring the work queue is properly initialized before any potential failure points. This allows the cleanup path to safely cancel the work queue regardless of where the setup fails.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68762.json"
}