gpio: pca953x: fix pca953x_irq_bus_sync_unlock regmap lock
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5d05c4252c09ce10624be2197853c80bf87424e4, Kernel 6.6.160, Kernel 6.10 and 9 more.
In the Linux kernel, the following vulnerability has been resolved: gpio: pca953x: fix pca953x_irq_bus_sync_unlock regmap lock Locking is disabled in the regmap config as this driver uses its own lock. This means that all calls to regmap functions (read or write) must hold the i2c_lock. The function pca953x_irq_bus_sync_unlock() did not do this, and it was therefore possible that multiple threads could cause an incorrect register to be read/written. A previous patch partly fixed this, but only protected the write to the interrupt mask register, and not the read from the direction register.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e2ecdddca80dd845df42376e4b0197fe97018ba2 <5d05c4252c09ce10624be2197853c80bf87424e4, >=6.6.42 <6.6.160, >=6.9.11 <6.10, >=bfc6444b57dc7186b6acc964705d7516cbaf3904 <41255e64eb9dd87b0b8675f4e47a9c67bcef6e39, >=bfc6444b57dc7186b6acc964705d7516cbaf3904 <9dc325327babe7f159e84cbe9380a45342da0585, >=bfc6444b57dc7186b6acc964705d7516cbaf3904 <bf3f37c2d40b51deb79aea910f28999d7c8c6b5a, >=bfc6444b57dc7186b6acc964705d7516cbaf3904 <e6a2f5f845f50b0c4299bace5111f56d3390a090, =6.10, =de7cffa53149c7b48bd1bb29b02390c9f05b7f41, >=58a5c93bd1a6e949267400080f07e57ffe05ec34 <58ed56c093a857c19f04cf3db1f02d2e793aec88, >=6.1.101 <6.1.191 | 5d05c4252c09ce10624be2197853c80bf87424e4, 6.6.160, 6.10, 41255e64eb9dd87b0b8675f4e47a9c67bcef6e39, 9dc325327babe7f159e84cbe9380a45342da0585, bf3f37c2d40b51deb79aea910f28999d7c8c6b5a, e6a2f5f845f50b0c4299bace5111f56d3390a090, 58ed56c093a857c19f04cf3db1f02d2e793aec88, 6.1.191 |
| linux-kernel: Kernel | >=6.10.0 <6.12.114, >=6.13.0 <6.18.57, >=6.19.0 <7.1.9, >=6.6.42 <6.6.160, >=6.9.11 <6.10, >=6.1.101 <6.1.191 | 6.12.114, 6.18.57, 7.1.9, 6.6.160, 6.10, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket