VDB

CVE-2024-42127

CVE-2024-42127 PUBLISHED

drm/lima: fix shared irq handling on driver remove

Reported by linux · Published July 30, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxa6683c690bbfd1f371510cb051e8fa49507f3f5e, 25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8, 17fe8b75aaf0bb1bdc31368963446b421c22d0af, 0d60c43df59ef01c08dc7b0c45495178f9d05a13, 0a487e977cb8897ae4c51ecd34bbaa2b005266c9, 04d531b9a1875846d4f89953b469ad463aa7a770

Affected products

VendorProductVersions
LinuxLinuxa1d2a6339961efc078208dc3b2f006e9e9a8e119, a1d2a6339961efc078208dc3b2f006e9e9a8e119, a1d2a6339961efc078208dc3b2f006e9e9a8e119
LinuxLinux5.2, 0, 5.4.280
LinuxLinux6.6.39, 6.10, *
linuxlinux_kernel5.2, 5.2, 5.2

Timeline

  • Jul 29, 2024 CVE Published
  • Jul 30, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Jan 6, 2026 Security Advisory (356 in total, the first dated here)
  • Jan 6, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (238 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-42127
vulnetix vdb fixes CVE-2024-42127

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42127/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›