Junglewise Threat Intelligence

CVE-2026-52948: Linux Kernel integer overflow in I2C_TIMEOUT ioctl

CVE-2026-52948 · Severity: info · CVSS 5.5 · Published 2026-06-24

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's I2C device driver could allow a local user to crash the system or cause hardware communication failures. By providing a specially crafted timeout value to the system, an attacker can corrupt the internal state of the SMBus controller. This results in a local denial of service, potentially requiring a system reboot to recover hardware functionality.

Technical details

An integer overflow exists in `drivers/i2c/i2c-dev.c` within the `I2C_TIMEOUT` ioctl handler. The user-provided argument is checked against `INT_MAX`, but is subsequently multiplied by 10 to convert 10ms units to milliseconds before being passed to `msecs_to_jiffies()`. A large input (e.g., 429496729) passes the initial check but overflows during multiplication, resulting in a truncated value that is reinterpreted as a negative signed 32-bit integer. When this value is passed to `wait_for_completion_timeout()`, sign extension occurs, leading to a massive 64-bit unsigned timeout, triggering kernel warnings and leaving the SMBus state machine in an unrecoverable state. The fix bounds the user argument to `INT_MAX / 10`.

Affected products

  • Linux Linux Kernel All versions prior to fixed stable releases (e.g., 6.1, 6.6, 6.9)

Timeline

  • 2026-04-27: other: Vulnerability reported by Mingyu Wang
  • 2026-05-04: patched: Initial patch committed to mainline kernel
  • 2026-06-24: advisory: CVE-2026-52948 published

References

Related threats