Summary
Vulnerability in Linux kernel (CVE-2026-23425). Successful exploitation can lead to full system takeover. Exploitable via kvm.
Original description
The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Linuxカーネルには、非保護モードのpKVMゲストのためのIDレジスタ初期化の不具合がありました。特に、ホストからIDレジスタの情報が適切にコピーされず、機能検出が失敗するという問題が発生しました。これにより、一部のシステムレジスタが正しく保存・復元されないため、状態の破損が起こる可能性がありました。修正は、IDレジスタを初期化時にホストから明示的にコピーすることで行われました。
LinuxカーネルのpKVMゲストのIDレジスタ初期化の不具合。
Linuxカーネル、非保護モードのpKVMゲスト。
機能検出が失敗し、システムレジスタが正しく保存・復元されないため、状態破損のリスクがある。
ホストからIDレジスタを明示的にコピーすることで初期化を修正する。
情報なし
kvm_has_feat()のチェックがEL2で失敗するか確認する。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- BellSoft Alpaquita BELL-CVE-2026-23425 linux-lts Fixed in: 6.18.35-r1
- Debian DEBIAN-CVE-2026-23425 linux Fixed in: 6.19.8-1
- Ubuntu UBUNTU-CVE-2026-23425 linux-hwe-edge
References
- patch git.kernel.org
- patch git.kernel.org
- patch git.kernel.org