CVE-2026-64275

Input: elan_i2c - prevent division by zero and arithmetic underflow

State
Published
Severity
Not scored
Published
Jul 25, 2026
Updated
Aug 17, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

Input: elan_i2c - prevent division by zero and arithmetic underflow

The Elan I2C touchpad driver queries the device for its physical dimensions and trace counts to calculate the device resolution and width. However, if the device firmware or device tree provides invalid zero values for x_traces or y_traces, it results in a fatal division-by-zero exception leading to a kernel panic during device probe.

Add checks to ensure these parameters are non-zero before performing the division. If invalid trace values are detected, fall back to a safe default of 1.

Additionally, prevent an arithmetic underflow in the touch reporting logic. Previously, if the calculated or fallback width was smaller than ETP_FWIDTH_REDUCE (90), the subtraction would underflow, resulting in a massive unsigned integer being reported to userspace. Clamp the adjusted width to a minimum of 0 to safely handle small physical dimensions and fallback scenarios.

Completing the probe with safe fallback values ensures the sysfs nodes are created, keeping the firmware update path intact so a recovery firmware can be flashed to the device.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6696777c6506fa52b2a0282121195843ed855be6 to before 59d4cc5e7a9785e4bdc9c55273274c6b49d4b58dAffected
  • 6696777c6506fa52b2a0282121195843ed855be6 to before f6d10af2036d1d4a847a74fe47ebbf93bce3c84cAffected
  • 6696777c6506fa52b2a0282121195843ed855be6 to before 2f281ff0163a38fdc4cb4061f0c241e643283a5eAffected
  • 6696777c6506fa52b2a0282121195843ed855be6 to before 8c1db3418a419e788691746b9c47f863c2fd4890Affected
  • 6696777c6506fa52b2a0282121195843ed855be6 to before feb4866a42ec94764c7eb58012256f6f37664727Affected
  • 6696777c6506fa52b2a0282121195843ed855be6 to before 01e0317c256c560d8dcce2e9825eb6142ee34611Affected
  • 6696777c6506fa52b2a0282121195843ed855be6 to before 6bac57d8fe2a077b8a85b4140eeb7999078158ebAffected
  • 6696777c6506fa52b2a0282121195843ed855be6 to before df2b818fa009c10ff6ba875a1663ff001cda9558Affected
LinuxLinux
  • 3.19Affected
  • before 3.19Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.