# CVE-2026-23425: KVM: arm64: Fix ID register initialization for non-protected pKVM guests

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-28)
- **Published:** 2026-04-03T13:24:33.384Z
- **Modified:** 2026-08-05T12:21:39.120Z

## Who should check

- Anyone running Linux \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< bce3847f7c51b86332bf2e554c9e80ca3820f16c; \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< 858620655c1fbff05997e162fc7d83a3293d5142; \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< 7e7c2cf0024d89443a7af52e09e47b1fe634ab17
- Anyone running Linux 6.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Fix ID register initialization for non-protected pKVM guests

In protected mode, the hypervisor maintains a separate instance of
the \`kvm\` structure for each VM. For non-protected VMs, this structure is
initialized from the host's \`kvm\` state.

Currently, \`pkvm\_init\_features\_from\_host()\` copies the
\`KVM\_ARCH\_FLAG\_ID\_REGS\_INITIALIZED\` flag from the host without the
underlying \`id\_regs\` data being initialized. This results in the
hypervisor seeing the flag as set while the ID registers remain zeroed.

Consequently, \`kvm\_has\_feat()\` checks at EL2 fail (return 0) for
non-protected VMs. This breaks logic that relies on feature detection,
such as \`ctxt\_has\_tcrx()\` for TCR2\_EL1 support. As a result, certain
system registers (e.g., TCR2\_EL1, PIR\_EL1, POR\_EL1) are not
saved/restored during the world switch, which could lead to state
corruption.

Fix this by explicitly copying the ID registers from the host \`kvm\` to
the hypervisor \`kvm\` for non-protected VMs during initialization, since
we trust the host with its non-protected guests' features. Also ensure
\`KVM\_ARCH\_FLAG\_ID\_REGS\_INITIALIZED\` is cleared initially in
\`pkvm\_init\_features\_from\_host\` so that \`vm\_copy\_id\_regs\` can properly
initialize them and set the flag once done.

## Affected and fixed versions

- Linux: \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< bce3847f7c51b86332bf2e554c9e80ca3820f16c; \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< 858620655c1fbff05997e162fc7d83a3293d5142; \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< 7e7c2cf0024d89443a7af52e09e47b1fe634ab17 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 7e7c2cf0024d89443a7af52e09e47b1fe634ab17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23425. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23425.md
Affected: Linux >= 41d6028e28bd474298ff10409c292ec46cf43a90, < bce3847f7c51b86332bf2e554c9e80ca3820f16c; >= 41d6028e28bd474298ff10409c292ec46cf43a90, < 858620655c1fbff05997e162fc7d83a3293d5142; >= 41d6028e28bd474298ff10409c292ec46cf43a90, < 7e7c2cf0024d89443a7af52e09e47b1fe634ab17; Linux 6.14
Fixed in: Linux 858620655c1fbff05997e162fc7d83a3293d5142, Linux 7e7c2cf0024d89443a7af52e09e47b1fe634ab17

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23425 being exploited?

There is no confirmed exploitation: CVE-2026-23425 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-23425?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23425?

Linux \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< bce3847f7c51b86332bf2e554c9e80ca3820f16c; \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< 858620655c1fbff05997e162fc7d83a3293d5142; \>= 41d6028e28bd474298ff10409c292ec46cf43a90, \< 7e7c2cf0024d89443a7af52e09e47b1fe634ab17; Linux 6.14.

### Is there a fix for CVE-2026-23425?

Yes. Fixed in Linux 858620655c1fbff05997e162fc7d83a3293d5142, Linux 7e7c2cf0024d89443a7af52e09e47b1fe634ab17. Upgrade Linux to 7e7c2cf0024d89443a7af52e09e47b1fe634ab17 or later.

### How do I check if I'm affected by CVE-2026-23425?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/bce3847f7c51b86332bf2e554c9e80ca3820f16c>
- patch: <https://git.kernel.org/stable/c/858620655c1fbff05997e162fc7d83a3293d5142>
- patch: <https://git.kernel.org/stable/c/7e7c2cf0024d89443a7af52e09e47b1fe634ab17>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23425>

HTML: <https://flawdb.com/CVE-2026-23425> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23425>
