Linux
serial: amba-pl011: cancel RS485 hrtimers after freeing IRQ
In the Linux kernel, the following vulnerability has been resolved: serial: amba-pl011: cancel RS485 hrtimers after freeing IRQ The RS485 trigger hrtimers are embedded in the devm-managed port and can fire after it is freed. The IRQ handler can arm a timer, so free the IRQ first and then cancel both timers. Complete the RS485 stop without arming a timer, and cancel the timers in remove() for the suspend-then-unbind path, where shutdown is not called. This issue was found by an in-house static analysis tool.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2c1fd53af21b8cb13878b054894d33d3383eb1f3, < 759ead98a39fb625be302f9aa66290985dcaa325
- >= 2c1fd53af21b8cb13878b054894d33d3383eb1f3, < e57f0aa5c35be37218ba0e4887b241584dd4b2d2
- >= 2c1fd53af21b8cb13878b054894d33d3383eb1f3, < 36672c8d7d14e9c43287528455d2c97b526ea6ad
Fixed in 759ead98a39fb625be302f9aa66290985dcaa325, e57f0aa5c35be37218ba0e4887b241584dd4b2d2, 36672c8d7d14e9c43287528455d2c97b526ea6ad
- 6.14
Fixed in 0, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to 759ead98a39fb625be302f9aa66290985dcaa325 or e57f0aa5c35be37218ba0e4887b241584dd4b2d2 or 36672c8d7d14e9c43287528455d2c97b526ea6ad or later.
Upgrade Linux to 0 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.