From mboxrd@z Thu Jan 1 00:00:00 1970 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 7E5551DDCE for ; Sun, 19 May 2024 10:12:27 +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=1716113547; cv=none; b=eLctUSb6NuoYM0mWmSLo8Go6fu7fHyG5hQ/Xrquj0opZOm4qFkQkch1QC1VmuyjrxAYR0vS4008zIT1UuR0CNxnzQlhNp/HyFvt1eEqD3vDLkI4GfSt30CmYOePLP/p93h6HGYAWcrADqDaNOBBbEYUCykLc17N1WBmci1tvaqI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716113547; c=relaxed/simple; bh=Mpx5epS42N9TPdjBx8pvQXhyKnDWfeX+BH+Je/yyfXo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QoqfeuDzpE1UVzHIKlNieNsTqs/3o7E0w2QyNhyDg1kgGnrT49aO6aaB7TvO7VEqqeWbH4keL1JE87Q22W8HkNWZQg6q0+Zb7S6BOsRzSADTg/xwwkIpEXV6Kz89k7osg6NXi4uHZy+hKeE2ek2UI1No2aN6+zf873e5O8rL/+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=lqijwmJG; 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="lqijwmJG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD164C32786; Sun, 19 May 2024 10:12:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716113547; bh=Mpx5epS42N9TPdjBx8pvQXhyKnDWfeX+BH+Je/yyfXo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=lqijwmJGYwsty2hzxBDFQsR4vWLEmXGRz2r/QXqmTq9GgsgFOvP7JmbWnXJVAuu26 nLOBGVRcKRZRbppDkNVVgfHeZXzifdr2DMp/HVKt3JMmfaXyJ/uzky+PSo7Mkvc5o+ JS/MrrYGVYXhs1EZQLSgnWcDIsS0/fdJhNqrYjbI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35923: io_uring: clear opcode specific data for an early failure Date: Sun, 19 May 2024 12:11:17 +0200 Message-ID: <2024051914-CVE-2024-35923-ddae@gregkh> X-Mailer: git-send-email 2.45.1 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=2072; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Mpx5epS42N9TPdjBx8pvQXhyKnDWfeX+BH+Je/yyfXo=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmeF5wu+y1jE+Z28jRu+uRy9GGe0ck/f5f5BR1hbbU9n 3HQ8/zrjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIpGSG+YWq11efOuhwrekk W3DhzByBlswOLoY5PGuPbHDLPn1shcObvGietLtpiqs2AwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: io_uring: clear opcode specific data for an early failure If failure happens before the opcode prep handler is called, ensure that we clear the opcode specific area of the request, which holds data specific to that request type. This prevents errors where opcode handlers either don't get to clear per-request private data since prep isn't even called. The Linux kernel CVE team has assigned CVE-2024-35923 to this issue. Affected and fixed versions =========================== Fixed in 6.1.86 with commit 5245a6da27ef Fixed in 6.6.27 with commit 21162ad2de74 Fixed in 6.8.6 with commit cb1cd176e0b4 Fixed in 6.9 with commit e21e1c45e1fe 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-2024-35923 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/io_uring.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/5245a6da27ef79f8dba98dad5542ebe56d311837 https://git.kernel.org/stable/c/21162ad2de7446438cbd6224b3794a375bcb24df https://git.kernel.org/stable/c/cb1cd176e0b431644653a7fa8691a1aaf7be98da https://git.kernel.org/stable/c/e21e1c45e1fe2e31732f40256b49c04e76a17cee