CVE-2026-64270
High · 7.8CVSS
7.8
EPSS
0.2%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
Some Linux devices with a specific touchscreen controller can be crashed or potentially compromised if the touchscreen hardware sends an unexpectedly large data packet.
- Exploitation
- Physical Access
- Attacker needs
- Physical Access
- Complexity
- High
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
This is a Linux kernel stack-based out-of-bounds write in the mms114 touchscreen input driver. During interrupt handling, the driver reads a device-controlled packet-size register and uses that value as the length for an I2C read into a fixed 80-byte stack buffer that can hold 10 touch events. Because the packet size is only checked for being positive and is not capped at the buffer size, a faulty, malicious, counterfeit, or bus-tampered controller can request up to 255 bytes, causing writes beyond the stack buffer. The overflow may corrupt the stack canary, saved registers, adjacent stack data, or potentially the return address in the IRQ thread context, leading to kernel crash, denial of service, or, in harder-to-achieve cases, kernel-mode code execution.
Why it matters to the business
Systems that use the affected Linux kernel driver with MMS114-compatible touchscreen hardware may be vulnerable to crashes or device compromise triggered by a malicious peripheral, counterfeit replacement part, firmware fault, or physical/I2C-bus tampering. The practical exposure is narrower than a remotely exploitable network flaw because exploitation requires control over, or interference with, the touchscreen controller or I2C bus. However, affected embedded, kiosk, industrial, mobile, medical, or consumer devices can experience operational outages, safety-impacting loss of input functionality, costly field replacement cycles, or persistent trust concerns around hardware supply chain integrity. EPSS is low and the vulnerability is not listed in CISA KEV, so prioritization should be risk-based, with higher urgency for devices exposed to physical access, untrusted peripherals, or high-availability operational roles.
How an attack unfolds
An attacker first needs a path to influence the MMS114 touchscreen controller or the I2C traffic between the controller and the host, such as installing a malicious or counterfeit controller, modifying controller firmware, compromising a peripheral supply chain, or physically tampering with the I2C bus. When the touchscreen interrupt handler runs, the kernel reads the controller's packet-size register. A malicious device reports a value larger than the 80-byte stack buffer that the driver allocated for touch events. The driver then performs an I2C read using the attacker-controlled size and copies excessive data into the stack buffer. The overrun corrupts adjacent IRQ-thread stack memory. Depending on kernel configuration, architecture, stack layout, and mitigations such as stack canaries, KASLR, SMEP/SMAP, and control-flow protections, the most likely result is a kernel warning, oops, panic, or device reboot. With precise control and mitigation bypasses, the corrupted stack state could potentially be shaped into kernel control-flow hijacking and privilege escalation, but no public exploit maturity is indicated.
How to fix it
Update to a Linux kernel build that includes the fix for the mms114 input driver, which rejects packet sizes larger than the fixed touch-event buffer before performing the I2C read. If vendor kernels are used, obtain the patched kernel or device firmware image from the device, distribution, or SoC vendor rather than relying only on upstream version names. Where immediate patching is not possible, reduce exposure by disabling or unloading the mms114 touchscreen driver on systems that do not require it, restricting physical access to devices and internal buses, using trusted replacement parts, validating peripheral supply chains, and enabling kernel hardening features such as stack protector, panic-on-oops policy appropriate to the environment, module signing, secure boot, and kernel lockdown. For embedded fleets, include this fix in the next signed firmware/kernel update and prioritize models that expose touchscreens in public or semi-trusted locations.
How to confirm the fix worked
Confirm exposure by checking whether the running kernel includes the mms114 driver and whether the hardware/device tree or kernel logs show an MMS114-compatible touchscreen. Validate remediation by confirming the installed kernel package or firmware build contains the upstream fix that bounds the packet size before calling the I2C read. If source is available, verify that the mms114 interrupt path rejects packet sizes larger than the maximum supported touch buffer rather than using the device register value directly. Runtime validation can include reviewing boot logs for mms114 device initialization, confirming the patched kernel is running after reboot, and, in a lab only, using controlled hardware or bus emulation to verify that an oversized packet-size value is rejected without kernel oops, panic, or stack-protector alerts.
Typical attack path
- Identify a target device that uses the Linux mms114 touchscreen input driver and an MMS114-compatible controller.
- Gain control over the touchscreen controller, substitute a malicious/counterfeit component, alter controller firmware, or physically interfere with the I2C bus.
- Cause the controller to raise an interrupt so the kernel enters the mms114 interrupt handler.
- Return an oversized packet-size register value greater than the 80-byte touch-event buffer.
- Supply enough I2C data for the driver to write past the stack buffer during the read operation.
- Trigger kernel stack corruption, resulting in a crash or, with advanced exploitation and mitigation bypass, possible kernel-level code execution.
How to detect it
Detection should focus on evidence of attempted oversized touchscreen packets causing kernel instability, because there are no known network indicators and exploitation requires hardware, firmware, or bus-level influence. Collect kernel logs, persistent journal records, serial console output, crash dumps, pstore/ramoops data, kdump vmcores, and device health telemetry. Look for kernel oops, panic, stack-protector, IRQ-thread failure, or I2C transfer errors around the mms114 touchscreen driver. Investigate repeated crashes triggered by touch activity, boot-time initialization of MMS114 hardware followed by unexplained kernel faults, or failures that occur after device repair or peripheral replacement. For forensic analysis, correlate crash timestamps with physical access logs, maintenance events, component replacements, firmware updates, or tamper alerts. A successful exploitation attempt may leave only volatile evidence unless crash dump or persistent kernel logging is enabled.
- mms114_interrupt
- __mms114_read_reg
- mms114
- MMS114_PACKET_SIZE
- MMS114_INFORMATION
- stack-protector: Kernel stack is corrupted
- Kernel panic - not syncing
- Oops:
- BUG: unable to handle kernel
- irq/
- i2c
What your security team should do
- Inventory Linux-based products and embedded devices that include MMS114-compatible touchscreen hardware or load the mms114 input driver.
- Prioritize patching public-access, kiosk, field-deployed, high-availability, or safety-sensitive devices where physical or supply-chain tampering is plausible.
- Obtain patched kernels or firmware images from the responsible OS, device, or silicon vendor and schedule deployment through normal firmware signing and rollout controls.
- If the touchscreen is not required, disable the driver or remove it from custom kernel builds to eliminate the vulnerable attack surface.
- Review procurement and repair processes for touchscreen controllers to reduce the risk of counterfeit or malicious replacement components.
- Monitor kernel logs for stack corruption, oops, panic, or IRQ-thread crashes referencing the mms114 driver or I2C read path.
- For product security teams, add hardware-in-the-loop or I2C-fuzz testing for device-controlled length fields in kernel drivers.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-120931 Out of bounds write in WebGL in Google Chrome on on Android prior to 156.0.8078.47… CWE-787
- CVE-2026-61495 TinyUSB through 0.21.0, fixed in commit e85c2b8, contains an out-of-bounds write… CWE-787
- CVE-2026-121037 Out of bounds write in ANGLE in Google Chrome on on Windows prior to 157.0.8103.38… CWE-787
- CVE-2026-120952 An out-of-bounds write in the MongoDB Atlas SQL ODBC Driver may be triggered when a value… CWE-787
- CVE-2026-120959 A memory-handling flaw in the MongoDB Atlas SQL ODBC Driver can cause values returned for… CWE-787
- CVE-2026-63418 Monitoring Plugins is a suite of plugins for monitoring applications. CWE-787
- CVE-2026-40661 An out-of-bounds write (OOW) condition in the AMD Compressonator SDK could allow an… CWE-787
- CVE-2026-121513 Off-by-one Heap Overflow in µD3TN v0.15.1 SPP Parser allows Unauthenticated Remote… CWE-787