Skip to main content
Network Thinking Solutions Logo

CVE-2024-42140

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.

All CVEs
CVE-2024-42140Published 7/30/2024

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
7/30/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15.82, < 5.15.163

Verify advisory

Source
linux kernel
linux
≥ 6.0.12, < 6.1.98

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.39

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.9

Verify advisory

Source
Linux
Linux
≥ 12f237200c169a8667cf9dca7a40df8d7917b9fd, < bb80a7911218bbab2a69b5db7d2545643ab0073d

Verify advisory

Source
Linux
Linux
≥ b17d19a5314a37f7197afd1a0200affd21a7227d, < 653deee48a4682ea17a05b96fb6842795ab5943c

Verify advisory

Source
Linux
Linux
≥ b17d19a5314a37f7197afd1a0200affd21a7227d, < 7692c9b6baacdee378435f58f19baf0eb69e4155

Verify advisory

Source
Linux
Linux
≥ b17d19a5314a37f7197afd1a0200affd21a7227d, < 484dd545271d02d1571e1c6b62ea7df9dbe5e692

Verify advisory

Source
Linux
Linux
≥ b17d19a5314a37f7197afd1a0200affd21a7227d, < c562ba719df570c986caf0941fea2449150bcbc4

Verify advisory

Source
Linux
Linux
7594956fec8902dfc18150bf1dca0940cd4ad025

Verify advisory

Source
Linux
Linux
≥ 5.15.82, < 5.15.163

Verify advisory

Source
Linux
Linux
≥ 6.0.12, < 6.1

Verify advisory

Source
Linux
Linux
6.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.