Input: elan_i2c - prevent division by zero and arithmetic underflow

Summary

CVECVE-2026-64275
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-25 10:17:07 UTC
Updated2026-07-25 10:17:07 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002110000 probability, percentile 0.114280000 (date 2026-07-27)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 6696777c6506fa52b2a0282121195843ed855be6 59d4cc5e7a9785e4bdc9c55273274c6b49d4b58d git Not specified
CNA Linux Linux affected 6696777c6506fa52b2a0282121195843ed855be6 f6d10af2036d1d4a847a74fe47ebbf93bce3c84c git Not specified
CNA Linux Linux affected 6696777c6506fa52b2a0282121195843ed855be6 2f281ff0163a38fdc4cb4061f0c241e643283a5e git Not specified
CNA Linux Linux affected 6696777c6506fa52b2a0282121195843ed855be6 8c1db3418a419e788691746b9c47f863c2fd4890 git Not specified
CNA Linux Linux affected 6696777c6506fa52b2a0282121195843ed855be6 feb4866a42ec94764c7eb58012256f6f37664727 git Not specified
CNA Linux Linux affected 6696777c6506fa52b2a0282121195843ed855be6 01e0317c256c560d8dcce2e9825eb6142ee34611 git Not specified
CNA Linux Linux affected 6696777c6506fa52b2a0282121195843ed855be6 6bac57d8fe2a077b8a85b4140eeb7999078158eb git Not specified
CNA Linux Linux affected 6696777c6506fa52b2a0282121195843ed855be6 df2b818fa009c10ff6ba875a1663ff001cda9558 git Not specified
CNA Linux Linux affected 3.19 Not specified
CNA Linux Linux unaffected 3.19 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.96 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.39 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.4 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6bac57d8fe2a077b8a85b4140eeb7999078158eb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/59d4cc5e7a9785e4bdc9c55273274c6b49d4b58d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2f281ff0163a38fdc4cb4061f0c241e643283a5e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f6d10af2036d1d4a847a74fe47ebbf93bce3c84c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/01e0317c256c560d8dcce2e9825eb6142ee34611 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/df2b818fa009c10ff6ba875a1663ff001cda9558 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/feb4866a42ec94764c7eb58012256f6f37664727 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8c1db3418a419e788691746b9c47f863c2fd4890 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report