CVE-2024-42140riscv: kexec: Avoid deadlock in kexec crash path
- 5.5MediumCVSS base score
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 12f237200c169a8667cf9dca7a40df8d7917b9fd – < bb80a7911218bbab2a69b5db7d2545643ab0073d
- affected b17d19a5314a37f7197afd1a0200affd21a7227d – < 653deee48a4682ea17a05b96fb6842795ab5943c
- affected b17d19a5314a37f7197afd1a0200affd21a7227d – < 7692c9b6baacdee378435f58f19baf0eb69e4155
- affected b17d19a5314a37f7197afd1a0200affd21a7227d – < 484dd545271d02d1571e1c6b62ea7df9dbe5e692
- affected b17d19a5314a37f7197afd1a0200affd21a7227d – < c562ba719df570c986caf0941fea2449150bcbc4
- affected 7594956fec8902dfc18150bf1dca0940cd4ad025
- affected 5.15.82 – < 5.15.163
- affected 6.0.12 – < 6.1
- affected 6.1
- unaffected < 6.1
- unaffected 5.15.163 – ≤ 5.15.*
- unaffected 6.1.98 – ≤ 6.1.*
- unaffected 6.6.39 – ≤ 6.6.*
- unaffected 6.9.9 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References6
- https://git.kernel.org/stable/c/bb80a7911218bbab2a69b5db7d2545643ab0073d (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/653deee48a4682ea17a05b96fb6842795ab5943c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/7692c9b6baacdee378435f58f19baf0eb69e4155 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/484dd545271d02d1571e1c6b62ea7df9dbe5e692 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/c562ba719df570c986caf0941fea2449150bcbc4 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-39972 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-42140)Record last updated .