title: x86/kvm: Teardown PV features on boot CPU as well
description: In the Linux kernel, the following vulnerability has been resolved:
x86/kvm: Teardown PV features on boot CPU as well
Various PV features (Async PF, PV EOI, steal time) work through memory
shared with hypervisor and when we restore from hibernation we must
properly teardown all these features to make sure hypervisor doesn't
write to stale locations after we jump to the previously hibernated kernel
(which can try to place anything there). For secondary CPUs the job is
already done by kvm_cpu_down_prepare(), register syscore ops to do
the same for boot CPU.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 1da177e4c3f4, lessThan: 7620a669111b, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 38b858da1c58, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: d1629b5b925d, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 8b79feffeca2, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.4.125, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.43, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.12.10, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
