Skip to contentSkip to conversation

CVE-2026-98928: KVM: arm64: Derive GUEST_HAS_SVE from the SVE feature bit at EL2

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

KVM: arm64: Derive GUEST_HAS_SVE from the SVE feature bit at EL2

pkvm_init_features_from_host() takes KVM_ARCH_FLAG_GUEST_HAS_SVE and KVM_ARM_VCPU_SVE from the host separately, but pkvm_vcpu_init_sve() tests the bit while vcpu_has_sve() reads the flag. A host that sets the flag without the bit gets a vCPU with a NULL sve_state that the world switch loads the guest's SVE state from.

Derive the flag from the bit, and drop the protected path's copy of the host's flag, which is dead code since protected VMs are not allowed SVE.

The Linux kernel CVE team has assigned CVE-2026-98928 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.14 with commit 41d6028e28bd474298ff10409c292ec46cf43a90 and fixed in 6.18.55 with commit 4efda204087145d40a84344edec7e9d3885ad3ab
	Issue introduced in 6.14 with commit 41d6028e28bd474298ff10409c292ec46cf43a90 and fixed in 7.2.9 with commit 7b5e99d286747b6b5b583b8efcd06bdbdd94b229
	Issue introduced in 6.14 with commit 41d6028e28bd474298ff10409c292ec46cf43a90 and fixed in 7.3 with commit 4f16c5fc8dc4c5596e3777ab9f449a54e3f85fd5

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98928

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	arch/arm64/kvm/hyp/nvhe/pkvm.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/4efda204087145d40a84344edec7e9d3885ad3ab
	https://git.kernel.org/stable/c/7b5e99d286747b6b5b583b8efcd06bdbdd94b229
	https://git.kernel.org/stable/c/4f16c5fc8dc4c5596e3777ab9f449a54e3f85fd5