# riscv: kexec: Avoid deadlock in kexec crash path

CVE record · `CVE-2024-42140`

- **Identifiers:** `CVE-2024-42140`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 30 Jul 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 30 Jul 2024, 07:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `12f237200c169a8667cf9dca7a40df8d7917b9fd to before bb80a7911218bbab2a69b5db7d2545643ab0073d` (git)
  - affected: `b17d19a5314a37f7197afd1a0200affd21a7227d to before 653deee48a4682ea17a05b96fb6842795ab5943c` (git)
  - affected: `b17d19a5314a37f7197afd1a0200affd21a7227d to before 7692c9b6baacdee378435f58f19baf0eb69e4155` (git)
  - affected: `b17d19a5314a37f7197afd1a0200affd21a7227d to before 484dd545271d02d1571e1c6b62ea7df9dbe5e692` (git)
  - affected: `b17d19a5314a37f7197afd1a0200affd21a7227d to before c562ba719df570c986caf0941fea2449150bcbc4` (git)
  - affected: `7594956fec8902dfc18150bf1dca0940cd4ad025` (git)
  - affected: `5.15.82 to before 5.15.163` (semver)
  - affected: `6.0.12 to before 6.1` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.1`
  - unaffected: `before 6.1` (semver)
  - unaffected: `5.15.163 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.98 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.39 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.9 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 9th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 30 Jul 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-42140](https://www.cve.org/CVERecord?id=CVE-2024-42140)
- [NVD: CVE-2024-42140](https://nvd.nist.gov/vuln/detail/CVE-2024-42140)

### References from the CNA

- <https://git.kernel.org/stable/c/bb80a7911218bbab2a69b5db7d2545643ab0073d>
- <https://git.kernel.org/stable/c/653deee48a4682ea17a05b96fb6842795ab5943c>
- <https://git.kernel.org/stable/c/7692c9b6baacdee378435f58f19baf0eb69e4155>
- <https://git.kernel.org/stable/c/484dd545271d02d1571e1c6b62ea7df9dbe5e692>
- <https://git.kernel.org/stable/c/c562ba719df570c986caf0941fea2449150bcbc4>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-42140>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-42140/>. Everything for agents: <https://agentprime.io/llms.txt>.
