Input: synaptics-rmi4 - fix GPF in suspend and resume when unbound
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fe10579b6dc3f0dac61e51e1797cacbba5039ac2, Kernel 30366f507ce3e408caf7f7375bb343df54b9a4f9, Kernel 7a3d7c68aa36f68e2a4824da4782c0e5d7c4eba4 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: Input: synaptics-rmi4 - fix GPF in suspend and resume when unbound Transport drivers (such as rmi_i2c and rmi_spi) invoke rmi_driver_suspend() and rmi_driver_resume() on their child rmi_dev device during system power management events. However, transport drivers are fully registered and operational even if the physical RMI driver failed to bind or probe the rmi_dev device. When rmi_driver_suspend() or rmi_driver_resume() is called on an unbound rmi_dev, dev_get_drvdata() returns NULL. Calling rmi_disable_irq() or rmi_enable_irq() without driver data attached causes a NULL pointer dereference and General Protection Fault when attempting to lock data->enabled_mutex. Fix this by checking if driver data is attached to rmi_dev in rmi_driver_suspend() and rmi_driver_resume(), exiting early if no driver data is present.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2b6a321da9a2d8725a1d3dbb0b2e96a7618ebe56 <fe10579b6dc3f0dac61e51e1797cacbba5039ac2, >=2b6a321da9a2d8725a1d3dbb0b2e96a7618ebe56 <30366f507ce3e408caf7f7375bb343df54b9a4f9, >=2b6a321da9a2d8725a1d3dbb0b2e96a7618ebe56 <7a3d7c68aa36f68e2a4824da4782c0e5d7c4eba4, >=2b6a321da9a2d8725a1d3dbb0b2e96a7618ebe56 <84145a4a1dc58f8959811913c5f61f3235dd9f6c, >=2b6a321da9a2d8725a1d3dbb0b2e96a7618ebe56 <942b06a19252908d0f952c0590caf20e47f88252, >=2b6a321da9a2d8725a1d3dbb0b2e96a7618ebe56 <e2b6703465c1ce43edb91c1626604b7092b3c431, >=2b6a321da9a2d8725a1d3dbb0b2e96a7618ebe56 <fa1713dc3d43d028d6cb66e5659d9d7e83b73362, >=2b6a321da9a2d8725a1d3dbb0b2e96a7618ebe56 <fafca210631d8c2d4311bdfccc5ec46b9fe65977, =4.6 | fe10579b6dc3f0dac61e51e1797cacbba5039ac2, 30366f507ce3e408caf7f7375bb343df54b9a4f9, 7a3d7c68aa36f68e2a4824da4782c0e5d7c4eba4, 84145a4a1dc58f8959811913c5f61f3235dd9f6c, 942b06a19252908d0f952c0590caf20e47f88252, e2b6703465c1ce43edb91c1626604b7092b3c431, fa1713dc3d43d028d6cb66e5659d9d7e83b73362, fafca210631d8c2d4311bdfccc5ec46b9fe65977 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=4.6.0 <5.10.271 | 5.15.222, 6.1.189, 6.18.54, 7.2.8, 6.6.158, 6.12.112, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket