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 2018A125D6 for ; Thu, 1 May 2025 14:12:01 +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=1746108721; cv=none; b=HhOIKIW+SP5lsN92F8BLZnv865M7MYguR3Y1iwgf32VvYWjG6T4xK66X0THe6H1XAddn8GYkCFWsI1TtRi0tgShesggRCCua9khJ8jTwC7gdCQAY/+d3gaJKuFRQ576MOe9xBubLq47ihKohtKGUpp8+4n/kWgBH0JvrgJhfXAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108721; c=relaxed/simple; bh=5BGaZ4BIOlwN42FI2JAf1kd8kYnglSxJQ0hEqDbE4FI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i80BNANLo8Uiz0VCB1uvnt/g+STlFdJ2mxG2JOEfg2K15wNizQJKCM514YXk/w2OrnKDof5ToPnLU6TZ69sGSBGC/IQRybdukMpztnAto626oSuBnc3E7MAZhYlsbPgpdUvt9QKIofZv/TA05NbWOnYgN1CQmKSGfpi9IMHNk+g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rNCi8Atw; 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="rNCi8Atw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FB2AC4CEE3; Thu, 1 May 2025 14:12:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746108721; bh=5BGaZ4BIOlwN42FI2JAf1kd8kYnglSxJQ0hEqDbE4FI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rNCi8AtwkxdySwHEYGYgpMFT3+W6BQyL0tRwM3PHZjQzxOMrTQZYXhUDA7QrQFbvd QyHfYNyavre6w1UEY0QboN5JfYwG+GVcyVMrG2/HtO73d4nBhCuKQi4siwuFcvfrod 2s6Eumzub8Rzk9V/TlLztfvV9+8S2yI2h2PXAtyc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49791: io_uring: fix multishot accept request leaks Date: Thu, 1 May 2025 16:09:41 +0200 Message-ID: <2025050122-CVE-2022-49791-3e63@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2100; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6zxAxtMh4ngCWoYbLg1uY3AZA9FY2YxFvrEGVa9PgT8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDZOTZ30+t89ptygLjy9Hk+eqzQ8nGuz4q3Z2n9rH9 e7n5NsbO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAinyoYFixfn/+UkcW5YOms pTwHAmWdtvQIyDDML6u+NNfyTV5i0cU+/4ff+T/uYXh/DwA= 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: fix multishot accept request leaks Having REQ_F_POLLED set doesn't guarantee that the request is executed as a multishot from the polling path. Fortunately for us, if the code thinks it's multishot issue when it's not, it can only ask to skip completion so leaking the request. Use issue_flags to mark multipoll issues. The Linux kernel CVE team has assigned CVE-2022-49791 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 390ed29b5e425ba00da2b6113b74a14949f71b02 and fixed in 6.0.10 with commit 0e4626de856ef8f25ecd9c716e76d4f95ce95639 Issue introduced in 5.19 with commit 390ed29b5e425ba00da2b6113b74a14949f71b02 and fixed in 6.1 with commit 91482864768a874c4290ef93b84a78f4f1dac51b 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-2022-49791 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.h io_uring/io_uring.c io_uring/io_uring.h io_uring/net.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/0e4626de856ef8f25ecd9c716e76d4f95ce95639 https://git.kernel.org/stable/c/91482864768a874c4290ef93b84a78f4f1dac51b