KVM: arm64: Do not clear VM-wide SVE feature on vCPU init failure
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.55, 7.2.9
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Do not clear VM-wide SVE feature on vCPU init failure pkvm_vcpu_init_sve() clears KVM_ARM_VCPU_SVE in kvm->arch.vcpu_features when it fails, but vcpu_has_sve() tests KVM_ARCH_FLAG_GUEST_HAS_SVE, which is left set. Later vCPUs on that VM then skip the SVE setup and register with a NULL sve_state, which the guest's first FP access hands to sve_load_state(). Return the error without touching vcpu_features.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5db1bef933427aa467ad89c7b695a84a6b4afe16 · fixed in bd46b41f412fb81c50bac1a0929ec31320f3a807; From 5db1bef933427aa467ad89c7b695a84a6b4afe16 · fixed in f0cd8ffae092cc1b9d7cfa9188ed5a88a374adcb; From 5db1bef933427aa467ad89c7b695a84a6b4afe16 · fixed in a1b3c788ad31837e348075e93dbba3f447492776
- Linux Linux
6.16
- KernelLinux
From 6.16.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9