i2c: s3c24xx: check the size of the SMBUS message before using it
cve-program · CVE-2026-31627
PublishedIn 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-31627 · CVE overview and exploitation status
cve-program · CVE-2026-31627
- https://git.kernel.org/stable/c/fd1650da24ed54c716aa9b69e9bbd8a662e492da
- https://git.kernel.org/stable/c/8f756a5964396da0fc9e0db33253a5b85dbbcbb6
- https://git.kernel.org/stable/c/2d262da4bca6fab96e2e709feb95b31b0a9a03a7
- https://git.kernel.org/stable/c/fa00738ab30b07db1a43b9c85fc56b8cc3b7d197
- 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
Related changes
Linked by CVE identifierNo related changes are available here.