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…
EPSS 0.2%top 94%

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

In the Linux kernel, the following vulnerability has been resolved: Input: goodix - clamp the device-reported contact count goodix_ts_read_input_report() copies the number of touch points reported by the device into an on-stack buffer u8 point_data[2 + GOODIX_MAX_CONTACT_SIZE * GOODIX_MAX_CONTACTS]; which is sized for at most GOODIX_MAX_CONTACTS (10) contacts. The only runtime check bounds the per-interrupt count against ts->max_touch_num, but that value is taken verbatim from a 4-bit field of the device configuration block and is never clamped: ts->max_touch_num = ts->config[MAX_CONTACTS_LOC] & 0x0f; The nibble can be 0..15, so a malfunctioning, malicious or counterfeit controller (or an attacker tampering with the I2C bus) can advertise up to 15 contacts. goodix_ts_read_input_report() then accepts a touch_num of up to 15 and the second goodix_i2c_read() writes ts->contact_size * (touch_num - 1) bytes past the one-contact header into point_data - up to 30 bytes (45 with the 9-byte report format) beyond the 92-byte buffer: a stack out-of-bounds write. Clamp max_touch_num to GOODIX_MAX_CONTACTS, the number of contacts point_data[] is sized for, when reading it from the configuration.

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: 09/07/2026, 22:52:14 UTC

Views: 41

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