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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
41d6028e28bd474298ff10409c292ec46cf43a90 to < 4efda204087145d40a84344edec7e9d3885ad3abaffected41d6028e28bd474298ff10409c292ec46cf43a90 to < 7b5e99d286747b6b5b583b8efcd06bdbdd94b229affected41d6028e28bd474298ff10409c292ec46cf43a90 to < 4f16c5fc8dc4c5596e3777ab9f449a54e3f85fd5affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.18.55 to ≤ 6.18.*unaffected7.2.9 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected