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 E9D5A30F931 for ; Sat, 14 Feb 2026 16:29:49 +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=1771086590; cv=none; b=DWlLDvDJ+GHEQInkAYS75qkHnXeTE727+eEoacgOFCS3uZwqH4dMSGV4UibGpXej0487DIfskijpHGCnuMkfXBcUO1t/vuRl+jJHxtCECsUc+ivvqhhQ/dFDPAaAknRbn7uTOnWMQzqP9MVT8a971Sfo0O3wz1AQZdAQVsosGD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086590; c=relaxed/simple; bh=HBKWK34eGkvFSziYJXt+/MyfKMjiBmQqLIJZFO+1EBE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VU3cW1QQXwnbSl/wzPylOwkKHCJZt9YFUqjb1TSSaxSYNHW2AQQynPoI43SAyN1nHEsnSW65vbk69BzQKc34Jhx3YwlF21euAboZoRZhATitLIIi60M2fVAsDZPdiasPosBWM2JOudElZOk6uGTz525PqulAmKbIrwegAiAfPsA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kpynPbIY; 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="kpynPbIY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FFF2C16AAE; Sat, 14 Feb 2026 16:29:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771086589; bh=HBKWK34eGkvFSziYJXt+/MyfKMjiBmQqLIJZFO+1EBE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=kpynPbIYBti3OyNArjrgtcCOCV4VoqPJkFOYEaA4xnHYp7gIwr8Rk4TYPjSb2Btcq B2CY3GQpn1MEADMItfL3R4o1pqQfceJxPpbbqVGm1LosKU2HkNkeiiJXYUzNz+yqLQ 6KEKYPCXftLwgw62SM5YGNqo1LZXhAihukYDIpzo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23197: i2c: imx: preserve error state in block data length handler Date: Sat, 14 Feb 2026 17:28:54 +0100 Message-ID: <2026021435-CVE-2026-23197-59da@gregkh> X-Mailer: git-send-email 2.53.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=2163; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KqZuvIkO8otNF+r0hwGjhuIgGlG5itZU5T5w5LnsYr8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkTFm1W0vvd13y77YOPwN7wvY16CtUmnNZl3z8vXC7ia zNtbtz8jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIqncM8/0f6qnlTVv9hHO9 OkPVk3vbT36uPcuwoDOu+q7jsZdMNlvDM26trnCPM9/hAgA= 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: preserve error state in block data length handler When a block read returns an invalid length, zero or >I2C_SMBUS_BLOCK_MAX, the length handler sets the state to IMX_I2C_STATE_FAILED. However, i2c_imx_master_isr() unconditionally overwrites this with IMX_I2C_STATE_READ_CONTINUE, causing an endless read loop that overruns buffers and crashes the system. Guard the state transition to preserve error states set by the length handler. The Linux kernel CVE team has assigned CVE-2026-23197 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 5f5c2d4579ca6836f5604cca979debd68ecfe23f and fixed in 6.18.10 with commit 3f9b508b3eecc00a243edf320bd83834d6a9b482 Issue introduced in 6.13 with commit 5f5c2d4579ca6836f5604cca979debd68ecfe23f and fixed in 6.19 with commit b126097b0327437048bd045a0e4d273dea2910dd 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-23197 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/3f9b508b3eecc00a243edf320bd83834d6a9b482 https://git.kernel.org/stable/c/b126097b0327437048bd045a0e4d273dea2910dd