Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759501; b=YEWnmvummSRS8hpAXl6Q8rvfSvJqxfCmmWtQ+BBCpBUBv2FaJtGLJf6PL3SguZrasrFF Z7lEjhcHfbicOH8TQY2T12f32aDReq5FfMvYYVbczWZewL9v1idc6/QlsOfD4NeNKYMmq 31/iToBKExPtPmXCisMy2FvDVF7+kZb5mfJm8le5kKl7aQJ/oegIe/7LVVdBYhycmivU6 ei5RsZUTR2GECqgZv2ObCs+XE0LtxqMlL6PP6OCxYuuRk7IRPlEbRZfdMIakGvkrBhZm/ JW7XzkvJr6KdWBhJNhXmBVCZUffOuE4mRaae+C2it3DVhbHvt7wJWpqFg+RRE5JJshQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759501; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=55kOj3hX4bhNn2bANd45FHMYqEm3SyIjffJxxSjUZts=; b=VMCYPY1hOO/DXP4XWrHv2eLgNNDLETz2UPC6ibKkkYsmq0F/KLpOhnO63Q6mAC/XzrVY 5UibIxoI+eCyX6ckwxAe+B7NNCeYEKmrEPViQq4XTaJ2ZBvd9JSG5s9BLYNKu/UdFzF9a FZSJbWgYms7bXAHHDMnY2OviGjQOk8HExfrkbpH+KIhstExzunIZflUCz2xC4Sal3/iw2 qJDgFlNM6gHkJHVyeNEvHluhNDi3mWTd+s8L8p3QIqO6RisktjZi3B+zBD/O+1ti7MOyZ uyzZY8QHj+OrWfJuAP/Grigy2xbYcX16XlbQ5apIQbiPe8z4+c/UpvDO69aCvTbpvfw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=F0ToOVHt; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40142606A326 for ; Fri, 23 Oct 2026 12:45:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=F0ToOVHt Received: by smtp.kernel.org (Postfix) with ESMTPSA id 584611F01825; Fri, 23 Oct 2026 12:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759501; bh=55kOj3hX4bhNn2bANd45FHMYqEm3SyIjffJxxSjUZts=; h=From:To:Cc:Subject:Date:Reply-To; b=F0ToOVHtJp5RIZmW25WBp7TA+FoGUCmm1/mT/uJlrkNGIPggSk5g3jABkdM2A/OTo wt0Vcn94gxskhMHdaWsmdU07ZT2mIYs6vDW4XnGgpDUtG1Z4hNLeqmRsTIFTdr4qNj ipxRCV0o36TXUaVTHDG72EuEJnMWwpUdVKyr8t/E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99058: workqueue: Fix NULL current_pwq deref in chained work check Date: Fri, 23 Oct 2026 14:21:00 +0200 Message-ID: <2026102330-CVE-2026-99058-dee6@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3191; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5BOXeM1EHKs4HxlserRUwuV9W2a/wft2xBDqpoc2r9o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3Ay53fPP2VD2/1DFrT6T+1UeHj3xw0sw+Hbz15+2MC W+ZStMDOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAioSIM8/S1vzgpBE+PvRC7 vzTY/CLzh8hFaQzzYz9Lm+lpf5KK/s6n9XSRkMbHubt8AQ== 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: workqueue: Fix NULL current_pwq deref in chained work check current_wq_worker() only tells us that %current is a kworker. It does not guarantee that the worker is currently executing a work item, as worker->current_pwq is populated only while process_one_work() is running the work function. is_chained_work() can be reached while queueing on a draining or destroying workqueue. If a kworker outside work-item execution reaches that path, current_wq_worker() returns a worker but worker->current_pwq is NULL, and the chained-work test can fault before it emits the intended warning. Guard the chained-work test with worker->current_pwq. A kworker without current_pwq is not executing work on the target workqueue, so the helper should return false and let the draining/destroying warning fire. The Linux kernel CVE team has assigned CVE-2026-99058 to this issue. Affected and fixed versions =========================== Issue introduced in 3.9 with commit 8d03ecfe471802d6afe97da97722b6924533aa82 and fixed in 6.6.160 with commit 3dc61af2998cfc7312d6e59bbdcd5eed074483f2 Issue introduced in 3.9 with commit 8d03ecfe471802d6afe97da97722b6924533aa82 and fixed in 6.12.113 with commit 729d576df89c7e4341e58c452f8890620a610ac2 Issue introduced in 3.9 with commit 8d03ecfe471802d6afe97da97722b6924533aa82 and fixed in 6.18.57 with commit b12a25fb2b9d5dac80e419d695450cc17a51fdfd Issue introduced in 3.9 with commit 8d03ecfe471802d6afe97da97722b6924533aa82 and fixed in 7.2.11 with commit 1a2668682e998039a027796b236319b380078a6a Issue introduced in 3.9 with commit 8d03ecfe471802d6afe97da97722b6924533aa82 and fixed in 7.3 with commit 980db94e3eeefdd8a1c46f86412c33a7f7806f51 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-2026-99058 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: kernel/workqueue.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/3dc61af2998cfc7312d6e59bbdcd5eed074483f2 https://git.kernel.org/stable/c/729d576df89c7e4341e58c452f8890620a610ac2 https://git.kernel.org/stable/c/b12a25fb2b9d5dac80e419d695450cc17a51fdfd https://git.kernel.org/stable/c/1a2668682e998039a027796b236319b380078a6a https://git.kernel.org/stable/c/980db94e3eeefdd8a1c46f86412c33a7f7806f51