CVE-2021-46977

KVM: VMX: Disable preemption when probing user return MSRs

State
Published
Severity
7.8 High
Published
Feb 28, 2024
Updated
Aug 5, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: VMX: Disable preemption when probing user return MSRs

Disable preemption when probing a user return MSR via RDSMR/WRMSR. If the MSR holds a different value per logical CPU, the WRMSR could corrupt the host's value if KVM is preempted between the RDMSR and WRMSR, and then rescheduled on a different CPU.

Opportunistically land the helper in common x86, SVM will use the helper in a future commit.

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
  • 4be5341026246870818e28b53202b001426a5aec to before 31f29749ee970c251b3a7e5b914108425940d089Affected
  • 4be5341026246870818e28b53202b001426a5aec to before 5adcdeb57007ccf8ab7ac20bf787ffb6fafb1a94Affected
  • 4be5341026246870818e28b53202b001426a5aec to before e3ea1895df719c4ef87862501bb10d95f4177bedAffected
  • 4be5341026246870818e28b53202b001426a5aec to before 5104d7ffcf24749939bea7fdb5378d186473f890Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.38 through 5.10.*Not affected
  • 5.11.22 through 5.11.*Not affected
  • 5.12.5 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.