CVE-2021-46977
JSON

7.8high

KVM: VMX: Disable preemption when probing user return MSRs

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 5.5 before 5.10.38, from 5.11 before 5.11.22, from 5.12 before 5.12.5, 5.13NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS: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: 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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: KVM: VMX: deshabilite la preferencia al sondear los MSR devueltos por el usuario. Deshabilite la preferencia al sondear el MSR devuelto por un usuario a través de RDSMR/WRMSR. Si MSR tiene un valor diferente por CPU lógica, WRMSR podría dañar el valor del host si KVM se adelanta entre RDMSR y WRMSR y luego se reprograma en una CPU diferente. De manera oportunista, coloque el asistente en x86 común, SVM usará el asistente en una confirmación futura.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46977 changed 2026-08-05CVE Terms of Use
NVDCVE-2021-46977 changed 2026-08-04Public domain