Linux · Linux Kernel · CVE-2024-42140
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue is related to a deadlock in the kexec crash path of the Linux kernel's riscv component. When the kexec crash code is called in the interrupt context, the `machine kexec mask interrupts()` function may trigger a deadlock while trying to acquire the irqdesc spinlock and then deactivate irqchip in the `irq set irqchip state()` function. This is because, unlike arm64, riscv only requires the `irq eoi` handler to complete EOI, and keeping `irq set irqchip state()` will only leave this possible deadlock without any use. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.