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=1793635456; b=x9wiqjgAoNhAfzzhcvmo/7nPo3OtfzNI7JTklfQASLIDyDl8ic4+hIofvCripAMTmS/8 /cpPzCV1Dsx+JXt/ERY2MPJQk7xfMRuYPVRbmkFkl1MlH+qNi9SKveT0QoUxCqTYVshfK 3WUQovx6vlVhTwJ/m8w+fURn7xLYK4AT6Jgy16wX7nx0P8vWb8LAeWVhtugBKZTw4qGXs OuwAIWqbj5p2C99/GCsIndcteaAUaNNiI9U+4rI5xWeigHP9tPKMbfYYCrndw8XP0Xdvg O0ku/EnugeBhKIllstpRMRQ4WFTwdazs0pFsSATDAffO84JW/4PMpzfnj1DheV9Wl9A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793635456; 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=/zdFYbmh/IlLp2joiGatT/sLkSZOqdRaaA3d18kdRXU=; b=JYb7x8u3pF9PsH38gmXWulDvzC/niXVGhzYkeZwKCkjARYCjkCzevdwo/HRIpeomKtbH CcMQfSrG7R3v1I42ViDWG2e8PAXhl2IhaQE9QzvU55hJUV7ku1eZ1P6BlCtngWTXp3WnJ x164Jx0XMftio2eQAYTkswmihPnIvAxmu3EOw740HMtQ0tQbRltMydA9OvyqYAOf/KeFk 7hwkKqYrmK2oyfN9tPVMX83+0u7+Tms50N0o3Jo/BBvYTlrgtzplsSitTVHwkgl3UkEIB J5mDJY1rX74m44jXwsz15MOksMg1DEJfosQd4KYiyJfC3Iv65uYJqsWcXfT7siaLA5g== 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=khTZLCqW; 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 C218E606A904 for ; Mon, 2 Nov 2026 16:04:15 +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=khTZLCqW Received: by smtp.kernel.org (Postfix) with ESMTPSA id 275DB1F00A1F; Mon, 2 Nov 2026 16:04:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793635455; bh=/zdFYbmh/IlLp2joiGatT/sLkSZOqdRaaA3d18kdRXU=; h=From:To:Cc:Subject:Date:Reply-To; b=khTZLCqWMr3k00X1i4ne8qUvaxPysl9Qiqg3Wj0jdhvb6MCB73VuLSlVIbzITslai 9+5bOlkqEY5OJ4qdnT+c87/vFxPSUwON7jpdrc7Iiw9MxuRAO64tAeVBAwmkankIWg MTLeQhfAIl4poGQS45ceXPfi4ekB3imtGQOYm42Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99228: io_uring/io-wq: don't lose the signal that ends work Date: Mon, 2 Nov 2026 17:04:11 +0100 Message-ID: <2026110205-CVE-2026-99228-1a22@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=4323; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VsPyvNoFfslAaHgrxbLeV1jaxvVIDTE52aiuVlTJcpM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvtpTe2+n5TNBllwu7gFGW8gtpbU6fI4zv1FseCKS45 23yuf66I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbi7sMwz3hmpHSL342fTxka lmd5KAmcOaX4lGF+FfvWXZ9ttB6p3Fl96Mn+WQVMrnzvAQ== 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: io_uring/io-wq: don't lose the signal that ends work When a thread exits, only its tracked requests are cancelled. Then its io-wq is torn down. io_wq_exit_workers() signals every worker, to get it out of an interruptible sleep, and waits for all of them to exit. Before they do, they go through the work that is left. Unbounded work is cancelled. Bounded work is run, as it is expected to end by itself. Not all of it does. An open has no file yet, so it counts as bounded, and the open of a FIFO waits for the other end. That is what the signal is for. But the workers are signalled once, and a worker that hasn't started the work by then loses the signal: io_wq_exit_workers() io_worker_handle_work() io_wq_worker_wake() set TIF_NOTIFY_SIGNAL io_assign_current_work() io_run_task_work() clear TIF_NOTIFY_SIGNAL io_wq_submit_work() fifo_open() wait_for_partner() wait_for_completion_timeout() The thread never gets out of do_exit(): IORING_OP_OPENAT of a FIFO without a writer, IOSQE_ASYNC exit of the thread that has submitted it hangs in more than 9 of 10 attempts (4 CPUs, KVM), until the process is killed. Set TIF_NOTIFY_SIGNAL for bounded work that is started with IO_WQ_BIT_EXIT set. The bit is set before the workers are signalled, and it is tested after the flag has been cleared, with clear_notify_signal() providing the barrier. So either the flag stays, or the bit is seen. Work that is started while the io-wq exits is treated like work that is being run at that time: it isn't interrupted unless it waits interruptibly. The Linux kernel CVE team has assigned CVE-2026-99228 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit afcc4015d1bf5659b8c722aff679e9b8c41ee156 and fixed in 6.1.191 with commit ddccc60f036b309430cf130d48aafed94ef7355a Issue introduced in 5.12 with commit afcc4015d1bf5659b8c722aff679e9b8c41ee156 and fixed in 6.6.161 with commit 08c42055b8f9a5d29236d34ad4bce08828239fe1 Issue introduced in 5.12 with commit afcc4015d1bf5659b8c722aff679e9b8c41ee156 and fixed in 6.12.115 with commit 62996803c1b5f18176de255db4c843021f2d19c8 Issue introduced in 5.12 with commit afcc4015d1bf5659b8c722aff679e9b8c41ee156 and fixed in 6.18.60 with commit 7309fea05a3d66af9746843c43fef14c10b8141e Issue introduced in 5.12 with commit afcc4015d1bf5659b8c722aff679e9b8c41ee156 and fixed in 7.2.14 with commit fdb771015c1e13677b57a4015f0c938748f13781 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-99228 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: io_uring/io-wq.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/ddccc60f036b309430cf130d48aafed94ef7355a https://git.kernel.org/stable/c/08c42055b8f9a5d29236d34ad4bce08828239fe1 https://git.kernel.org/stable/c/62996803c1b5f18176de255db4c843021f2d19c8 https://git.kernel.org/stable/c/7309fea05a3d66af9746843c43fef14c10b8141e https://git.kernel.org/stable/c/fdb771015c1e13677b57a4015f0c938748f13781 https://git.kernel.org/stable/c/63c103279a95e82280092f2f4232e91e8117a252