In the Linux kernel, the following vulnerability has been resolved: Input: mms114 - reject an oversized device packet size mms114_interrupt() reads… (CVE-2026-64270)
A vulnerability in the Linux kernel's mms114 driver allows a stack out-of-bounds write due to improper validation of a device-reported packet size. The mms114_interrupt() function reads touch data into a fixed-size buffer but does not check if the packet size exceeds the buffer capacity. This can lead to overwriting critical stack data such as the stack canary, saved registers, and return address. The issue arises from trusting a single device register byte for packet size without an upper bound check. The vulnerability has been resolved by rejecting oversized packets and dropping the report to prevent buffer overflow.
AI Analysis
Technical Summary
The Linux kernel mms114 driver reads touch data packets from a device into a fixed-size on-stack buffer designed to hold 80 bytes (10 events × 8 bytes each). The packet size is read from a device register as a single byte and only checked to be greater than zero, but not bounded against the buffer size. A malicious or malfunctioning device can report a packet size up to 255 bytes, causing the __mms114_read_reg() function to write up to 175 bytes beyond the buffer on the IRQ thread stack. This stack out-of-bounds write can overwrite the stack canary, saved registers, and return address, potentially leading to arbitrary code execution or kernel corruption. The fix involves rejecting packets that exceed the buffer size and dropping such reports, consistent with existing error handling.
Potential Impact
This vulnerability allows a stack buffer overflow in the Linux kernel's mms114 driver, which can corrupt kernel stack memory including the stack canary and return address. This corruption could be exploited to execute arbitrary code with kernel privileges or cause a denial of service by crashing the kernel. The vulnerability requires a malicious or malfunctioning device or attacker with the ability to tamper with the I2C bus to report an oversized packet size.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix rejects oversized packets and drops the report instead of reading past the buffer. Until an official patch is confirmed, avoid using untrusted or counterfeit devices that interact with the mms114 driver and monitor vendor advisories for updates.
In the Linux kernel, the following vulnerability has been resolved: Input: mms114 - reject an oversized device packet size mms114_interrupt() reads… (CVE-2026-64270)
Description
A vulnerability in the Linux kernel's mms114 driver allows a stack out-of-bounds write due to improper validation of a device-reported packet size. The mms114_interrupt() function reads touch data into a fixed-size buffer but does not check if the packet size exceeds the buffer capacity. This can lead to overwriting critical stack data such as the stack canary, saved registers, and return address. The issue arises from trusting a single device register byte for packet size without an upper bound check. The vulnerability has been resolved by rejecting oversized packets and dropping the report to prevent buffer overflow.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel mms114 driver reads touch data packets from a device into a fixed-size on-stack buffer designed to hold 80 bytes (10 events × 8 bytes each). The packet size is read from a device register as a single byte and only checked to be greater than zero, but not bounded against the buffer size. A malicious or malfunctioning device can report a packet size up to 255 bytes, causing the __mms114_read_reg() function to write up to 175 bytes beyond the buffer on the IRQ thread stack. This stack out-of-bounds write can overwrite the stack canary, saved registers, and return address, potentially leading to arbitrary code execution or kernel corruption. The fix involves rejecting packets that exceed the buffer size and dropping such reports, consistent with existing error handling.
Potential Impact
This vulnerability allows a stack buffer overflow in the Linux kernel's mms114 driver, which can corrupt kernel stack memory including the stack canary and return address. This corruption could be exploited to execute arbitrary code with kernel privileges or cause a denial of service by crashing the kernel. The vulnerability requires a malicious or malfunctioning device or attacker with the ability to tamper with the I2C bus to report an oversized packet size.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix rejects oversized packets and drops the report instead of reading past the buffer. Until an official patch is confirmed, avoid using untrusted or counterfeit devices that interact with the mms114 driver and monitor vendor advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q4qw-j7hr-9445
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64270"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420e9c2644c7f808660f
Added to database: 07/25/2026, 23:09:02 UTC
Last enriched: 07/25/2026, 23:41:17 UTC
Last updated: 07/26/2026, 04:58:49 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.