Junglewise Threat Intelligence

CVE-2026-64191: Linux Kernel stack-based out-of-bounds in i2c-stub driver

CVE-2026-64191 · Severity: info · CVSS 6.2 · Published 2026-07-20

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability exists in a specific Linux kernel testing tool used for simulating I2C hardware devices. A local user with access to I2C device files could trigger a system crash or potentially corrupt memory by sending malformed data requests. This component is typically used for development and is not enabled by default in most production environments.

Technical details

A stack-based out-of-bounds vulnerability exists in the i2c-stub driver (drivers/i2c/i2c-stub.c) within the stub_xfer() function. The root cause is a failure to validate the transfer length (data->block[0]) against I2C_SMBUS_BLOCK_MAX (32) during I2C_SMBUS_I2C_BLOCK_DATA operations. A local attacker with access to /dev/i2c-* can issue an I2C_SMBUS ioctl with an invalid length, causing the kernel to read or write past the end of the i2c_smbus_data.block buffer. This can result in a kernel panic (DoS) or memory corruption. The issue has been patched by enforcing length checks and rejecting transfers with a length of zero or greater than 32.

Affected products

  • Linux Linux Kernel 4710317891e4824ce1510a6b5066abbd3e917750

Timeline

  • 2026-04-15: other: Patch authored
  • 2026-07-20: disclosed: CVE published

References

Related threats