{"id":"CVE-2026-64275","summary":"Input: elan_i2c - prevent division by zero and arithmetic underflow","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: elan_i2c - prevent division by zero and arithmetic underflow\n\nThe Elan I2C touchpad driver queries the device for its physical\ndimensions and trace counts to calculate the device resolution and width.\nHowever, if the device firmware or device tree provides invalid zero\nvalues for x_traces or y_traces, it results in a fatal division-by-zero\nexception leading to a kernel panic during device probe.\n\nAdd checks to ensure these parameters are non-zero before performing\nthe division. If invalid trace values are detected, fall back to a safe\ndefault of 1.\n\nAdditionally, prevent an arithmetic underflow in the touch reporting\nlogic. Previously, if the calculated or fallback width was smaller than\nETP_FWIDTH_REDUCE (90), the subtraction would underflow, resulting in a\nmassive unsigned integer being reported to userspace. Clamp the adjusted\nwidth to a minimum of 0 to safely handle small physical dimensions and\nfallback scenarios.\n\nCompleting the probe with safe fallback values ensures the sysfs nodes\nare created, keeping the firmware update path intact so a recovery\nfirmware can be flashed to the device.","modified":"2026-07-27T04:03:20.767528424Z","published":"2026-07-25T08:49:20.669Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64275.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01e0317c256c560d8dcce2e9825eb6142ee34611"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f281ff0163a38fdc4cb4061f0c241e643283a5e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/59d4cc5e7a9785e4bdc9c55273274c6b49d4b58d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bac57d8fe2a077b8a85b4140eeb7999078158eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8c1db3418a419e788691746b9c47f863c2fd4890"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df2b818fa009c10ff6ba875a1663ff001cda9558"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6d10af2036d1d4a847a74fe47ebbf93bce3c84c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/feb4866a42ec94764c7eb58012256f6f37664727"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64275.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64275"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6696777c6506fa52b2a0282121195843ed855be6"},{"fixed":"59d4cc5e7a9785e4bdc9c55273274c6b49d4b58d"},{"fixed":"f6d10af2036d1d4a847a74fe47ebbf93bce3c84c"},{"fixed":"2f281ff0163a38fdc4cb4061f0c241e643283a5e"},{"fixed":"8c1db3418a419e788691746b9c47f863c2fd4890"},{"fixed":"feb4866a42ec94764c7eb58012256f6f37664727"},{"fixed":"01e0317c256c560d8dcce2e9825eb6142ee34611"},{"fixed":"6bac57d8fe2a077b8a85b4140eeb7999078158eb"},{"fixed":"df2b818fa009c10ff6ba875a1663ff001cda9558"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64275.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.19.0"},{"fixed":"5.10.261"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.96"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64275.json"}}],"schema_version":"1.7.5"}