Input: mms114 - fix touch indexing for MMS134S and MMS136
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.6.145, Kernel 6.18.39, Kernel 7.1.4 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.13 <6.6.145, >=6.13 <6.18.39, >=6.19 <7.1.4, >=6.7 <6.12.96, >=53fefdd1d3a3403d8c44e28898d1031d8763b913 <112666835071d935fef764aab590339e97216d4a, >=53fefdd1d3a3403d8c44e28898d1031d8763b913 <38de2979d90d8cd94f18e0567be4c8342d0e0410, >=53fefdd1d3a3403d8c44e28898d1031d8763b913 <75b12874b4172533b9efc349db328cb1a59c3981, >=53fefdd1d3a3403d8c44e28898d1031d8763b913 <7c00a0787af7164438bdbc97fcae9733cfc58d21, >=53fefdd1d3a3403d8c44e28898d1031d8763b913 <a6ac4e24c1a8a533bb61035184fdcc7eede4cc8d, >=53fefdd1d3a3403d8c44e28898d1031d8763b913 <a747c4eb02656afdbd92eea83b88e92715a23977, =5.13, >=53fefdd1d3a3403d8c44e28898d1031d8763b913 <062bbe55a1f6d77b89d07135ba3b09f97bfac1cb | 6.6.145, 6.18.39, 7.1.4, 6.12.96, 112666835071d935fef764aab590339e97216d4a, 38de2979d90d8cd94f18e0567be4c8342d0e0410, 75b12874b4172533b9efc349db328cb1a59c3981, 7c00a0787af7164438bdbc97fcae9733cfc58d21, a6ac4e24c1a8a533bb61035184fdcc7eede4cc8d, a747c4eb02656afdbd92eea83b88e92715a23977, 062bbe55a1f6d77b89d07135ba3b09f97bfac1cb |
| linux-kernel: Kernel | >=5.13.0 <5.15.217, >=5.16.0 <6.1.184, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.2.0 <6.6.145, >=6.7.0 <6.12.96 | 5.15.217, 6.1.184, 6.18.39, 7.1.4, 6.6.145, 6.12.96 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket