CVE-2026-64270: Input: mms114 - reject an oversized device packet size

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Input: mms114 - reject an oversized device packet size

mms114interrupt() reads a packet of touch data from the device into a fixed-size on-stack buffer

struct mms114touch touch[MMS114MAXTOUCH];

which holds MMS114MAXTOUCH (10) events of MMS114EVENTSIZE (8) bytes, i.e. 80 bytes. The length of the I2C read into it is taken verbatim from the device:

packetsize = mms114readreg(data, MMS114PACKETSIZE); if (packetsize <= 0) goto out; ... error = mms114readreg(data, MMS114INFORMATION, packetsize, (u8 )touch);

packetsize is a single device register byte (0x0F) and the only check is the lower bound packetsize <= 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 packetsize of up to 255, so mms114readreg() 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.

Affected Software

5 affected components
Linux Linux kernel
Linux Linux kernel>=3.6<6.6.145
Linux Linux kernel>=6.7<6.12.96
Linux Linux kernel>=6.13<6.18.39
Linux Linux kernel>=6.19<7.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel input driver: mms114 to a version that resolves this vulnerability.

    Patch Input: mms114 - reject an oversized device packet size
  2. Configuration

    Apply the handler change so that mms114 rejects an oversized device packet_size instead of using it verbatim to read into the fixed-size on-stack buffer (i.e., ensure packet_size is bounded against the touch[] buffer capacity; if oversized, drop the report rather than reading past the buffer).

    mms114 device packet_size bounds check = drop report when packet_size exceeds fixed-size on-stack buffer; keep lower bound check packet_size > 0

Event History

Jul 25, 2026
CVE Published
via MITRE·08:49 AM
Data Sourced
via MITRE·08:49 AM
Description
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64270?

CVE-2026-64270 has a severity rating of high with a CVSS score of 7.8.

2

How do I fix CVE-2026-64270?

To fix CVE-2026-64270, apply the available patch from the Linux kernel.

3

What part of the Linux kernel is affected by CVE-2026-64270?

CVE-2026-64270 affects the mms114_interrupt() function in the Linux kernel.

4

What type of vulnerability is CVE-2026-64270?

CVE-2026-64270 is an input validation vulnerability that can reject oversized device packet sizes.

5

What are the potential impacts of CVE-2026-64270?

CVE-2026-64270 could lead to denial of service or arbitrary code execution due to buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203