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=1793706609; b=KoV7JRfLuxqmhMVtZa/ZcKtczH6AYE/A4Nbnja2eRZwQeHDoTFqYyJuNJSnJOFoKBhob EH/bz3IleAtMDvlz+3bTP4YqyDNX9dxUPnoO2xxl4h/Z3gpSl1MKUYieJIzhrBacYZ7/p tn0pqWxqouSmbng4WfSTnYsA8T2YaIkZ077DYTo7ODrECZRbcBaggXLl01xVeB001hxmi 5tpUnjxx1Mkct0yWfAoEorFVCetJJuEamguHJ/F4vf14UtAfYS9EJjAfjh9bzjq6rp+/u IPNGvDIsCluuyHxS46PomwHhP7yhGfecqXKipTphniAn/KPTPuZ39HVp2rV9bEinkJw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793706609; 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=iqUWsA5N766OKvjcNmmapyj/2mf5bFLXGDLBhNluHyc=; b=fZy/2u9IXRLTbBSgoa45Nr1oINgkzIGPlZtbi7Rm7SAX4rI47xVZkmAJ04w5d5swyjMQ 7Y+/2at5t4w/8fqcfkDgL1hkZ9CNStEMTv+QP/r7EWlR/dXHNxbK28eWYIh5dM9wLpMe3 gN1DKur4ct3qMgPLynEaa4vxHIit8fCgTKGk3e9Bu0dMbWIW+dzl97Ke28+DfUanRgXFb AsFiOJOlmg20rk4XpyL163jQkdosk3/dEUTzhq7ufBkCwwBYMEULKaaI/4LD4mVRYWz05 cy4C/dFTW6JfBZAJXgcPpo0E02A90FTVNS43fDgtyZv6ZHqBVlVa8NACmuy9Gug7tLA== 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=tpto8Ve1; 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 8CCD7606EE89 for ; Tue, 3 Nov 2026 11:50:09 +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=tpto8Ve1 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E89B81F00A23; Tue, 3 Nov 2026 11:50:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793706609; bh=iqUWsA5N766OKvjcNmmapyj/2mf5bFLXGDLBhNluHyc=; h=From:To:Cc:Subject:Date:Reply-To; b=tpto8Ve1R8dDRc119l1Ip/l0w63ts0bjOlusbEj719hlpsA5IZVqlnfoOjJeGAJ5k Et5J4ONG15HvUOAhIeSyA0ddb1UnGv6Bj8PKNXiCKrViiNWS64uMoNNOd4equNWrTc c/IVDcq2TNyO5OQTMRscMGe2tg6NcYB/2YTHhRhU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99268: io_uring: wake ring pollers for local task_work Date: Tue, 3 Nov 2026 12:48:28 +0100 Message-ID: <2026110325-CVE-2026-99268-51cd@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=3680; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cSQEk1are54kSdAxPbWgFaLazSfLzhLx/vgXhJvN6V0=; b=kA0DAAIRMUfUDdst+ykByyZiAGrpygmjx2yJZ6YERsRhQDgR+ueI4RYK79VuGqH755AMNeQ1O ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmrpygkACgkQMUfUDdst+ynJ+gCgmTCr AXb63wVUjZJK099jhPaqmOUAoI/j3EZeVkaSpekbQCMS4ZNS+qoH 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: wake ring pollers for local task_work With IORING_SETUP_DEFER_TASKRUN completions are queued as local work, and only become CQEs when the submitter enters the kernel to wait for events. For an application that finds out via poll() or epoll on the ring fd when it is time to do that, io_uring_poll() reports EPOLLIN if local work is pending. That only helps if the work is there at the time of the call. When DEFER_TASKRUN was added, io_req_local_work_add() did io_cqring_wake(), which took care of tasks sleeping in poll() as well. Then polling got a wait queue of its own, ->poll_wq, and the wake up in io_req_local_work_add() was replaced by waking the submitter directly. Since then ->poll_wq is only woken when CQEs are committed, which for such a ring is done by the very task that is waiting to be told to: submitter completion poll(ring_fd) io_uring_poll() // nothing yet schedule() io_req_local_work_add() // ->cq_wait_nr: nobody waits // sleeps on Wake ->poll_wq when the first entry is put on the work list. Like for the eventfd, that must not be done right away if the work is queued from a wake up handler, as the chain of wake ups could get back to the wait queue whose lock is held. Use an RCU callback in that case, with a reference to the ring. The Linux kernel CVE team has assigned CVE-2026-99268 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 130bd686d9be918e4cc8c03abf5794ba2d860502 and fixed in 6.6.161 with commit 9bb28e7740ce78beecafc5db074b45f4cbeb8a47 Issue introduced in 6.3 with commit 130bd686d9be918e4cc8c03abf5794ba2d860502 and fixed in 6.12.115 with commit d8c618747a6aa90022e19ec614aa7157d0302108 Issue introduced in 6.3 with commit 130bd686d9be918e4cc8c03abf5794ba2d860502 and fixed in 6.18.60 with commit 2c88d978f1dfd03edf67924ea8fd25cc45499eef Issue introduced in 6.3 with commit 130bd686d9be918e4cc8c03abf5794ba2d860502 and fixed in 7.2.14 with commit 92bfadcbe0a9a001beb5e58a2abaf040b873deb6 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-99268 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: include/linux/io_uring_types.h io_uring/tw.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/9bb28e7740ce78beecafc5db074b45f4cbeb8a47 https://git.kernel.org/stable/c/d8c618747a6aa90022e19ec614aa7157d0302108 https://git.kernel.org/stable/c/2c88d978f1dfd03edf67924ea8fd25cc45499eef https://git.kernel.org/stable/c/92bfadcbe0a9a001beb5e58a2abaf040b873deb6 https://git.kernel.org/stable/c/b88902d8745a701d24275d012f0830e3628e2a22