CVE-2024-42127
Linux Lima Driver Shared IRQrace Vulnerability
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.
INFO
Published Date :
July 30, 2024, 8:15 a.m.
Last Modified :
July 30, 2024, 1:32 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-42127
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-42127
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-42127
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 30, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/0d60c43df59ef01c08dc7b0c45495178f9d05a13 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/17fe8b75aaf0bb1bdc31368963446b421c22d0af [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0a487e977cb8897ae4c51ecd34bbaa2b005266c9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/04d531b9a1875846d4f89953b469ad463aa7a770 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b5daf9217a50636a969bc1965f827878aeb09ffe [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a6683c690bbfd1f371510cb051e8fa49507f3f5e [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-42127
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-42127
weaknesses.