Description
In the Linux kernel, the following vulnerability has been resolved: drm/lima: fix shared irq handling on driver remove lima uses a shared interrupt, so the interrupt handlers must be prepared to be called at any time. At driver removal time, the clocks are disabled early and the interrupts stay registered until the very end of the remove process due to the devm usage. This is potentially a bug as the interrupts access device registers which assumes clocks are enabled. A crash can be triggered by removing the driver in a kernel with CONFIG_DEBUG_SHIRQ enabled. This patch frees the interrupts at each lima device finishing callback so that the handlers are already unregistered by the time we fully disable clocks.
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
a1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 0d60c43df59ef01c08dc7b0c45495178f9d05a13affecteda1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8affecteda1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 17fe8b75aaf0bb1bdc31368963446b421c22d0afaffecteda1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 0a487e977cb8897ae4c51ecd34bbaa2b005266c9affecteda1d2a6339961efc078208dc3b2f006e9e9a8e119 to < 04d531b9a1875846d4f89953b469ad463aa7a770affecteda1d2a6339961efc078208dc3b2f006e9e9a8e119 to < b5daf9217a50636a969bc1965f827878aeb09ffeaffecteda1d2a6339961efc078208dc3b2f006e9e9a8e119 to < a6683c690bbfd1f371510cb051e8fa49507f3f5eaffected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected5.4.280 to ≤ 5.4.*unaffected5.10.222 to ≤ 5.10.*unaffected5.15.163 to ≤ 5.15.*unaffected6.1.98 to ≤ 6.1.*unaffected6.6.39 to ≤ 6.6.*unaffected6.9.9 to ≤ 6.9.*unaffected6.10 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/0d60c43df59ef01c08dc7b0c45495178f9d05a13 ↗
- https://git.kernel.org/stable/c/25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8 ↗
- https://git.kernel.org/stable/c/17fe8b75aaf0bb1bdc31368963446b421c22d0af ↗
- https://git.kernel.org/stable/c/0a487e977cb8897ae4c51ecd34bbaa2b005266c9 ↗
- https://git.kernel.org/stable/c/04d531b9a1875846d4f89953b469ad463aa7a770 ↗
- https://git.kernel.org/stable/c/b5daf9217a50636a969bc1965f827878aeb09ffe ↗
- https://git.kernel.org/stable/c/a6683c690bbfd1f371510cb051e8fa49507f3f5e ↗
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html ↗