# KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()

CVE record · `CVE-2024-40953`

- **Identifiers:** `CVE-2024-40953`
- **State:** Confirmed
- **Severity:** CVSS 7.9 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Jul 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Jul 2024, 12:31 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: `217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 to before 11a772d5376aa6d3e2e69b5b5c585f79b60c0e17` (git)
  - affected: `217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 to before 4c141136a28421b78f34969b25a4fa32e06e2180` (git)
  - affected: `217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 to before 71fbc3af3dacb26c3aa2f30bb3ab05c44d082c84` (git)
  - affected: `217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 to before 82bd728a06e55f5b5f93d10ce67f4fe7e689853a` (git)
  - affected: `217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 to before 92c77807d938145c7c3350c944ef9f39d7f6017c` (git)
  - affected: `217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 to before a937ef951bba72f48d2402451419d725d70dba20` (git)
  - affected: `217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 to before 95c8dd79f3a14df96b3820b35b8399bd91b2be60` (git)
  - affected: `217ece6129f2d3b4fdd18d9e79be9e43d8d14a42 to before 49f683b41f28918df3e51ddc0d928cb2e934ccdb` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.39`
  - unaffected: `before 2.6.39` (semver)
  - unaffected: `4.19.323 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.285 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.228 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.169 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.96 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.36 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.7 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

- 7.9 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H`, from CNA (Linux)

- **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 12 Jul 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/11a772d5376aa6d3e2e69b5b5c585f79b60c0e17>
- <https://git.kernel.org/stable/c/4c141136a28421b78f34969b25a4fa32e06e2180>
- <https://git.kernel.org/stable/c/71fbc3af3dacb26c3aa2f30bb3ab05c44d082c84>
- <https://git.kernel.org/stable/c/82bd728a06e55f5b5f93d10ce67f4fe7e689853a>
- <https://git.kernel.org/stable/c/92c77807d938145c7c3350c944ef9f39d7f6017c>
- <https://git.kernel.org/stable/c/a937ef951bba72f48d2402451419d725d70dba20>
- <https://git.kernel.org/stable/c/95c8dd79f3a14df96b3820b35b8399bd91b2be60>
- <https://git.kernel.org/stable/c/49f683b41f28918df3e51ddc0d928cb2e934ccdb>

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-40953>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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