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 1876123C8AE for ; Fri, 24 Apr 2026 14:45:33 +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=1777041933; cv=none; b=nWpEAebkiXITzlrSn40Rm8yPJmPIabrYejGjaBv3fNc0lIOzT/d+0ZOj0maBq3PRThAb7j9H437RPaIsHRrXdARpySqUpTu6lXa7ZD5OU+e8wNrtbveyY4Qk3MAXsgBSopGJ3BWnWaHJTaIRyYJ7uxrfHT5EjFmR6PE42I1IdFo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041933; c=relaxed/simple; bh=SsQuJlIoZcMDp5KSNNVRTiKPP1ISOXzSWKYckhm4KdA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cMWws7noZAviPxR1dc6MAMhUapBF0EinGzG2hg+8A9SSPL4YSbq7QFykPcbPkQeEUdh6ZiHLICb3Qz7skR255gqGfKhZu1QfVvkjuMcrZL2Y9nFDULkwMO3pLn0EXa2lQCOABMDleAsPlDg11DqVREp4ghPGYL2UBRpDtSCx/Uw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a3TQKz5O; 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="a3TQKz5O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A24CDC19425; Fri, 24 Apr 2026 14:45:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041933; bh=SsQuJlIoZcMDp5KSNNVRTiKPP1ISOXzSWKYckhm4KdA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=a3TQKz5OmCm9sTtDN9ZM9R/mJQI9DXrzArarST/s5YchH4JG1k7O6ehp4hzNAlJsQ R1rwV8D6RGTmpSUQjjzkLGsf2Ba8LrOEDi7ntbD3ohPlPotwJyTncqAxACppc03MER /x0I4bRXX6qT1t6KihbSbk1PyvwwC8d/7Yer9UdM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31627: i2c: s3c24xx: check the size of the SMBUS message before using it Date: Fri, 24 Apr 2026 16:44:03 +0200 Message-ID: <2026042427-CVE-2026-31627-bd9b@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=2292; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=k5ccusUn+aOvuh1QKJ6qZAFA7FVxWrZOQXgamCUDoZ8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvG/uL+vfuvbwjfGXUPAZeYxfBtf7PjrrV256pYH5nd yfrrY1XRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykuJRhwbWZ/ksZ1tlHd1s5 W9tt2VikVtO3m2FBu++6FkmV9PNdbM8vtx843ifRuJ8NAA== 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: s3c24xx: check the size of the SMBUS message before using it The first byte of an i2c SMBUS message is the size, and it should be verified to ensure that it is in the range of 0..I2C_SMBUS_BLOCK_MAX before processing it. This is the same logic that was added in commit a6e04f05ce0b ("i2c: tegra: check msg length in SMBUS block read") to the i2c tegra driver. The Linux kernel CVE team has assigned CVE-2026-31627 to this issue. Affected and fixed versions =========================== Fixed in 6.12.83 with commit d87d5620125a03b1eadbd5df39748215d3db7ddb Fixed in 6.18.24 with commit 377fae22a137b6b89f3f32399a58c52cf2325416 Fixed in 6.19.14 with commit 71b3c316b22c555d2769126a92b1244b15a9750d Fixed in 7.0.1 with commit aaaaec39ddbcd06770dca7f1adebc3b1242ebe7b 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-31627 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-s3c2410.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/d87d5620125a03b1eadbd5df39748215d3db7ddb https://git.kernel.org/stable/c/377fae22a137b6b89f3f32399a58c52cf2325416 https://git.kernel.org/stable/c/71b3c316b22c555d2769126a92b1244b15a9750d https://git.kernel.org/stable/c/aaaaec39ddbcd06770dca7f1adebc3b1242ebe7b https://git.kernel.org/stable/c/c0128c7157d639a931353ea344fb44aad6d6e17a