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 2E98223D7DF for ; Fri, 3 Apr 2026 15:26:54 +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=1775230014; cv=none; b=OevJrz68trza5SNxBeBO2GjECxD/Yj9XZSvX6IVYmOD9Y9NM7HTvZdw97myLhiwVH5hANXRaPQc9c6u0EVvl2/Vn4i43Caveszx5N1UGlkutBE2YYD2Kz7GBG1vaRqt8gKId72z9+Q++5r2AUfK24RXUPefEoHo7pbJPbPB5jsM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775230014; c=relaxed/simple; bh=uRJ6ZlDO0/91cBmM8CDZ3eeC5BlpFaK8YkjOs+4fGPQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=n0GvjQSbeFnvSk4JohISeylY0Dmmggoq+XxsgcUno5lG2aQEY4rU+awxtX10CyOiDwW+UodT/3B7mPeFudjN8HXPDKPj+6+xrz85aqr3cQrLqwB23/93R+YyEU/ngLoY/AgeEEMUvqN1FpR2j0MzyJyD3FLN60cvDbLXS6ZXiEA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sTOiUjQL; 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="sTOiUjQL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA0AFC4CEF7; Fri, 3 Apr 2026 15:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775230014; bh=uRJ6ZlDO0/91cBmM8CDZ3eeC5BlpFaK8YkjOs+4fGPQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=sTOiUjQL7ifxRSVZEUPR0LAtTOWn8vyxzGW9eJoweJhdssuZMY+21Tll6WDyZQmt9 NCPAFPZu3B1sTrmNbIXfZwCQ4MoUBxM2g22VQjGka/BJbppdVYTjBOkPhrqdhG2Knb xTptLjyxZP7h/aF3m1+lSIFVcktg0N6E02BOWkjU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23473: io_uring/poll: fix multishot recv missing EOF on wakeup race Date: Fri, 3 Apr 2026 17:18:54 +0200 Message-ID: <2026040323-CVE-2026-23473-ab6c@gregkh> X-Mailer: git-send-email 2.53.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=2780; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MS8fXL7mJ5OCFKTW/KHJxhfQul67ZZpYaih5GnI23zo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnb9nPtm/9umx1l4F8z/0fMbc+7GHiqmS9+STTOd2H6 ffxrw0TO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAipjoMC5qW7eO2NpvskNnf Ip7otLmvvaksl2HBqbpLp40vSYl6peqpzlFbbL4r96gVAA== 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 multishot recv missing EOF on wakeup race When a socket send and shutdown() happen back-to-back, both fire wake-ups before the receiver's task_work has a chance to run. The first wake gets poll ownership (poll_refs=1), and the second bumps it to 2. When io_poll_check_events() runs, it calls io_poll_issue() which does a recv that reads the data and returns IOU_RETRY. The loop then drains all accumulated refs (atomic_sub_return(2) -> 0) and exits, even though only the first event was consumed. Since the shutdown is a persistent state change, no further wakeups will happen, and the multishot recv can hang forever. Check specifically for HUP in the poll loop, and ensure that another loop is done to check for status if more than a single poll activation is pending. This ensures we don't lose the shutdown event. The Linux kernel CVE team has assigned CVE-2026-23473 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit dbc2564cfe0faff439dc46adb8c009589054ea46 and fixed in 6.18.20 with commit 0f4ce79b8db7b040373fc664c8bc6c5fd74bd196 Issue introduced in 5.19 with commit dbc2564cfe0faff439dc46adb8c009589054ea46 and fixed in 6.19.10 with commit bf33554b6abf7e7faeadd8af1b82037ea755a6bb Issue introduced in 5.19 with commit dbc2564cfe0faff439dc46adb8c009589054ea46 and fixed in 7.0-rc5 with commit a68ed2df72131447d131531a08fe4dfcf4fa4653 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-23473 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/0f4ce79b8db7b040373fc664c8bc6c5fd74bd196 https://git.kernel.org/stable/c/bf33554b6abf7e7faeadd8af1b82037ea755a6bb https://git.kernel.org/stable/c/a68ed2df72131447d131531a08fe4dfcf4fa4653