CVE-2024-42127

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedJul 30, 2024
First seenJul 30, 2024

How to fix

Update
  • linux linux_kernel5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.9.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.2 ≤ v < 5.4.280, 5.5 ≤ v < 5.10.222, 5.11 ≤ v < 5.15.163, 5.16 ≤ v < 6.1.98, 6.2 ≤ v < 6.6.39, 6.7 ≤ v < 6.9.95.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.9.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-42127 · Linux Kernel · Dark Radar