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 77746288AD for ; Fri, 8 May 2026 14:25:51 +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=1778250351; cv=none; b=IcIZAv7AecDHE6f4WXZAG7ypAH8h9+DWKY0Yc55YzLDWxKEuCWyge/WaM+DMQ01RiJAP7hd9xxl9mPhl1iiS6XyI3+gXcWdh6q8BBaNPHBDCn7PiJcVDoGaKdWULJKrSGPYqn+L4+DTPw2e1iB1QC2aP630Y/D4EhUJkdtF7Ook= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250351; c=relaxed/simple; bh=MMShpH8ksnghSZYtGame9DME62ATLv0rQkGOoacnp2g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nPENdXg+/oGBcvV9vFNFzuoKKrnkN2R1tsbM0R08mCVLXesIYi4P7A5L4ZbYgVcEpluGhM0xC8WyMsIX1PsrQOjK/hQIOqz5LUVrDPhsPH5dpVuCBm5Tp9jkiFtBW2b/sao2JwzjJTRrvup1FKuAG47+TuXULVEDsKnJMcXig0g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CEaJm4Iq; 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="CEaJm4Iq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D954C2BCB0; Fri, 8 May 2026 14:25:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778250351; bh=MMShpH8ksnghSZYtGame9DME62ATLv0rQkGOoacnp2g=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CEaJm4IqpZhGRjbF57ZejdTskKi3RE2lcz3FI9Gyo3aEAachHvNClacMaOHQekmHs yGJUpB8090cZ6iLnEcqOhN10Gmmx8vCXOgBCMtK/cHllom6Dim2t1Fs2/BonYJGgZk 4mpChYojfAP6uPpZCANH8w7IJQC9pkCANnugT/G4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43442: io_uring: fix physical SQE bounds check for SQE_MIXED 128-byte ops Date: Fri, 8 May 2026 16:22:51 +0200 Message-ID: <2026050854-CVE-2026-43442-88f3@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=2678; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Xt80usXpGDUDGw6XhpbHDz5wpokhGko2cjBboa35uG0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl/PzZll73dxZJY8PbpP9F3HYdE077Kn9rAwND8Iuvh7 efdBx6mdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEjp5hWHDhhlQnw76Xzu9P q2nIMluw8D4QcmaYH5npuNDrU4r9/+ktSjWbBW6f37ooAwA= 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 physical SQE bounds check for SQE_MIXED 128-byte ops When IORING_SETUP_SQE_MIXED is used without IORING_SETUP_NO_SQARRAY, the boundary check for 128-byte SQE operations in io_init_req() validated the logical SQ head position rather than the physical SQE index. The existing check: !(ctx->cached_sq_head & (ctx->sq_entries - 1)) ensures the logical position isn't at the end of the ring, which is correct for NO_SQARRAY rings where physical == logical. However, when sq_array is present, an unprivileged user can remap any logical position to an arbitrary physical index via sq_array. Setting sq_array[N] = sq_entries - 1 places a 128-byte operation at the last physical SQE slot, causing the 128-byte memcpy in io_uring_cmd_sqe_copy() to read 64 bytes past the end of the SQE array. Replace the cached_sq_head alignment check with a direct validation of the physical SQE index, which correctly handles both sq_array and NO_SQARRAY cases. The Linux kernel CVE team has assigned CVE-2026-43442 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 1cba30bf9fdd6c982708f3587f609a30c370d889 and fixed in 6.19.9 with commit 1f794f9bed3e5cf7250a3b4daf112a72ed1513e9 Issue introduced in 6.19 with commit 1cba30bf9fdd6c982708f3587f609a30c370d889 and fixed in 7.0 with commit 6f02c6b196036dbb6defb4647d8707d29b7fe95b 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-43442 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/1f794f9bed3e5cf7250a3b4daf112a72ed1513e9 https://git.kernel.org/stable/c/6f02c6b196036dbb6defb4647d8707d29b7fe95b