{"id":"CVE-2024-42140","published":"2024-07-30T07:46:34Z","modified":"2026-05-23T15:52:21Z","title":"riscv: kexec: Avoid deadlock in kexec crash path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: kexec: Avoid deadlock in kexec crash path\n\nIf the kexec crash code is called in the interrupt context, the\nmachine_kexec_mask_interrupts() function will trigger a deadlock while\ntrying to acquire the irqdesc spinlock and then deactivate irqchip in\nirq_set_irqchip_state() function.\n\nUnlike arm64, riscv only requires irq_eoi handler to complete EOI and\nkeeping irq_set_irqchip_state() will only leave this possible deadlock\nwithout any use. So we simply remove it.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00234,"percentile":0.08646,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/bb80a7911218bbab2a69b5db7d2545643ab0073d","tags":[]},{"url":"https://git.kernel.org/stable/c/653deee48a4682ea17a05b96fb6842795ab5943c","tags":[]},{"url":"https://git.kernel.org/stable/c/7692c9b6baacdee378435f58f19baf0eb69e4155","tags":[]},{"url":"https://git.kernel.org/stable/c/484dd545271d02d1571e1c6b62ea7df9dbe5e692","tags":[]},{"url":"https://git.kernel.org/stable/c/c562ba719df570c986caf0941fea2449150bcbc4","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":1.7,"factors":[{"name":"EPSS percentile","points":1.73}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 12f237200c169a8667cf9dca7a40df8d7917b9fd, < bb80a7911218bbab2a69b5db7d2545643ab0073d",">= b17d19a5314a37f7197afd1a0200affd21a7227d, < 653deee48a4682ea17a05b96fb6842795ab5943c",">= b17d19a5314a37f7197afd1a0200affd21a7227d, < 7692c9b6baacdee378435f58f19baf0eb69e4155",">= b17d19a5314a37f7197afd1a0200affd21a7227d, < 484dd545271d02d1571e1c6b62ea7df9dbe5e692",">= b17d19a5314a37f7197afd1a0200affd21a7227d, < c562ba719df570c986caf0941fea2449150bcbc4","7594956fec8902dfc18150bf1dca0940cd4ad025",">= 5.15.82, < 5.15.163",">= 6.0.12, < 6.1"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:15:56.730173Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39972","exploited":false,"provenance":"source"}}