CVEvulnerability
CVE-2021-46977
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-02-28
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Affected configurations
• linux linux kernel (>= 5.5 < 5.10.38)
• linux linux kernel (>= 5.11 < 5.11.22)
• linux linux kernel (>= 5.12 < 5.12.5)
• linux linux kernel 5.13
References
- https://git.kernel.org/stable/c/31f29749ee970c251b3a7e5b914108425940d089 Patch
- https://git.kernel.org/stable/c/5104d7ffcf24749939bea7fdb5378d186473f890 Patch
- https://git.kernel.org/stable/c/5adcdeb57007ccf8ab7ac20bf787ffb6fafb1a94 Patch
- https://git.kernel.org/stable/c/e3ea1895df719c4ef87862501bb10d95f4177bed Patch
- https://git.kernel.org/stable/c/31f29749ee970c251b3a7e5b914108425940d089 Patch
- https://git.kernel.org/stable/c/5104d7ffcf24749939bea7fdb5378d186473f890 Patch
- https://git.kernel.org/stable/c/5adcdeb57007ccf8ab7ac20bf787ffb6fafb1a94 Patch
- https://git.kernel.org/stable/c/e3ea1895df719c4ef87862501bb10d95f4177bed Patch