CVEvulnerability

CVE-2021-47110

7.1 HIGH Published 2024-03-15 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-03-15
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-459

Description

In the Linux kernel, the following vulnerability has been resolved: x86/kvm: Disable kvmclock on all CPUs on shutdown Currenly, we disable kvmclock from machine_shutdown() hook and this only happens for boot CPU. We need to disable it for all CPUs to guard against memory corruption e.g. on restore from hibernate. Note, writing '0' to kvmclock MSR doesn't clear memory location, it just prevents hypervisor from updating the location so for the short while after write and while CPU is still alive, the clock remains usable and correct so we don't need to switch to some other clocksource.

Affected configurations

• linux linux kernel (< 5.4.125) • linux linux kernel (>= 5.5 < 5.10.43) • linux linux kernel (>= 5.11 < 5.12.10) • linux linux kernel 5.13

Related

Weakness · CWE (1)

  • CWE-459 Incomplete Cleanup weakness

References