CVE-2024-42127

drm/lima: fix shared irq handling on driver remove

MEDIUM
5.5
CVSS Score
Published: July 30, 2024 at 07:46 AM UTC
Updated: June 17, 2026 at 07:48 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1635.16 ≤ v < 6.1.985.2 ≤ v < 5.10.2225.2 ≤ v < 5.15.1635.2 ≤ v < 5.4.2805.2 ≤ v < 6.1.985.2 ≤ v < 6.105.2 ≤ v < 6.6.395.2 ≤ v < 6.9.95.5 ≤ v < 5.10.2226.2 ≤ v < 6.6.396.7 ≤ v < 6.9.95.2a1d2a6339961efc078208dc3b2f006e9e9a8e119
Vendor states this is fixed in 04d531b9a1875846d4f89953b469ad463aa7a770 (fixed)
Vendor states this is fixed in 0a487e977cb8897ae4c51ecd34bbaa2b005266c9 (fixed)
Vendor states this is fixed in 0d60c43df59ef01c08dc7b0c45495178f9d05a13 (fixed)
Vendor states this is fixed in 17fe8b75aaf0bb1bdc31368963446b421c22d0af (fixed)
Vendor states this is fixed in 25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8 (fixed)
Vendor states this is fixed in a6683c690bbfd1f371510cb051e8fa49507f3f5e (fixed)
Vendor states this is fixed in b5daf9217a50636a969bc1965f827878aeb09ffe (fixed)
Vendor states this is fixed in 5.10.222 (unaffected)
Vendor states this is fixed in 5.15.163 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 5.4.280 (unaffected)
Vendor states this is fixed in 6.1.98 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.39 (unaffected)
Vendor states this is fixed in 6.9.9 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/04d531b9a1875846d4f89953b469ad463aa7a770
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0a487e977cb8897ae4c51ecd34bbaa2b005266c9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d60c43df59ef01c08dc7b0c45495178f9d05a13
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/17fe8b75aaf0bb1bdc31368963446b421c22d0af
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6683c690bbfd1f371510cb051e8fa49507f3f5e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b5daf9217a50636a969bc1965f827878aeb09ffe
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card