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 436631F758D for ; Wed, 4 Dec 2024 14:20:57 +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=1733322058; cv=none; b=L9Pg6LYhhf08RWzZu07d5B1ZnKul/XLcXyV0ZjpR7NFHtYqyx8s/WJ/dTKWYFWPYRlFZOVa6tYbqeHMEcK52qCyAvD/1SShm/BprDnyWgMFolJEYlhi8+TI57x6hMVH/s9rrEOCSZ2gPJy1Tcxo005JMvyxUW6J3T28ioaZmXbc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733322058; c=relaxed/simple; bh=iLlhFOK90zAR1CRZW++QxyxT6ivVh57ZF8mbu9asYGc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rz+1fP2Pu5PjSYgyIW/faIvc+Jg68Jc0gg3Pv1L2Pi62e7urlNyeQsiNe7yPvOrUW5E70jXMXf3pqjwTD3INNcM9GwgFXFgDQBWqAXPLJudSxuMWkRZIlz+r1S1DDHblPt7WLyBEaVHR2NKq9fVPAxYaNa7rIIirqRFr+AOEbkE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BPqMs6Bj; 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="BPqMs6Bj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 466B0C4CECD; Wed, 4 Dec 2024 14:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733322057; bh=iLlhFOK90zAR1CRZW++QxyxT6ivVh57ZF8mbu9asYGc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BPqMs6BjDPfjXPjh7ejGlaQjC0Uy5dXmEGI0fr0u4xb2dO2X398n05uAZUCmon02X StsDs/JuJcAtjwJeofxT+NunwQuFlZxm+2Vzabwym6HGg5wYato4WhYLJ1ahsg4uMi lG0LBdqLNJht0wYQxomDpudgnPljSIiSJXGdObZs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53127: Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K" Date: Wed, 4 Dec 2024 15:20:50 +0100 Message-ID: <2024120449-CVE-2024-53127-518c@gregkh> X-Mailer: git-send-email 2.47.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=2817; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iLlhFOK90zAR1CRZW++QxyxT6ivVh57ZF8mbu9asYGc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOkBqY7vij691H64reXVz/TuZ8bTMh++iPOde3HzY5GyC VvSmD4d64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJvClmWHDg6l4z1/26pQfP iloYys2v7dquvZZhnm4wI2O34MXXM0PZuG2W9RtNKj5YAgA= 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: Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K" The commit 8396c793ffdf ("mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K") increased the max_req_size, even for 4K pages, causing various issues: - Panic booting the kernel/rootfs from an SD card on Rockchip RK3566 - Panic booting the kernel/rootfs from an SD card on StarFive JH7100 - "swiotlb buffer is full" and data corruption on StarFive JH7110 At this stage no fix have been found, so it's probably better to just revert the change. This reverts commit 8396c793ffdf28bb8aee7cfe0891080f8cab7890. The Linux kernel CVE team has assigned CVE-2024-53127 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.110 with commit 373f8f5b087f and fixed in 6.1.119 with commit 8f9416147d7e Issue introduced in 6.6.51 with commit 5b4bf3948875 and fixed in 6.6.63 with commit 56de724c58c0 Issue introduced in 6.11 with commit 8396c793ffdf and fixed in 6.11.10 with commit a4685366f074 Issue introduced in 6.11 with commit 8396c793ffdf and fixed in 6.12 with commit 1635e407a4a6 Issue introduced in 4.19.322 with commit 32bd402f6760 Issue introduced in 5.4.284 with commit b9ee16a20d99 Issue introduced in 5.10.226 with commit 2793f4238935 Issue introduced in 5.15.167 with commit 9d715a234dd8 Issue introduced in 6.10.10 with commit 5b1ef10f7d49 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-53127 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/mmc/host/dw_mmc.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/8f9416147d7ed414109d3501f1cb3d7a1735b25a https://git.kernel.org/stable/c/56de724c58c07a7ca3aac027cfd2ccb184ed9e4e https://git.kernel.org/stable/c/a4685366f07448420badb710ff5c12aaaadf63ad https://git.kernel.org/stable/c/1635e407a4a64d08a8517ac59ca14ad4fc785e75