CVE-2021-47112

x86/kvm: Teardown PV features on boot CPU as well

State
Published
Severity
7.8 High
Published
Mar 15, 2024
Updated
Aug 5, 2026
Reserved
Mar 4, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fd10cde9294f73eeccbc16f3fec1ae6cde7b800c to before 7620a669111b52f224d006dea9e1e688e2d62c54Affected
  • fd10cde9294f73eeccbc16f3fec1ae6cde7b800c to before 38b858da1c58ad46519a257764e059e663b59ff2Affected
  • fd10cde9294f73eeccbc16f3fec1ae6cde7b800c to before d1629b5b925de9b27979e929dae7fcb766daf6b6Affected
  • fd10cde9294f73eeccbc16f3fec1ae6cde7b800c to before 8b79feffeca28c5459458fe78676b081e87c93a4Affected
LinuxLinux
  • 2.6.38Affected
  • before 2.6.38Not affected
  • 5.4.125 through 5.4.*Not affected
  • 5.10.43 through 5.10.*Not affected
  • 5.12.10 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.