CVE-2026-64270
Received Received - Intake

Buffer Overflow in Linux Kernel mms114 Driver

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

Publication date: 2026-07-25

Last updated on: 2026-07-25

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: Input: mms114 - reject an oversized device packet size mms114_interrupt() reads a packet of touch data from the device into a fixed-size on-stack buffer struct mms114_touch touch[MMS114_MAX_TOUCH]; which holds MMS114_MAX_TOUCH (10) events of MMS114_EVENT_SIZE (8) bytes, i.e. 80 bytes. The length of the I2C read into it is taken verbatim from the device: packet_size = mms114_read_reg(data, MMS114_PACKET_SIZE); if (packet_size <= 0) goto out; ... error = __mms114_read_reg(data, MMS114_INFORMATION, packet_size, (u8 *)touch); packet_size is a single device register byte (0x0F) and the only check is the lower bound packet_size <= 0; it is never bounded against the size of touch[]. A malfunctioning, malicious or counterfeit controller (or an attacker tampering with the I2C bus) can report a packet_size of up to 255, so __mms114_read_reg() writes up to 175 bytes past the end of touch[] on the IRQ-thread stack: a stack out-of-bounds write that can overwrite the stack canary, saved registers and the return address. A well-formed device never reports more than the buffer holds, so reject an oversized packet and drop the report, consistent with the handler's other error paths, rather than reading past the buffer.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-25
Last Modified
2026-07-25
Generated
2026-07-25
AI Q&A
2026-07-25
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 stack-based buffer overflow in the Linux kernel's mms114 touchscreen driver. A malicious device or attacker can send an oversized packet size (up to 255 bytes) via the I2C bus. The driver reads this size without proper bounds checking and writes it into a fixed-size 80-byte buffer on the stack. This causes a write past the buffer, potentially overwriting critical stack data like the canary, registers, and return address.

Detection Guidance

This vulnerability is specific to the Linux kernel's mms114 touchscreen driver and cannot be detected via network scans. Check if your system uses the mms114 driver by running: lsmod | grep mms114. If loaded, monitor kernel logs for crashes or stack corruption during touchscreen interactions.

Impact Analysis

An attacker with access to the I2C bus could exploit this to execute arbitrary code on the system with kernel privileges. This could lead to system compromise, data theft, or denial of service. Systems using affected touchscreen hardware are at risk if the driver is loaded.

Mitigation Strategies

Update your Linux kernel to the latest patched version. If immediate patching is not possible, disable the mms114 driver by blacklisting it: echo 'blacklist mms114' > /etc/modprobe.d/blacklist-mms114.conf and reboot. Avoid using untrusted USB or I2C devices that could exploit this.

Chat Assistant

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

EPSS Chart