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 684601662E7 for ; Fri, 23 Jan 2026 14:15:45 +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=1769177745; cv=none; b=A8Oy6cV1IlIZTAt0SIkJzFc1z1EHBEj214aP1gQ7pM3qzeA11rF1bM0Na7hA7NhmHWPhWEJ4epQCTlCK2c20jR0D8TNXikohfvzKwkybynFM6D79hMRkXeJ7ScwHp/+vwf47r5OIEfpFAdon7E0lg7hdEQfiTaS4gRe3tHVqIYg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769177745; c=relaxed/simple; bh=uqw1V/3T8AicgxZ/+qqzcs6UXk0qaxk3qsWwxyMobNY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RMxi2roptflowbl74gE5Xlj+1yc4VrSYQ15pGLnXoR2VdzPFxKK6utHBLRfUFTkMSA8q3tK5JUJ1wf+NbR9csjrziKDz4DQtm8wo1yZmoKGy7ELpTReEGRklWRAOIRejB/RSzuZrZ69e1yzR+YRwxV+dbRmv2on3PTrHvat7eP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F9oNxE2s; 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="F9oNxE2s" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9778BC19422; Fri, 23 Jan 2026 14:15:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769177745; bh=uqw1V/3T8AicgxZ/+qqzcs6UXk0qaxk3qsWwxyMobNY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=F9oNxE2sew48yg29lSG9Os+v/KyT7RGz+Qc5RkHfk1HGTmjrMgIIjZDDDO4NOjav0 pTPXkoBF7lUQrlQpOFHYNqyUlwIHgTGfW0YYX1IqJho54GHfpNcCBh7rkuMhruit+w y9xDJKQajaEzwJpVZBSGOJtfU1wiItiFdEaW1/Rc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71149: io_uring/poll: correctly handle io_poll_add() return value on update Date: Fri, 23 Jan 2026 15:15:29 +0100 Message-ID: <2026012328-CVE-2025-71149-c9ee@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=3053; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ai3VreFVJBjTBVrjviOaqrLqExm5Y+cAV6gibHTM2u0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnFTQ3nNlV/yZRLyH6ykfuQVtdk75Wr/k/x1rar8n23W Czi90LDjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI9lKGedaTtX6dlHS6WpK/ P74x63ndtI8CdQwLFu2azhNZJN9w8szWqIvFEcIcKYKbAQ== 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/poll: correctly handle io_poll_add() return value on update When the core of io_uring was updated to handle completions consistently and with fixed return codes, the POLL_REMOVE opcode with updates got slightly broken. If a POLL_ADD is pending and then POLL_REMOVE is used to update the events of that request, if that update causes the POLL_ADD to now trigger, then that completion is lost and a CQE is never posted. Additionally, ensure that if an update does cause an existing POLL_ADD to complete, that the completion value isn't always overwritten with -ECANCELED. For that case, whatever io_poll_add() set the value to should just be retained. The Linux kernel CVE team has assigned CVE-2025-71149 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 97b388d70b53fd7d286ac1b81e5a88bd6af98209 and fixed in 6.1.160 with commit 8b777ab48441b153502772ecfc78c107d4353f29 Issue introduced in 6.0 with commit 97b388d70b53fd7d286ac1b81e5a88bd6af98209 and fixed in 6.6.120 with commit 0126560370ed5217958b85657b590ad25e8b9c00 Issue introduced in 6.0 with commit 97b388d70b53fd7d286ac1b81e5a88bd6af98209 and fixed in 6.12.64 with commit c1669c03bfbc2a9b5ebff4428eecebe734c646fe Issue introduced in 6.0 with commit 97b388d70b53fd7d286ac1b81e5a88bd6af98209 and fixed in 6.18.3 with commit 13a8f7b88c2d40c6b33f6216190478dda95d385f Issue introduced in 6.0 with commit 97b388d70b53fd7d286ac1b81e5a88bd6af98209 and fixed in 6.19-rc1 with commit 84230ad2d2afbf0c44c32967e525c0ad92e26b4e 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-71149 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/poll.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/8b777ab48441b153502772ecfc78c107d4353f29 https://git.kernel.org/stable/c/0126560370ed5217958b85657b590ad25e8b9c00 https://git.kernel.org/stable/c/c1669c03bfbc2a9b5ebff4428eecebe734c646fe https://git.kernel.org/stable/c/13a8f7b88c2d40c6b33f6216190478dda95d385f https://git.kernel.org/stable/c/84230ad2d2afbf0c44c32967e525c0ad92e26b4e