Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e2ecdddca80dd845df42376e4b0197fe97018ba2 to < 5d05c4252c09ce10624be2197853c80bf87424e4affectedbfc6444b57dc7186b6acc964705d7516cbaf3904 to < 41255e64eb9dd87b0b8675f4e47a9c67bcef6e39affectedbfc6444b57dc7186b6acc964705d7516cbaf3904 to < bf3f37c2d40b51deb79aea910f28999d7c8c6b5aaffectedbfc6444b57dc7186b6acc964705d7516cbaf3904 to < e6a2f5f845f50b0c4299bace5111f56d3390a090affectedbfc6444b57dc7186b6acc964705d7516cbaf3904 to < 9dc325327babe7f159e84cbe9380a45342da0585affected58a5c93bd1a6e949267400080f07e57ffe05ec34affectedde7cffa53149c7b48bd1bb29b02390c9f05b7f41affected6.6.42 to < 6.6.160affected6.1.101 to < 6.2affected6.9.11 to < 6.10affected
Linux Linux
Default version status: affected
6.10affected0 to < 6.10unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.1.9 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/5d05c4252c09ce10624be2197853c80bf87424e4 ↗
- https://git.kernel.org/stable/c/41255e64eb9dd87b0b8675f4e47a9c67bcef6e39 ↗
- https://git.kernel.org/stable/c/bf3f37c2d40b51deb79aea910f28999d7c8c6b5a ↗
- https://git.kernel.org/stable/c/e6a2f5f845f50b0c4299bace5111f56d3390a090 ↗
- https://git.kernel.org/stable/c/9dc325327babe7f159e84cbe9380a45342da0585 ↗