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.
Published: 2026-07-25
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel MMS114 touchscreen driver accepts a packet size supplied by the device without restricting it against the 80‑byte on‑stack buffer. A malicious or malfunctioning controller can report a packet size of up to 255 bytes, causing the driver to read beyond the buffer boundary and overwrite the stack canary, saved registers, and return address. This kernel‑space out‑of‑bounds write can be leveraged to execute arbitrary code with kernel privileges.

Affected Systems

The flaw exists in any Linux kernel that includes the MMS114 driver, a component shipped with mainstream distributions. The affected hardware is the MMS114 touchscreen controller accessed over I2C. Any device – laptops, embedded boards, or other systems – that mounts this controller and runs an unpatched kernel is vulnerable. No specific kernel version is listed, so all builds carrying the unpatched driver should be considered at risk.

Risk and Exploitability

The EPSS score is below 1%, indicating a very low but non‑zero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog, implying no known mass exploitation. A successful exploit would likely require the attacker to influence the device register or tamper with the I2C bus; however, the specific conditions for such manipulation are not explicitly documented in the source. The description implies that physical proximity or compromised firmware might be involved, but this is inferred. With a successful exploit, kernel compromise would result, making the risk severe. The CVSS score of 7.8 classifies it as high severity.

Generated by OpenCVE AI on August 13, 2026 at 19:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the patched MMS114 driver
  • If an immediate kernel upgrade is not possible, restrict physical and logical access to the I2C bus that supplies the MMS114 controller or disable the touch interface
  • Apply a custom kernel module or patch that validates the packet_size to be no greater than the buffer capacity before reading data
  • Use system hardening techniques, such as SELinux or AppArmor profiles, to limit the touch driver’s capabilities and prevent stack overwrites from affecting privileged code

Generated by OpenCVE AI on August 13, 2026 at 19:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Thu, 13 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 01 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
CWE-20

Thu, 30 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
CWE-20
CWE-787

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title Input: mms114 - reject an oversized device packet size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:49:17.541Z

Reserved: 2026-07-19T15:36:31.775Z

Link: CVE-2026-64270

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-25T10:17:07.293

Modified: 2026-08-13T18:27:56.080

Link: CVE-2026-64270

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64270 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T20:00:03Z

Weaknesses