Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e2ecdddca80dd845df42376e4b0197fe97018ba2 before 5d05c4252c09ce10624be2197853c80bf87424e4; affected bfc6444b57dc7186b6acc964705d7516cbaf3904 before 41255e64eb9dd87b0b8675f4e47a9c67bcef6e39; affected bfc6444b57dc7186b6acc964705d7516cbaf3904 before bf3f37c2d40b51deb79aea910f28999d7c8c6b5a; affected bfc6444b57dc7186b6acc964705d7516cbaf3904 before e6a2f5f845f50b0c4299bace5111f56d3390a090; affected bfc6444b57dc7186b6acc964705d7516cbaf3904 before 9dc325327babe7f159e84cbe9380a45342da0585; affected 58a5c93bd1a6e949267400080f07e57ffe05ec34; affected de7cffa53149c7b48bd1bb29b02390c9f05b7f41; affected 6.6.42 before 6.6.160; affected 6.1.101 before 6.2; affected 6.9.11 before 6.10 |
| Linux / Linux | affected 6.10; unaffected 0 before 6.10; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.1.9 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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
ADP enrichment
No English description supplied.
No references supplied.