CVE-2026-89620
Received Received - Intake

Buffer Overflow in Linux Kernel HID Driver

Vulnerability report for CVE-2026-89620, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-11

Last updated on: 2026-09-11

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: HID: intel-thc-hid: intel-quickspi: validate report size before copy write_cmd_to_txdma() builds an output report in qsdev->report_buf, a heap buffer allocated in quickspi_alloc_report_buf() to the device-descriptor derived max_report_len (a few hundred bytes for a touch controller). It copies the caller-supplied report into that buffer: memcpy(write_buf->content, report_buf, report_buf_len); The HID core caps a report at HID_MAX_BUFFER_SIZE (16384) by default, and quickspi_hid_ll_driver does not set max_buffer_size, so the length reaches the driver unbounded. A hidraw SET_REPORT/SET_FEATURE ioctl carrying a report larger than max_report_len therefore overflows report_buf with attacker-controlled length and content. Record the report_buf allocation size and reject reports that do not fit before copying, matching the equivalent guard in the intel-quicki2c sibling (quicki2c_init_write_buf()) and the hid-goodix-spi fix. write_cmd_to_txdma() writes the output report header ahead of the content in the same buffer, so size the allocation to cover the header as well. That keeps the added bound from rejecting a maximum-sized report.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-11
Last Modified
2026-09-11
Generated
2026-09-12
AI Q&A
2026-09-12
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a heap buffer overflow vulnerability in the Linux kernel's HID subsystem, specifically in the intel-thc-hid and intel-quickspi drivers. The issue occurs when the write_cmd_to_txdma() function copies a user-supplied report into a heap buffer without validating its size against the buffer's allocated length. Attackers can exploit this by sending oversized reports via hidraw SET_REPORT/SET_FEATURE ioctls, causing memory corruption.

Detection Guidance

This vulnerability is specific to the Linux kernel's HID subsystem, particularly the intel-thc-hid and intel-quickspi drivers. Detection requires checking for kernel logs or system crashes related to HID device interactions. Monitor for errors like buffer overflows or memory corruption when using hidraw devices. Check kernel logs with 'dmesg | grep -i hid' or 'journalctl -k | grep -i hid'.

Impact Analysis

If exploited, this vulnerability could allow attackers to execute arbitrary code, crash the system, or escalate privileges on affected Linux systems. Systems using the intel-thc-hid or intel-quickspi drivers with HID devices are at risk. The attack requires local access via hidraw ioctls, limiting remote exploitation but still posing a significant threat to local security.

Mitigation Strategies

Apply the latest kernel updates from your Linux distribution to patch the vulnerability. If immediate patching is not possible, disable the affected HID drivers (intel-thc-hid, intel-quickspi) by blacklisting them in /etc/modprobe.d/. Restrict access to hidraw devices to prevent unauthorized SET_REPORT/SET_FEATURE ioctl calls.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-89620. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart