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=1793705169; b=x55WGmrW7Q4qY+LxU8p2HIQkp4Hmg+3oJ6mO2g5J4DLskOic2OoztvGAKjTxFuh8dAK9 ycs1aU7l36EIXR/Va6ObtbcPSqXwiiHMp+TdL2Ua12Ze8F+J9fKGkRr/OWYN92lMX48pJ 0ns7L75IXGFJ5yipnW4rtmizGqkSQ+Ae9A33Ux7i6zyBXeGV/6QQJEIWFT7wNONZOXNGK pybtD26/gDfHxPwZgkWuc4UjWmsr3NYiXaFN7nViWcV05oKt3lWQK8trC5DmHY31OjMXm 8MSkRX9RGDGyCFRq5DcHr1XVifM3JXro8Nj7jNS40lbptez6Oaa2KPRv47atCqJzjFw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793705169; 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=m//eGOoecwlJIwzTUguHzLXaaDSa3+em4yN2NwbSLDk=; b=SUVKDj85nYjkt1yIv4FEtJSmdhz8TLNLN30nE7WkpnFvPrC5X5TJiXKYC+WJhahzpAEE qOCVTQBAmIGAztEAPQv/1r9y5bsHL1NBDqhlwWauPfOQYLEuPSfOeIaWNtiph4qnWphfY BCRWdrZCzKUdUKGFTvXlb7NE5Z2Qpw3kcuZ28cnAj4Zx6OtQdAZXaLEakgzL0m8ed/QYR ipkoMZKC4heqlS5nYHFs9aAfY5pSxurLoLY7Get9aRz8L/+6JmS4N82Gucp6iElKvSCYS 5M+9yu/XkFaZW7RNgNAn27uJBh04ghOOPLsCMBdaGSN0J3bQCg8QJUT9y9wuuWE09Tw== 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=GoAp4shz; 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 B09A7606B118 for ; Tue, 3 Nov 2026 11:26:08 +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=GoAp4shz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C31F1F00A1B; Tue, 3 Nov 2026 11:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793705168; bh=m//eGOoecwlJIwzTUguHzLXaaDSa3+em4yN2NwbSLDk=; h=From:To:Cc:Subject:Date:Reply-To; b=GoAp4shzL+6K5YxtVk8/C7mmrVA0MaoLVKGxhPEE+hSWtSaVUpfegi8sENRHnlIcg SmR0ExFo0sYo0Wydrzjw5khrg8MuyAl7DMtvsn8kO10R32PC4Es+JEXhO4rlniOGIS e7Hitsrv/yfOjIBY79hg8LZvopJNgHPZ3WwS3NcI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99252: io_uring/mpscq: disable preemption while pushing Date: Tue, 3 Nov 2026 12:20:17 +0100 Message-ID: <2026110316-CVE-2026-99252-fcf8@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=3289; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=x5ixzvlbw7J/NTGuDjCBJnaQjHJ1635FebCarwxRLuk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvDxcYvRKc2njeN1iM65XW/X2HrLqcEzeeSt77h0Fl2 n9lRe62jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIix3DHN5vDr8WNqt9z1n7 +J7kubUFck6duxnmJ4RFBW/4bviibKeN/vPVSSYbp9n+AgA= 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/mpscq: disable preemption while pushing A push makes the node the new tail, and then links it to its predecessor. In between the queue isn't empty, but mpscq_pop() can't get at the node. The consumers deal with that by trying again, with a cond_resched() in the loop to give a preempted producer the chance to finish. cond_resched() doesn't do that if the consumer has a higher priority than the producer and both have to use the same CPU: producer (SCHED_OTHER) consumer (SCHED_FIFO), same CPU io_req_local_work_add() mpscq_push() prev = xchg(&q->tail, node) io_cqring_wait() __io_run_local_work() again: cond_resched() // nothing to do mpscq_pop() // NULL // work pending, no events yet goto again The producer can be any task that is able to queue task_work for the ring: an io-wq worker, or somebody who sends a message with IORING_OP_MSG_RING. The consumer spins, holding ->uring_lock, until the scheduler takes pity on the fair class, which takes about a second with the default settings of the fair server, and forever without it. The loops in tctx_task_work_run() and io_cancel_local_task_work() have the same problem. Don't allow preemption between the two steps. That bounds the time the window is open on the CPU of the producer by what interrupts take, and a consumer that waits for that is on another CPU. The cost is a preempt_disable()/preempt_enable() pair per push. The Linux kernel CVE team has assigned CVE-2026-99252 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit 50cb44bd0d5f243919a06b17b1d979fdcd72cb2b and fixed in 7.2.14 with commit 8c94677e2b6145393d4c129fe0f5364b0e5000a5 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-99252 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/mpscq.h 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/8c94677e2b6145393d4c129fe0f5364b0e5000a5 https://git.kernel.org/stable/c/68a95c3968895cd198f42baadb23e635fecc5a66