# CVE-2021-46977: KVM: VMX: Disable preemption when probing user return MSRs

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:08.489Z
- Modified: 2026-08-05T08:45:21.421Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4be5341026246870818e28b53202b001426a5aec before 31f29749ee970c251b3a7e5b914108425940d089; from 4be5341026246870818e28b53202b001426a5aec before 5adcdeb57007ccf8ab7ac20bf787ffb6fafb1a94; from 4be5341026246870818e28b53202b001426a5aec before e3ea1895df719c4ef87862501bb10d95f4177bed; from 4be5341026246870818e28b53202b001426a5aec before 5104d7ffcf24749939bea7fdb5378d186473f890; 5.5 (not affected: before 5.5; from 5.10.38 up to 5.10.*; from 5.11.22 up to 5.11.*; from 5.12.5 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.5 before 5.10.38; from 5.11 before 5.11.22; from 5.12 before 5.12.5; 5.13

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/31f29749ee970c251b3a7e5b914108425940d089> (patch)
- <https://git.kernel.org/stable/c/5adcdeb57007ccf8ab7ac20bf787ffb6fafb1a94> (patch)
- <https://git.kernel.org/stable/c/e3ea1895df719c4ef87862501bb10d95f4177bed> (patch)
- <https://git.kernel.org/stable/c/5104d7ffcf24749939bea7fdb5378d186473f890> (patch)

## Sources

- CVE List: [CVE-2021-46977](https://www.cve.org/CVERecord?id=CVE-2021-46977), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-46977](https://nvd.nist.gov/vuln/detail/CVE-2021-46977), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-46977 · Whole record: https://cve.day/CVE-2021-46977.json · Rebuilt by cve.day 2026-11-25T22:58:08.596Z
