cve/2024/CVE-2024-42140.md
2025-09-29 21:09:30 +02:00

1.5 KiB

CVE-2024-42140

Description

In the Linux kernel, the following vulnerability has been resolved:riscv: kexec: Avoid deadlock in kexec crash pathIf the kexec crash code is called in the interrupt context, themachine_kexec_mask_interrupts() function will trigger a deadlock whiletrying to acquire the irqdesc spinlock and then deactivate irqchip inirq_set_irqchip_state() function.Unlike arm64, riscv only requires irq_eoi handler to complete EOI andkeeping irq_set_irqchip_state() will only leave this possible deadlockwithout any use. So we simply remove it.

POC

Reference

Github

No PoCs found on GitHub currently.