Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 DE68C3659FD for ; Wed, 24 Jun 2026 07:15:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782285336; cv=none; b=YZitM+RBXrdQ/kWH+mEAloqnex78Oa84k6AkSFiauPJjzbCVNMj/JEezhFUI9+Ai7QH2lpW2FWSN3qm7SvT8OxMfCS3zDdk6+ZKUAt8Wo72j6R8nhzOjDzhHMQ5bZolt3koJU9fEJ3ob4KQ3DFWSB7R9PZLTGDnO8YW6ToB6uyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782285336; c=relaxed/simple; bh=f/IDILyAdDW+IUCfpT2YnCLXiIL6lHPGawnKQDnioPY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bw+4RwTuPalwJeemiw1pjuS2CHWsoFNXo5wTk4MooKNLxA86NAeI5yCy5juKlG3vykB48oG/Ig8XANW7+c86+26hjdu5RxX6ixl4FLDU+zRHqW2f5s6aHVTJMPgMnGssYGKoy+zRsFXRht8+3XMJgGlGr1zZV/eM3wf6WbDWpRw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f3dF38Wy; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="f3dF38Wy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E84F01F000E9; Wed, 24 Jun 2026 07:15:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782285335; bh=DR1M9O6x1aLJ5G/9VyYwslNM3qphdJJ30OCAO1uwJWg=; h=From:To:Cc:Subject:Date:Reply-To; b=f3dF38WyMvYuUH/Nr5q+6UKxOrqjF57xKxwuUtLPnAQyOngrh/kOvRF7uShKL+zOE zCYxxaF7W+V/1rfdT5jXtx1AW8swwt8ogdKzPEjngsw6Ti7gbpGGAgmoT1/sEotEJL tUbcOlyxvTi4Aznex85H3Xmo7jBS45NeCBrSj4pw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52933: io_uring/poll: fix signed comparison in io_poll_get_ownership() Date: Wed, 24 Jun 2026 09:13:48 +0200 Message-ID: <2026062433-CVE-2026-52933-815c@gregkh> X-Mailer: git-send-email 2.54.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=3444; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dZubHLcuou5um+xliH7VLDT8bXWmiVXEVzJYOLZSn6o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnWzXP/CUi/+eWmo6auHJlj5bXKz6no75EZjqd8xUt+v dh47/P7jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIfCrDglX2AjM4t6XeP6/2 kLu14GRXpJFHEcNcmb31p9fpMTObHnsuJX3+1IIJqZNjAA== 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: fix signed comparison in io_poll_get_ownership() io_poll_get_ownership() uses a signed comparison to check whether poll_refs has reached the threshold for the slowpath: if (unlikely(atomic_read(&req->poll_refs) >= IO_POLL_REF_BIAS)) atomic_read() returns int (signed). When IO_POLL_CANCEL_FLAG (BIT(31)) is set in poll_refs, the value becomes negative in signed arithmetic, so the >= 128 comparison always evaluates to false and the slowpath is never taken. Fix this by casting the atomic_read() result to unsigned int before the comparison, so that the cancel flag is treated as a large positive value and correctly triggers the slowpath. The Linux kernel CVE team has assigned CVE-2026-52933 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit a26a35e9019fd70bf3cf647dcfdae87abc7bacea and fixed in 6.1.175 with commit 81bf96b0abbfa4cd47ea32e12596aed3855fb2f3 Issue introduced in 6.1 with commit a26a35e9019fd70bf3cf647dcfdae87abc7bacea and fixed in 6.6.140 with commit cf522703d4f194991615763697ae25a3f9539763 Issue introduced in 6.1 with commit a26a35e9019fd70bf3cf647dcfdae87abc7bacea and fixed in 6.12.86 with commit fc47043f3d9af3efa407665b47f8378ec691ba18 Issue introduced in 6.1 with commit a26a35e9019fd70bf3cf647dcfdae87abc7bacea and fixed in 6.18.27 with commit ea0697129807d718037f618221037aa0660ee3c5 Issue introduced in 6.1 with commit a26a35e9019fd70bf3cf647dcfdae87abc7bacea and fixed in 7.0.4 with commit c6d191164dc81838d8dbf452a6000f68c558d1ae Issue introduced in 6.1 with commit a26a35e9019fd70bf3cf647dcfdae87abc7bacea and fixed in 7.1 with commit 326941b22806cbf2df1fbfe902b7908b368cce42 Issue introduced in 5.15.82 with commit 4b702b7d11ce1b9d26fc6d7c5a7ef4ac1d455048 Issue introduced in 6.0.11 with commit bc4e6ee16778149811333a969a7a893d4cc110c5 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-52933 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/81bf96b0abbfa4cd47ea32e12596aed3855fb2f3 https://git.kernel.org/stable/c/cf522703d4f194991615763697ae25a3f9539763 https://git.kernel.org/stable/c/fc47043f3d9af3efa407665b47f8378ec691ba18 https://git.kernel.org/stable/c/ea0697129807d718037f618221037aa0660ee3c5 https://git.kernel.org/stable/c/c6d191164dc81838d8dbf452a6000f68c558d1ae https://git.kernel.org/stable/c/326941b22806cbf2df1fbfe902b7908b368cce42