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.
https://git.kernel.org/stable/c/a747c4eb02656afdbd92eea83b88e92715a23977
https://git.kernel.org/stable/c/a6ac4e24c1a8a533bb61035184fdcc7eede4cc8d
https://git.kernel.org/stable/c/7c00a0787af7164438bdbc97fcae9733cfc58d21
https://git.kernel.org/stable/c/75b12874b4172533b9efc349db328cb1a59c3981
https://git.kernel.org/stable/c/112666835071d935fef764aab590339e97216d4a