Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C75DC32F767 for ; Mon, 5 Jan 2026 09:33:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767605590; cv=none; b=Lyu6hLooMcpKxANp6ZN31ian//6C0aYcBC9jju208K1pZRarH5PSZF1KxCATzXr3a+NoFI+281gQB8MGIV7SyTmpIqRMqZUscyTPFC3TSRszSU9W7dbkIJ90AhPYc/+Ulofe0BLiog7EsBQtVXZtiSuXUER4564mrRtkFAJPYys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767605590; c=relaxed/simple; bh=rcyGEy3egoJrMpogNQB9XRhBrS8pc+vgxw4s1b0lL9c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gWaPRAfAsi+nYPuY7aSc+6Tuc9Fw41dBqv6zdw1rjJz++WcxC38XbSOlQ/TAAwHTUEQNoUQNVOn9iZxpGpUud2lTBrGrd+UAY90zJs5SiWCB1FDqaT34T5BaKhknCXKkNcN3UJJa7YelumrxgwbKiBYJ5xOw9H+7VDCq2bPoEuY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pWgR2vX8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pWgR2vX8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68F2DC116D0; Mon, 5 Jan 2026 09:33:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767605589; bh=rcyGEy3egoJrMpogNQB9XRhBrS8pc+vgxw4s1b0lL9c=; h=From:To:Cc:Subject:Date:Reply-To:From; b=pWgR2vX8qorhsGReExqFyjpcI7WWY6oVuRf53IPKPkmrwsBvX52neM2Qs3fiD168k e5pu6+rb4t49PAar8g6RY+25ohDLei4LjKWr/kPGuQyJvVrPhYleEIn7C0ShcZmkf/ Sf8RZW+55x3f/FJdNUbbM4sURMfWtcV56/1NJxEY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68762: net: netpoll: initialize work queue before error checks Date: Mon, 5 Jan 2026 10:32:58 +0100 Message-ID: <2026010551-CVE-2025-68762-8b05@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2717; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+tPJHne7ZMhRuSFfirsUQvSdX1X3iAGxwTpiMezSMJU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnRrS6zps2ckZdnveMfk9tOZ7b3Du7KCx31S/8/WfXpa ZXCdgvNjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI0kMMcyXNSjsMfFZILS3U W5I2Q67GuWePIMP8GL9bZ/eu2lCteDDrW9b1NTrfth24DAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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 IFF_DISABLE_NETPOLL flag. The warning (at kernel/workqueue.c:4242 in __flush_work) occurs because the cleanup path tries to cancel an uninitialized work queue. When __netpoll_setup() encounters a device with IFF_DISABLE_NETPOLL, it fails early and calls skb_pool_flush() for cleanup. This function calls cancel_work_sync(&np->refill_wq), but refill_wq hasn't been initialized yet, triggering the warning. Move INIT_WORK() 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. The Linux kernel CVE team has assigned CVE-2025-68762 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 248f6571fd4c51531f7f8f07f186f7ae98a50afc and fixed in 6.17.13 with commit a90d0dc38a10347078cca60e7495ad0648838f18 Issue introduced in 6.15 with commit 248f6571fd4c51531f7f8f07f186f7ae98a50afc and fixed in 6.18.2 with commit 760bc6ceda8e2c273c0e2018ad2595967c3dd308 Issue introduced in 6.15 with commit 248f6571fd4c51531f7f8f07f186f7ae98a50afc and fixed in 6.19-rc1 with commit e5235eb6cfe02a51256013a78f7b28779a7740d5 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-68762 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/core/netpoll.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/a90d0dc38a10347078cca60e7495ad0648838f18 https://git.kernel.org/stable/c/760bc6ceda8e2c273c0e2018ad2595967c3dd308 https://git.kernel.org/stable/c/e5235eb6cfe02a51256013a78f7b28779a7740d5