CVE-2024-42127

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42127
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42127.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42127
Downstream
Related
Published
2024-07-30T07:46:24.070Z
Modified
2025-11-26T19:35:03.517029Z
Summary
drm/lima: fix shared irq handling on driver remove
Details

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 CONFIGDEBUGSHIRQ 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/9c3874e559580d6c6ec8d449812ac11277724770/cves/2024/42xxx/CVE-2024-42127.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1d2a6339961efc078208dc3b2f006e9e9a8e119
Fixed
0d60c43df59ef01c08dc7b0c45495178f9d05a13
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1d2a6339961efc078208dc3b2f006e9e9a8e119
Fixed
25d0d9b83d855cbc5d5aa5ae3cd79d55ea0c84a8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1d2a6339961efc078208dc3b2f006e9e9a8e119
Fixed
17fe8b75aaf0bb1bdc31368963446b421c22d0af
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1d2a6339961efc078208dc3b2f006e9e9a8e119
Fixed
0a487e977cb8897ae4c51ecd34bbaa2b005266c9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1d2a6339961efc078208dc3b2f006e9e9a8e119
Fixed
04d531b9a1875846d4f89953b469ad463aa7a770
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1d2a6339961efc078208dc3b2f006e9e9a8e119
Fixed
b5daf9217a50636a969bc1965f827878aeb09ffe
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1d2a6339961efc078208dc3b2f006e9e9a8e119
Fixed
a6683c690bbfd1f371510cb051e8fa49507f3f5e

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
5.4.280
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.222
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.163
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.98
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.39
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.9