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

Medium 5.5 Published Updated

A flaw in the Linux kernel i2c driver causes an endless read loop and system crash when handling invalid block data lengths.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-23197?

CVE-2026-23197 is a medium-severity vulnerability in Linux kernel, published on 14 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-476

Which versions are affected by CVE-2026-23197?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-23197?

Apply the vendor's patch.

Is CVE-2026-23197 being exploited?

There is no known exploitation of CVE-2026-23197 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-23197, DEBIAN-CVE-2026-23197, GHSA-hp2v-w3xq-4jvv, UBUNTU-CVE-2026-23197.

Is CVE-2026-23197 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free