VULNERABILITY INTELLIGENCE
CVE-2024-42140
CVSS score5.5 MEDIUM
EPSS probability0.20%
CISA KEVNot currently listed
Published2024-07-30
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Weakness classification
- nvd@nist.gov: CWE-667
Primary references
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Mailing List, Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Mailing List, Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Mailing List, Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Mailing List, Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Mailing List, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Patch
- af854a3a-2127-422b-91ae-364da2661108