Vulnerabilities · 2024 · Linux
CVE-2024-42140
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: riscv: kexec: Avoid deadlock in kexec crash path If the kexec crash code is called in the interrupt context, the machine_kexec_mask_interrupts() function will trigger a deadlock while trying to acquire the irqdesc spinlock and then deactivate irqchip in irq_set_irqchip_state() function. Unlike arm64, riscv only requires irq_eoi handler to complete EOI and keeping irq_set_irqchip_state() will only leave this possible deadlock without any use. So we simply remove it.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/484dd545271d02d1571e1c6b62ea7df9dbe5e692 · Patch
- git.kernel.org/stable/c/653deee48a4682ea17a05b96fb6842795ab5943c · Patch
- git.kernel.org/stable/c/7692c9b6baacdee378435f58f19baf0eb69e4155 · Patch
- git.kernel.org/stable/c/bb80a7911218bbab2a69b5db7d2545643ab0073d · Patch
- git.kernel.org/stable/c/c562ba719df570c986caf0941fea2449150bcbc4 · Patch
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2024-42140
- cve.org/CVERecord?id=CVE-2024-42140
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.