Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: Input: goodix - clamp the device-reported contact count… (CVE-2026-64274)

0
High
Published: 07/25/2026 (07/25/2026, 12:31:28 UTC)
Source: GCVE Database

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

AILast updated: 07/25/2026, 23:41:40 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses