CVE-2024-42140 - CVE House
Back to Database
Status published Unknown CVE-2024-42140

riscv: kexec: Avoid deadlock in kexec crash path

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-42140

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
12f237200c169a8667cf9dca7a40df8d7917b9fd, b17d19a5314a37f7197afd1a0200affd21a7227d, 7594956fec8902dfc18150bf1dca0940cd4ad025, 5.15.82, 6.0.12, 6.1, 0, 5.15.163, 6.1.98, 6.6.39, 6.9.9, 6.10

Timeline

Official Publish: July 30th, 2024
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.