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 5B9571F63F9 for ; Tue, 8 Jul 2025 07:43:11 +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=1751960591; cv=none; b=crsclvYRsfDrHuPv0dgzOHHzB9qUvcmcUdrpfUZC40Bwc/xFcviV0+IbccYHrJzu2hQ6SqOULoA2/9p4J20dywj8pNLs07z++d8eKmnOsxtKwm+rCy5S84jeQcVBtS4ZrJBXRH9AHYvMXBDXCes/qq4tUSWre2x0CeulDp2KVX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751960591; c=relaxed/simple; bh=xpgCysWZ1dUnoORSMvAl4l0ZbltYjZx+xqr6e7gZQtQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fBX8ZvHrpwyNlg5Lb9pL9AxtGZrGI0OrMXgHD1XyaP0zelbTx6GChxBQQGnVbMZCwgXXHYT22IMWB/fRD6fO3CKoqpdToUqhR0AEoK4hvmi8WPizFXdU4kzD+IUrOh9D4QbtFlZlviaQrASusTVCT15Imx3UmQzRjVZw5BbLhLw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DY31slxE; 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="DY31slxE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89793C4CEF0; Tue, 8 Jul 2025 07:43:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751960590; bh=xpgCysWZ1dUnoORSMvAl4l0ZbltYjZx+xqr6e7gZQtQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DY31slxEB8Dn7hsGCapUnPaaUsdKj3OktEfQVlw9hGeNW1aWRbiPyyzDOUCNU7JLQ hEN9sBlAMbWCbKrmd/tP91Lx+Mnvg8apZfWHKtFRFcYYPBFxgKQMlZL6ipiEWcdlVk 3CJmYcszpqZyXEOuMoLG+yvCrfHkPpvmah874ISE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38237: media: platform: exynos4-is: Add hardware sync wait to fimc_is_hw_change_mode() Date: Tue, 8 Jul 2025 09:43:07 +0200 Message-ID: <2025070807-CVE-2025-38237-68e7@gregkh> X-Mailer: git-send-email 2.50.0 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=2448; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Nbctxs3B8Vt30IC61I/idlPz+hVxcmSW7uyZzrh8E2o=; b=kA0DAAIRMUfUDdst+ykByyZiAGhszAvI2VOblkfzelI9oWxhh/DeqyHeptEuMN6Fnr8sS9XHr ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmhszAsACgkQMUfUDdst+ymoDQCggAFh EM7lkwnzibtKtnnq+odcZQEAn3FVnlvd47Sqz/nUbiP9iBuR5mUA 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: media: platform: exynos4-is: Add hardware sync wait to fimc_is_hw_change_mode() In fimc_is_hw_change_mode(), the function changes camera modes without waiting for hardware completion, risking corrupted data or system hangs if subsequent operations proceed before the hardware is ready. Add fimc_is_hw_wait_intmsr0_intmsd0() after mode configuration, ensuring hardware state synchronization and stable interrupt handling. The Linux kernel CVE team has assigned CVE-2025-38237 to this issue. Affected and fixed versions =========================== Fixed in 5.4.295 with commit b0d92b94278561f43057003a73a17ce13b7c1a1a Fixed in 5.10.239 with commit e4077a10a25560ec0bd0b42322e4ea027d6f76e2 Fixed in 5.15.186 with commit bb97dfab7615fea97322b8a6131546e80f878a69 Fixed in 6.15.4 with commit 14acbb5af101b7bb58c0952949bba4c5fdf0ee7e Fixed in 6.16-rc1 with commit bd9f6ce7d512fa21249415c16af801a4ed5d97b6 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-2025-38237 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/media/platform/samsung/exynos4-is/fimc-is-regs.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/b0d92b94278561f43057003a73a17ce13b7c1a1a https://git.kernel.org/stable/c/e4077a10a25560ec0bd0b42322e4ea027d6f76e2 https://git.kernel.org/stable/c/bb97dfab7615fea97322b8a6131546e80f878a69 https://git.kernel.org/stable/c/14acbb5af101b7bb58c0952949bba4c5fdf0ee7e https://git.kernel.org/stable/c/bd9f6ce7d512fa21249415c16af801a4ed5d97b6