Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 D1190481FDF for ; Wed, 1 Jul 2026 13:34:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782912896; cv=none; b=MAarA7a5EuTSUw51LYm5oGs8I1w/+hJQnJfTAGPA85os0DBBAyyQV9QOsMShzjle3C4sudyw4GIAdcUEJBibRVFe6MAlv6V5nCGWgFwtjArcZYHzGVvrBO3FCMkBj3TkmzEbFlBtPnO4sYNFjcjbUUxb71Baj/fvpVOcnNNZtCo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782912896; c=relaxed/simple; bh=rda1R4Q7yeQbHG78Vvm6DanZaIWxbPMpqMR3kxLR0Ek=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jEQHr/ls/Z6YvemQbMq0mRPpodR7rLevqKdY8Mj5CgSiWh/11zlrQXcBrLMd0mymV2l9DuX/kawbclkY8ODlqywO0C2wH8kd6uhKUxjIBFdXhK5w509ZBmVsH/aPI8OJKMSJkIO7vPSFlJFHADZNuSV6xOSthuC+MJb7M+H/76k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=z0j05OCe; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="z0j05OCe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA9691F000E9; Wed, 1 Jul 2026 13:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782912893; bh=MMRW3zVjFmindUF2T7VevCbyiYkN724Yr80vO3X1OHE=; h=From:To:Cc:Subject:Date:Reply-To; b=z0j05OCesj2jLKHQeoFiAymDqMYQPeaHsI3G9pLEKyW+qf1u7S21jLxLdmSQv9yTo YQi+hF6RVKTDha67X4RRQE+OQKjEYpfEKQBm4OhjskzveJhR0KnFCasIpzlJNhxsl+ lcxlJq6x8VJJ3IKUZqB7NAJdKVMA758ox1M1TFPs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53340: i2c: imx: fix clock and pinctrl state inconsistency in runtime PM Date: Wed, 1 Jul 2026 15:34:55 +0200 Message-ID: <2026070144-CVE-2026-53340-a78c@gregkh> X-Mailer: git-send-email 2.55.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=2547; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yn2+unTibU09yfYfPu6T7a0L6P9H1Iw7R/eYhzpN1PY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmu4iUm3Ezsi/exHmewC05zc22T3RFiLf8m5N6TZbERX geP6DN0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQ+/2GYzfLp8dvFN9/N3v09 8fyH0lXPN7mKvmCYKxZ6JsmJZ7UI5+5ENcl4gaj4qvjVAA== 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: i2c: imx: fix clock and pinctrl state inconsistency in runtime PM In i2c_imx_runtime_suspend(), the clock is disabled before switching the pinctrl state to sleep. If pinctrl_pm_select_sleep_state() fails, the runtime suspend is aborted but the clock remains disabled, causing a system crash when the hardware is subsequently accessed. Fix this by switching the pinctrl state before disabling the clock so that a pinctrl failure leaves the clock enabled and the hardware accessible. In i2c_imx_runtime_resume(), restore the pinctrl state back to sleep if clk_enable() fails to keep the consistent. The Linux kernel CVE team has assigned CVE-2026-53340 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 576eba03c99435380d155e5f71d5d7603b9178f6 and fixed in 6.18.36 with commit 9fa82cf393bafc7bd7ca15c1d5cbd5b57ab9de1d Issue introduced in 6.14 with commit 576eba03c99435380d155e5f71d5d7603b9178f6 and fixed in 7.0.13 with commit c8f5269c1bf505847bc7dbb92054594790114de6 Issue introduced in 6.14 with commit 576eba03c99435380d155e5f71d5d7603b9178f6 and fixed in 7.1 with commit 8783fb8031799f1230997c16df8c8dce9fcd1841 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-53340 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/i2c/busses/i2c-imx.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/9fa82cf393bafc7bd7ca15c1d5cbd5b57ab9de1d https://git.kernel.org/stable/c/c8f5269c1bf505847bc7dbb92054594790114de6 https://git.kernel.org/stable/c/8783fb8031799f1230997c16df8c8dce9fcd1841