Linux
i2c: s3c24xx: check the size of the SMBUS message before using it
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < fd1650da24ed54c716aa9b69e9bbd8a662e492da
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < 8f756a5964396da0fc9e0db33253a5b85dbbcbb6
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < 2d262da4bca6fab96e2e709feb95b31b0a9a03a7
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < fa00738ab30b07db1a43b9c85fc56b8cc3b7d197
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < d87d5620125a03b1eadbd5df39748215d3db7ddb
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < 377fae22a137b6b89f3f32399a58c52cf2325416
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < 71b3c316b22c555d2769126a92b1244b15a9750d
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < aaaaec39ddbcd06770dca7f1adebc3b1242ebe7b
- >= 85747311ecb6167c989093c64a13807366fdd3a9, < c0128c7157d639a931353ea344fb44aad6d6e17a
Fixed in fd1650da24ed54c716aa9b69e9bbd8a662e492da, 8f756a5964396da0fc9e0db33253a5b85dbbcbb6, 2d262da4bca6fab96e2e709feb95b31b0a9a03a7, fa00738ab30b07db1a43b9c85fc56b8cc3b7d197, d87d5620125a03b1eadbd5df39748215d3db7ddb, 377fae22a137b6b89f3f32399a58c52cf2325416, 71b3c316b22c555d2769126a92b1244b15a9750d, aaaaec39ddbcd06770dca7f1adebc3b1242ebe7b, c0128c7157d639a931353ea344fb44aad6d6e17a
- 3.10
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.136, 6.12.83, 6.18.24, 6.19.14, 7.0.1, 7.1
Mitigation
Upgrade Linux to fd1650da24ed54c716aa9b69e9bbd8a662e492da or 8f756a5964396da0fc9e0db33253a5b85dbbcbb6 or 2d262da4bca6fab96e2e709feb95b31b0a9a03a7 or fa00738ab30b07db1a43b9c85fc56b8cc3b7d197 or d87d5620125a03b1eadbd5df39748215d3db7ddb or 377fae22a137b6b89f3f32399a58c52cf2325416 or 71b3c316b22c555d2769126a92b1244b15a9750d or aaaaec39ddbcd06770dca7f1adebc3b1242ebe7b or c0128c7157d639a931353ea344fb44aad6d6e17a or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.136 or 6.12.83 or 6.18.24 or 6.19.14 or 7.0.1 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.