CVE-2024-42127
drm/lima: fix shared irq handling on driver remove
Check your servers for CVE-2024-42127
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42127 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a1d2a6339961efc078208dc3b2f006e9e9a8e119, before 0d60c43df59ef01c08dc7b0c45495178f9d05a13 affected from a1d2a6339961efc078208dc3b2f006e9e9a8e119, before 25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8 affected from a1d2a6339961efc078208dc3b2f006e9e9a8e119, before 17fe8b75aaf0bb1bdc31368963446b421c22d0af affected from a1d2a6339961efc078208dc3b2f006e9e9a8e119, before 0a487e977cb8897ae4c51ecd34bbaa2b005266c9 affected from a1d2a6339961efc078208dc3b2f006e9e9a8e119, before 04d531b9a1875846d4f89953b469ad463aa7a770 affected from a1d2a6339961efc078208dc3b2f006e9e9a8e119, before b5daf9217a50636a969bc1965f827878aeb09ffe affected from a1d2a6339961efc078208dc3b2f006e9e9a8e119, before a6683c690bbfd1f371510cb051e8fa49507f3f5e
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 5.4.280 up to and including 5.4.* unaffected from 5.10.222 up to and including 5.10.* unaffected from 5.15.163 up to and including 5.15.* unaffected from 6.1.98 up to and including 6.1.* unaffected from 6.6.39 up to and including 6.6.* unaffected from 6.9.9 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42127 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42127
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-42127
trivy image --scanners vuln IMAGE | grep CVE-2024-42127
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0d60c43df59ef01c08dc7b0c45495178f9d05a13 git.kernel.org
- https://git.kernel.org/stable/c/25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8 git.kernel.org
- https://git.kernel.org/stable/c/17fe8b75aaf0bb1bdc31368963446b421c22d0af git.kernel.org
- https://git.kernel.org/stable/c/0a487e977cb8897ae4c51ecd34bbaa2b005266c9 git.kernel.org
- https://git.kernel.org/stable/c/04d531b9a1875846d4f89953b469ad463aa7a770 git.kernel.org
- https://git.kernel.org/stable/c/b5daf9217a50636a969bc1965f827878aeb09ffe git.kernel.org
- https://git.kernel.org/stable/c/a6683c690bbfd1f371510cb051e8fa49507f3f5e git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-42127 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse