CVE-2024-42127: drm/lima: fix shared irq handling on driver remove
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.
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue affects the drm/lima driver’s shutdown path. During driver removal, interrupts could still fire after device clocks were disabled, causing a crash in specific debug/shared-interrupt conditions. The sources show a kernel fix, but no CVSS score or active exploitation evidence.
Executive priority
Treat as routine kernel maintenance unless the organization runs affected Linux graphics stacks where driver unload or debug configurations are operationally relevant. No source shows active exploitation or severe business impact.
Technical view
The lima DRM driver used devm-managed shared IRQs that remained registered late in removal. Interrupt handlers could access device registers after clocks were disabled. The fix unregisters interrupts during each lima device finishing callback before clocks are fully disabled.
Likely exposure
Exposure appears limited to Linux systems using affected kernel builds with the lima DRM driver present. The source specifically mentions crashes during driver removal with CONFIG_DEBUG_SHIRQ enabled, suggesting narrow operational impact rather than broad remote exposure.
Exploitation context
CISA KEV status is false, and the provided sources do not report active exploitation. The described trigger is a crash during driver removal in a debug shared-IRQ configuration; no remote attack path is evidenced.
Researcher notes
Evidence supports a local kernel crash condition in a specific driver teardown path. Missing data includes CVSS, CWE mapping, exploitability analysis, and precise distribution-by-distribution affected package status beyond the provided Debian LTS reference.
Mitigation direction
Update to a vendor kernel containing the referenced stable fixes.
Apply relevant Debian LTS kernel updates where applicable.
Check distribution advisories for the fixed kernel version on deployed systems.
Avoid unnecessary lima driver removal on unpatched affected systems.
Validation and detection
Inventory Linux systems using kernels in the affected ranges.
Check whether the drm/lima driver is built, loaded, or packaged.
Confirm installed kernel includes the applicable stable fix commit.
Review vendor advisories for backported fixes rather than version numbers alone.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-42127 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.