CVE-2025-68762
Description
In the Linux kernel, the following vulnerability has been resolved:net: netpoll: initialize work queue before error checksPrevent a kernel warning when netconsole setup fails on devices withIFF_DISABLE_NETPOLL flag. The warning (at kernel/workqueue.c:4242 in__flush_work) occurs because the cleanup path tries to cancel anuninitialized work queue.When __netpoll_setup() encounters a device with IFF_DISABLE_NETPOLL,it fails early and calls skb_pool_flush() for cleanup. This functioncalls cancel_work_sync(&np->refill_wq), but refill_wq hasnt beeninitialized yet, triggering the warning.Move INIT_WORK() to the beginning of __netpoll_setup(), ensuring thework queue is properly initialized before any potential failure points.This allows the cleanup path to safely cancel the work queue regardlessof where the setup fails.
Risk Information
Associated Vulnerability
No records foundPatch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234