{"id":"CVE-2025-68762","summary":"net: netpoll: initialize work queue before error checks","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: netpoll: initialize work queue before error checks\n\nPrevent a kernel warning when netconsole setup fails on devices with\nIFF_DISABLE_NETPOLL flag. The warning (at kernel/workqueue.c:4242 in\n__flush_work) occurs because the cleanup path tries to cancel an\nuninitialized work queue.\n\nWhen __netpoll_setup() encounters a device with IFF_DISABLE_NETPOLL,\nit fails early and calls skb_pool_flush() for cleanup. This function\ncalls cancel_work_sync(&np-\u003erefill_wq), but refill_wq hasn't been\ninitialized yet, triggering the warning.\n\nMove INIT_WORK() to the beginning of __netpoll_setup(), ensuring the\nwork queue is properly initialized before any potential failure points.\nThis allows the cleanup path to safely cancel the work queue regardless\nof where the setup fails.","modified":"2026-04-02T13:03:47.132748Z","published":"2026-01-05T09:32:34.743Z","related":["openSUSE-SU-2026:10039-1","openSUSE-SU-2026:10301-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68762.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/760bc6ceda8e2c273c0e2018ad2595967c3dd308"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a90d0dc38a10347078cca60e7495ad0648838f18"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5235eb6cfe02a51256013a78f7b28779a7740d5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68762.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68762"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"248f6571fd4c51531f7f8f07f186f7ae98a50afc"},{"fixed":"a90d0dc38a10347078cca60e7495ad0648838f18"},{"fixed":"760bc6ceda8e2c273c0e2018ad2595967c3dd308"},{"fixed":"e5235eb6cfe02a51256013a78f7b28779a7740d5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68762.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.17.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68762.json"}}],"schema_version":"1.7.5"}