What’s Vulnerable › Vulnerabilities
CVE-2026-23197: i2c: imx: preserve error state in block data length handler
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-14 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Linux kernel: from 6.13 before 6.18.10; 6.19-rc1, 6.19-rc2, 6.19-rc3, 6.19-rc4, 6.19-rc5, 6.19-rc6 (+2) — fixed in 6.18.10
How to fix
Upgrade to a fixed version: Linux kernel 6.18.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3f9b508b3eecc00a243edf320bd83834d6a9b482
- https://git.kernel.org/stable/c/b126097b0327437048bd045a0e4d273dea2910dd
Get alerted when CVE-2026-23197 or the next vulnerability affects your stack