7.8high
x86/kvm: Teardown PV features on boot CPU as well
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 10% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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 or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from fd10cde9294f73eeccbc16f3fec1ae6cde7b800c before 7620a669111b52f224d006dea9e1e688e2d62c54, from fd10cde9294f73eeccbc16f3fec1ae6cde7b800c before 38b858da1c58ad46519a257764e059e663b59ff2, from fd10cde9294f73eeccbc16f3fec1ae6cde7b800c before d1629b5b925de9b27979e929dae7fcb766daf6b6, from fd10cde9294f73eeccbc16f3fec1ae6cde7b800c before 8b79feffeca28c5459458fe78676b081e87c93a4, 2.6.38 Not affected: before 2.6.38, from 5.4.125 up to 5.4.*, from 5.10.43 up to 5.10.*, from 5.12.10 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | before 5.4.125, from 5.5 before 5.10.43, from 5.11 before 5.12.10, 5.13 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: x86/kvm: Desmontaje de funciones PV también en la CPU de arranque Varias funciones PV (Async PF, PV EOI, tiempo de robo) funcionan a través de la memoria compartida con el hipervisor y cuando restauramos desde la hibernación Debemos eliminar adecuadamente todas estas características para asegurarnos de que el hipervisor no escriba en ubicaciones obsoletas después de saltar al kernel previamente hibernado (que puede intentar colocar cualquier cosa allí). Para las CPU secundarias, el trabajo ya lo realiza kvm_cpu_down_prepare(), registre syscore ops para hacer lo mismo para la CPU de arranque.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47112 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47112 changed 2026-08-04 | Public domain |