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 2F78B130492 for ; Tue, 21 May 2024 15:34:32 +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=1716305673; cv=none; b=C8z0cP2BS3TleP7v1uEEpcddgrJ70IwojPtZnSQLfM6q6GzBhJtVpUuDZoh9tZf0/FS6ixCVoMTEXjmlIkMTxYYoT57Jn8GQ/D8f36HZp+6CUoPWrSQDZMpjK6sadLAMM896N2mpyKkAXzkmjZpAkgOQbEBPnmoO2ZHTfKR+iys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305673; c=relaxed/simple; bh=nYbY1EtKUHTdasYp49aVpqRfijDQYrw91SoUZtS/+/o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ItT4e91HzhFGvefVP0knr2qqMP034HzZEHeSUe4JMAMVPCZJiz8E1izsmyb1O3SQWMVSvK0nIVYTrR87igBNwfI8M69W3+GubUc8X0rBibDYur+E9HOp28hZ4u60XiFWaOqF4TzLXDXzab0rgCPAwliXrP/aMMPtVUdDjJBfn/U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r9z8/qSB; 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="r9z8/qSB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BFB6C2BD11; Tue, 21 May 2024 15:34:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305672; bh=nYbY1EtKUHTdasYp49aVpqRfijDQYrw91SoUZtS/+/o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=r9z8/qSBRvqD6Umh0mEjpUJlqQ7urwN//FSBoRrbYwgfe2eCO8q9Hy0lKNjgYQAyx vf3rhNjRF1ZyO5HdlGNmIFEQ22IJLmjWA+DR6iD/mCjNQj5hjqUX1HKVEaOcfSciP9 gQbu0CqxAQkVvco+gk3rGszbTeIIFh9bUMI9hOf8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52766: i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler Date: Tue, 21 May 2024 17:31:02 +0200 Message-ID: <2024052149-CVE-2023-52766-2ae1@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=2148; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nYbY1EtKUHTdasYp49aVpqRfijDQYrw91SoUZtS/+/o=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++zT5jrPvCr6UuntHUH1t9L1HFXyfzspJSshrB/CYL peecfBzRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykgp1hwbkFqn9Z02YXRhub LilwLjAzipS0YphfJnIqvfJfk4rJtYaSb4GTLPvm99gAAA== 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: i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler Do not loop over ring headers in hci_dma_irq_handler() that are not allocated and enabled in hci_dma_init(). Otherwise out of bounds access will occur from rings->headers[i] access when i >= number of allocated ring headers. The Linux kernel CVE team has assigned CVE-2023-52766 to this issue. Affected and fixed versions =========================== Fixed in 5.15.140 with commit d23ad76f240c Fixed in 6.1.64 with commit 8be39f66915b Fixed in 6.5.13 with commit 7c2b91b30d74 Fixed in 6.6.3 with commit 4c86cb2321bd Fixed in 6.7 with commit 45a832f989e5 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-2023-52766 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: drivers/i3c/master/mipi-i3c-hci/dma.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/d23ad76f240c0f597b7a9eb79905d246f27d40df https://git.kernel.org/stable/c/8be39f66915b40d26ea2c18ba84b5c3d5da6809b https://git.kernel.org/stable/c/7c2b91b30d74d7c407118ad72502d4ca28af1af6 https://git.kernel.org/stable/c/4c86cb2321bd9c72d3b945ce7f747961beda8e65 https://git.kernel.org/stable/c/45a832f989e520095429589d5b01b0c65da9b574