{"id":"CVE-2025-68762","aliases":["CVE-2025-68762"],"related":[],"kind":"vulnerability","state":"published","title":"net: netpoll: initialize work queue before error checks","summary":"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->refill_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->refill_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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: netpoll: inicializar cola de trabajo antes de las comprobaciones de errores\n\nPrevenir una advertencia del kernel cuando la configuración de netconsole falla en dispositivos con la bandera IFF_DISABLE_NETPOLL. La advertencia (en kernel/workqueue.c:4242 en __flush_work) ocurre porque la ruta de limpieza intenta cancelar una cola de trabajo no inicializada.\n\nCuando __netpoll_setup() encuentra un dispositivo con IFF_DISABLE_NETPOLL, falla tempranamente y llama a skb_pool_flush() para la limpieza. Esta función llama a cancel_work_sync(&np  ->  refill_wq), pero refill_wq aún no ha sido inicializada, lo que desencadena la advertencia.\n\nMover INIT_WORK() al principio de __netpoll_setup(), asegurando que la cola de trabajo esté correctamente inicializada antes de cualquier punto de fallo potencial. Esto permite a la ruta de limpieza cancelar de forma segura la cola de trabajo independientemente de dónde falle la configuración.","source":"nvd"}],"published":"2026-01-05T09:32:34.743Z","modified":"2026-10-14T19:10:00.297Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"248f6571fd4c51531f7f8f07f186f7ae98a50afc","fixed":"a90d0dc38a10347078cca60e7495ad0648838f18","status":"affected"},{"type":"git","introduced":"248f6571fd4c51531f7f8f07f186f7ae98a50afc","fixed":"760bc6ceda8e2c273c0e2018ad2595967c3dd308","status":"affected"},{"type":"git","introduced":"248f6571fd4c51531f7f8f07f186f7ae98a50afc","fixed":"e5235eb6cfe02a51256013a78f7b28779a7740d5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a90d0dc38a10347078cca60e7495ad0648838f18","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/760bc6ceda8e2c273c0e2018ad2595967c3dd308","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5235eb6cfe02a51256013a78f7b28779a7740d5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68762","url":"https://www.cve.org/CVERecord?id=CVE-2025-68762","licence":"CVE Terms of Use","modified":"2026-05-11T21:52:51.655Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68762","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68762","licence":"Public domain","modified":"2026-10-14T19:10:00.297Z"}],"updatedAt":"2026-11-25T22:59:10.267Z","epss":{"score":0.00184,"percentile":0.08388,"date":"2026-12-01T12:00:22.000Z"}}