In the Linux kernel, the following vulnerability has been resolved: Input: goodix - clamp the device-reported contact count… (CVE-2026-64274)
A vulnerability in the Linux kernel's Goodix touchscreen driver allows a stack out-of-bounds write due to improper clamping of the device-reported contact count. The driver accepts up to 15 contacts from the device configuration, but the buffer is sized for only 10 contacts, leading to potential memory corruption. This issue arises from trusting a 4-bit field in the device configuration without limiting it to the buffer size. The vulnerability has been resolved by clamping the maximum touch count to the buffer's capacity.
AI Analysis
Technical Summary
The Linux kernel Goodix touchscreen driver (goodix_ts_read_input_report) copies the number of touch points reported by the device into a fixed-size stack buffer sized for 10 contacts. The maximum touch count is read from a 4-bit field in the device configuration, which can report up to 15 contacts. Because this value is not clamped to the buffer size, a malicious or faulty device can cause the driver to write beyond the buffer boundary by up to 30 bytes, resulting in a stack out-of-bounds write. The fix clamps the maximum touch count to the buffer size (GOODIX_MAX_CONTACTS) to prevent this overflow.
Potential Impact
This vulnerability can cause a stack out-of-bounds write in the kernel, potentially leading to memory corruption, system instability, or escalation of privileges if exploited. However, exploitation requires control or manipulation of the Goodix touchscreen device or the I2C bus, which limits the attack surface. No known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix is available and has been applied by clamping the maximum reported touch count to the buffer size. Users should update their Linux kernel to a version that includes this fix. Since this is a kernel-level vulnerability, applying the official kernel patch or upgrading to a fixed kernel release is the recommended mitigation.
In the Linux kernel, the following vulnerability has been resolved: Input: goodix - clamp the device-reported contact count… (CVE-2026-64274)
Description
A vulnerability in the Linux kernel's Goodix touchscreen driver allows a stack out-of-bounds write due to improper clamping of the device-reported contact count. The driver accepts up to 15 contacts from the device configuration, but the buffer is sized for only 10 contacts, leading to potential memory corruption. This issue arises from trusting a 4-bit field in the device configuration without limiting it to the buffer size. The vulnerability has been resolved by clamping the maximum touch count to the buffer's capacity.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel Goodix touchscreen driver (goodix_ts_read_input_report) copies the number of touch points reported by the device into a fixed-size stack buffer sized for 10 contacts. The maximum touch count is read from a 4-bit field in the device configuration, which can report up to 15 contacts. Because this value is not clamped to the buffer size, a malicious or faulty device can cause the driver to write beyond the buffer boundary by up to 30 bytes, resulting in a stack out-of-bounds write. The fix clamps the maximum touch count to the buffer size (GOODIX_MAX_CONTACTS) to prevent this overflow.
Potential Impact
This vulnerability can cause a stack out-of-bounds write in the kernel, potentially leading to memory corruption, system instability, or escalation of privileges if exploited. However, exploitation requires control or manipulation of the Goodix touchscreen device or the I2C bus, which limits the attack surface. No known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix is available and has been applied by clamping the maximum reported touch count to the buffer size. Users should update their Linux kernel to a version that includes this fix. Since this is a kernel-level vulnerability, applying the official kernel patch or upgrading to a fixed kernel release is the recommended mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pfx5-jw3v-f6mp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64274"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420f9c2644c7f80868c6
Added to database: 07/25/2026, 23:09:03 UTC
Last enriched: 07/25/2026, 23:41:40 UTC
Last updated: 07/26/2026, 05:00:01 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.