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 EA550839F4 for ; Thu, 27 Feb 2025 02:08: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=1740622113; cv=none; b=Sm9Ob/5/F84e6ujDZDSuKMkYJ4px8C8tEm35J1q43GZYB6yXZof9ZkI4aNB9W4Iv4nMMSjuoMEojrwLdEz2o4cQVXsOrK7glf3Wp4v+qFShSOq6Sdi9LJhctfb4YZyjODTKwOGB4NiwbTsUrj/1XoFa6JLJr85YjbsWqEI2d2CI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622113; c=relaxed/simple; bh=T9au2XnX0JAaGtel2HK9B8iEeVFq3JUhQqV37zPZ6mo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q8EX/72Z08+t/HYU+xeB0+/19Dc/5btNiZKn7zOy3JLT2q1fTNiJZ1GrGT7kyHbxbYS567AVXqK8OTP4Ti7f0tJ5mhVXXR/f3Ipu0QJ+Xu1VZuqDBHLZKDYsSLkloj6p4AXO+KnFF+OcgxX2nRlCZHwhTD+DYmjM0GvNxA21r1g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QCYRuN7E; 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="QCYRuN7E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B719C4CED6; Thu, 27 Feb 2025 02:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622112; bh=T9au2XnX0JAaGtel2HK9B8iEeVFq3JUhQqV37zPZ6mo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QCYRuN7ErYkGH7cnruUW2nq0/Qgz49jKdxxaVR7dPIbeFt2vJygmrCtzmzXYXZRrn abKUoxyNbUVZxeUsEAfXr7UfeyXVQbWA0R7oyW+BtSkK3FK3sTiV/ApV6zGE7GsAWH 0RMB+m3t6syCZY/GpkFT+UTaH2z0KUUvEKNEien0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57983: mailbox: th1520: Fix memory corruption due to incorrect array size Date: Wed, 26 Feb 2025 18:05:42 -0800 Message-ID: <2025022635-CVE-2024-57983-d9c0@gregkh> X-Mailer: git-send-email 2.48.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=2231; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=T9au2XnX0JAaGtel2HK9B8iEeVFq3JUhQqV37zPZ6mo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7T+RXOkqL8wXv2XQ98PqB0G06Glkpv1anZKfNOej7c 9PVzaLdHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARmfUM8wxt/9aYdO7fUnH2 VaSTl9R1r2L/2wzzE/1P86/fzxTwePePJx8U+u6aP/pvAQA= 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: mailbox: th1520: Fix memory corruption due to incorrect array size The functions th1520_mbox_suspend_noirq and th1520_mbox_resume_noirq are intended to save and restore the interrupt mask registers in the MBOX ICU0. However, the array used to store these registers was incorrectly sized, leading to memory corruption when accessing all four registers. This commit corrects the array size to accommodate all four interrupt mask registers, preventing memory corruption during suspend and resume operations. The Linux kernel CVE team has assigned CVE-2024-57983 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 5d4d263e1c6b6b18acb4d67fd3b9af71b7404924 and fixed in 6.13.2 with commit 2cd12c7fba59f30369e8647a2b726c7280903304 Issue introduced in 6.13 with commit 5d4d263e1c6b6b18acb4d67fd3b9af71b7404924 and fixed in 6.14-rc1 with commit db049866943a38bf46a34fa120d526663339d7a5 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-57983 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/mailbox/mailbox-th1520.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/2cd12c7fba59f30369e8647a2b726c7280903304 https://git.kernel.org/stable/c/db049866943a38bf46a34fa120d526663339d7a5