# KVM: x86: use array_index_nospec with indices that come from guest

CVE record · `CVE-2025-39823`

- **Identifiers:** `CVE-2025-39823`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 16 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Sept 2025, 13:00 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: `4180bf1b655a791a0a6ef93a2ffffc762722c782 to before 72777fc31aa7ab2ce00f44bfa3929c6eabbeaf48` (git)
  - affected: `4180bf1b655a791a0a6ef93a2ffffc762722c782 to before 31a0ad2f60cb4816e06218b63e695eb72ce74974` (git)
  - affected: `4180bf1b655a791a0a6ef93a2ffffc762722c782 to before d51e381beed5e2f50f85f49f6c90e023754efa12` (git)
  - affected: `4180bf1b655a791a0a6ef93a2ffffc762722c782 to before 33e974c2d5a82b2f9d9ba0ad9cbaabc1c8e3985f` (git)
  - affected: `4180bf1b655a791a0a6ef93a2ffffc762722c782 to before f49161646e03d107ce81a99c6ca5da682fe5fb69` (git)
  - affected: `4180bf1b655a791a0a6ef93a2ffffc762722c782 to before 67a05679621b7f721bdba37a5d18665d3aceb695` (git)
  - affected: `4180bf1b655a791a0a6ef93a2ffffc762722c782 to before f57a4bd8d6cb5af05b8ac1be9098e249034639fb` (git)
  - affected: `4180bf1b655a791a0a6ef93a2ffffc762722c782 to before c87bd4dd43a624109c3cc42d843138378a7f4548` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.19`
  - unaffected: `before 4.19` (semver)
  - unaffected: `5.4.298 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.242 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.191 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.150 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.104 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.45 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.5 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel KVM x86 code is affected from commit 4180bf1b655a791a0a6ef93a2ffffc762722c782 up to the fixes listed for each stable branch, and the 4.19 series is affected. The source gives few details: it describes guest-controlled array indices used in the KVM x86 code that were not clamped with array_index_nospec after bounds checks, which could allow speculative execution side-channel leaks. Upgrade to a fixed Linux kernel release for your stable branch; the source does not list a workaround.

Written 16 Nov 2026.

## 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.0019, the 8th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 16 Sept 2025, 13:00 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-39823)
- 16 Sept 2025, 13:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-39823)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/72777fc31aa7ab2ce00f44bfa3929c6eabbeaf48>
- <https://git.kernel.org/stable/c/31a0ad2f60cb4816e06218b63e695eb72ce74974>
- <https://git.kernel.org/stable/c/d51e381beed5e2f50f85f49f6c90e023754efa12>
- <https://git.kernel.org/stable/c/33e974c2d5a82b2f9d9ba0ad9cbaabc1c8e3985f>
- <https://git.kernel.org/stable/c/f49161646e03d107ce81a99c6ca5da682fe5fb69>
- <https://git.kernel.org/stable/c/67a05679621b7f721bdba37a5d18665d3aceb695>
- <https://git.kernel.org/stable/c/f57a4bd8d6cb5af05b8ac1be9098e249034639fb>
- <https://git.kernel.org/stable/c/c87bd4dd43a624109c3cc42d843138378a7f4548>

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

---

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