Input: mms114 - fix touch indexing for MMS134S and MMS136
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 90% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
Input: mms114 - fix touch indexing for MMS134S and MMS136
The MMS134S and MMS136 touch controllers have an event size of 6 bytes
rather than 8 bytes. When __mms114_read_reg() reads the touch data
packet from the device into the touch buffer, the events are packed
tightly at 6-byte intervals. However, the driver iterates through the
events using standard C array indexing (touch[index]), where each
element is sizeof(struct mms114_touch) (8 bytes) apart. As a result, any
touch events beyond the first one are read from incorrect offsets and
parsed improperly.
Fix this by explicitly calculating the byte offset for each touch event
based on the device's specific event size.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/112666835071d935fef764aab590339e97216d4ahttps://git.kernel.org/stable/c/75b12874b4172533b9efc349db328cb1a59c3981https://git.kernel.org/stable/c/7c00a0787af7164438bdbc97fcae9733cfc58d21https://git.kernel.org/stable/c/a6ac4e24c1a8a533bb61035184fdcc7eede4cc8dhttps://git.kernel.org/stable/c/a747c4eb02656afdbd92eea83b88e92715a23977