Skip to content
High 8.8 Operating System

Vulnerability in Linux kernel

CVE-2026-23425 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linuxカーネルのarm64向けKVMで、非保護のpKVMゲストのIDレジスタが正しく初期化されず、一部のシステムレジスタが保存・復元されないため、ゲストの状態が壊れるおそれがあります。影響を受けるのは6.14.0以降6.18.17未満と6.19.0以降6.19.7未満で、修正版は6.18.17および6.19.7です。該当する版をお使いの場合は、修正版へのアップデートをお願いします。

What is the problem

LinuxカーネルのpKVMゲストのIDレジスタ初期化の不具合。

Affected scope

Linuxカーネル、非保護モードのpKVMゲスト。

Severity

機能検出が失敗し、システムレジスタが正しく保存・復元されないため、状態破損のリスクがある。

How to fix

ホストからIDレジスタを明示的にコピーすることで初期化を修正する。

Workaround

情報なし

Detection

kvm_has_feat()のチェックがEL2で失敗するか確認する。

Affected packages

PackageAffected → Fixed
LinuxKernel
≥ 6.14.0, < 6.18.17→ 6.18.17
≥ 6.19.0, < 6.19.7→ 6.19.7

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

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

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details