5.5

CVE-2024-42140: riscv: kexec: Avoid deadlock in kexec crash path

Modified
AliasesUBUNTU-CVE-2024-42140DEBIAN-CVE-2024-42140
Published 30-07-2024Last modified 23-05-2026

Vulnerability summary

CVE-2024-42140 is a medium (CVSS 5.5) Improper Locking vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.20%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 19 · Related 16

Timeline

  1. 30-07-2024
    PublishedVulnerability first disclosed.
  2. 23-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.20% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu117 products
  • linux< 5.15.0-121.131 | < 6.8.0-48.48
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1069.75 | < 6.8.0-1018.20
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 12f237200c169a8667cf9dca7a40df8d7917b9fd, < bb80a7911218bbab2a69b5db7d2545643ab0073d | ≥ b17d19a5314a37f7197afd1a0200affd21a7227d, < 653deee48a4682ea17a05b96fb6842795ab5943c | ≥ b17d19a5314a37f7197afd1a0200affd21a7227d, < 7692c9b6baacdee378435f58f19baf0eb69e4155 | ≥ b17d19a5314a37f7197afd1a0200affd21a7227d, < 484dd545271d02d1571e1c6b62ea7df9dbe5e692 | ≥ b17d19a5314a37f7197afd1a0200affd21a7227d, < c562ba719df570c986caf0941fea2449150bcbc4 | 7594956fec8902dfc18150bf1dca0940cd4ad025 | ≥ 5.15.82, < 5.15.163 | ≥ 6.0.12, < 6.1 | 6.1
  • linux_kernel≥ 5.15.82, < 5.15.163 | ≥ 6.0.12, < 6.1.98 | ≥ 6.2, < 6.6.39 | ≥ 6.7, < 6.9.9
Debian1 product
  • linux< 6.1.98-1 | < 6.9.9-1

3 vendors · 120 products

References

27 links
Show all 27 references