{"id":"CVE-2026-64275","aliases":["CVE-2026-64275"],"related":[],"kind":"vulnerability","state":"published","title":"Input: elan_i2c - prevent division by zero and arithmetic underflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nEntrada: elan_i2c - prevenir la división por cero y el desbordamiento negativo aritmético\n\nEl controlador del panel táctil Elan I2C consulta el dispositivo para sus dimensiones físicas y recuentos de trazas para calcular la resolución y el ancho del dispositivo. Sin embargo, si el firmware del dispositivo o el árbol de dispositivos proporciona valores cero inválidos para x_traces o y_traces, resulta en una excepción fatal de división por cero que lleva a un pánico del kernel durante la detección del dispositivo.\n\nAñadir comprobaciones para asegurar que estos parámetros no sean cero antes de realizar la división. Si se detectan valores de traza inválidos, se recurre a un valor predeterminado seguro de 1.\n\nAdemás, prevenir un desbordamiento negativo aritmético en la lógica de informe táctil. Anteriormente, si el ancho calculado o de respaldo era menor que ETP_FWIDTH_REDUCE (90), la resta sufriría un desbordamiento negativo, resultando en un entero sin signo masivo siendo informado al espacio de usuario. Limitar el ancho ajustado a un mínimo de 0 para manejar de forma segura pequeñas dimensiones físicas y escenarios de respaldo.\n\nCompletar la detección con valores de respaldo seguros asegura que los nodos sysfs sean creados, manteniendo intacta la ruta de actualización del firmware para que un firmware de recuperación pueda ser flasheado al dispositivo.","source":"nvd"}],"published":"2026-07-25T08:49:20.669Z","modified":"2026-11-06T17:18:45.083Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-369"],"affected":[{"ranges":[{"type":"git","introduced":"6696777c6506fa52b2a0282121195843ed855be6","fixed":"59d4cc5e7a9785e4bdc9c55273274c6b49d4b58d","status":"affected"},{"type":"git","introduced":"6696777c6506fa52b2a0282121195843ed855be6","fixed":"f6d10af2036d1d4a847a74fe47ebbf93bce3c84c","status":"affected"},{"type":"git","introduced":"6696777c6506fa52b2a0282121195843ed855be6","fixed":"2f281ff0163a38fdc4cb4061f0c241e643283a5e","status":"affected"},{"type":"git","introduced":"6696777c6506fa52b2a0282121195843ed855be6","fixed":"8c1db3418a419e788691746b9c47f863c2fd4890","status":"affected"},{"type":"git","introduced":"6696777c6506fa52b2a0282121195843ed855be6","fixed":"feb4866a42ec94764c7eb58012256f6f37664727","status":"affected"},{"type":"git","introduced":"6696777c6506fa52b2a0282121195843ed855be6","fixed":"01e0317c256c560d8dcce2e9825eb6142ee34611","status":"affected"},{"type":"git","introduced":"6696777c6506fa52b2a0282121195843ed855be6","fixed":"6bac57d8fe2a077b8a85b4140eeb7999078158eb","status":"affected"},{"type":"git","introduced":"6696777c6506fa52b2a0282121195843ed855be6","fixed":"df2b818fa009c10ff6ba875a1663ff001cda9558","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.19","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.19","fixed":"5.10.261"},{"status":"affected","introduced":"5.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.178"},{"status":"affected","introduced":"6.2","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/59d4cc5e7a9785e4bdc9c55273274c6b49d4b58d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6d10af2036d1d4a847a74fe47ebbf93bce3c84c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f281ff0163a38fdc4cb4061f0c241e643283a5e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c1db3418a419e788691746b9c47f863c2fd4890","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/feb4866a42ec94764c7eb58012256f6f37664727","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01e0317c256c560d8dcce2e9825eb6142ee34611","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bac57d8fe2a077b8a85b4140eeb7999078158eb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df2b818fa009c10ff6ba875a1663ff001cda9558","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:33:38.485Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64275","url":"https://www.cve.org/CVERecord?id=CVE-2026-64275","licence":"CVE Terms of Use","modified":"2026-11-06T16:34:32.304Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64275","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64275","licence":"Public domain","modified":"2026-11-06T17:18:45.083Z"}],"updatedAt":"2026-11-25T22:59:30.047Z","epss":{"score":0.0016,"percentile":0.05458,"date":"2026-12-01T12:00:22.000Z"}}