CVE-2024-42127

MEDIUM EPSS 14.9%
Published Jul 30, 20241y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jul 30, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
14.9% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Affected Products 6

VendorProductVersionRange
linuxlinux_kernel*≥5.2  –  <5.4.280
linuxlinux_kernel*≥5.5  –  <5.10.222
linuxlinux_kernel*≥5.11  –  <5.15.163
linuxlinux_kernel*≥5.16  –  <6.1.98
linuxlinux_kernel*≥6.2  –  <6.6.39
linuxlinux_kernel*≥6.7  –  <6.9.9

References 8

  • git.kernel.org https://git.kernel.org/stable/c/04d531b9a1875846d4f89953b469ad463aa7a770
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0a487e977cb8897ae4c51ecd34bbaa2b005266c9
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0d60c43df59ef01c08dc7b0c45495178f9d05a13
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/17fe8b75aaf0bb1bdc31368963446b421c22d0af
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a6683c690bbfd1f371510cb051e8fa49507f3f5e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b5daf9217a50636a969bc1965f827878aeb09ffe
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/04d531b9a1875846d4f89953b469ad463aa7a770
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0a487e977cb8897ae4c51ecd34bbaa2b005266c9
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0d60c43df59ef01c08dc7b0c45495178f9d05a13
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/17fe8b75aaf0bb1bdc31368963446b421c22d0af
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a6683c690bbfd1f371510cb051e8fa49507f3f5e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b5daf9217a50636a969bc1965f827878aeb09ffe
    Patch