NULL pointer dereference in Linux

CVE-2026-23197

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.001, 1.8th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 5f5c2d4579ca6836f5604cca979debd68ecfe23f, 6.13, 0
  • Linux Kernel — versions 6.19

Weakness classification (CWE)

References