CVE-2022-49610
JSON

5.5medium

KVM: VMX: Prevent RSB underflow before vmenter

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: VMX: Prevent RSB underflow before vmenter On VMX, there are some balanced returns between the time the guest's SPEC_CTRL value is written, and the vmenter. Balanced returns (matched by a preceding call) are usually ok, but it's at least theoretically possible an NMI with a deep call stack could empty the RSB before one of the returns. For maximum paranoia, don't allow *any* returns (balanced or otherwise) between the SPEC_CTRL write and the vmenter. [ bp: Fix 32-bit build. ]

Affected

Product or packageVersionsReported by
Linux Linuxfrom d28b387fb74da95d69d2615732f50cceb38e9a4d before afd743f6dde87296c6f3414706964c491bb85862, from d28b387fb74da95d69d2615732f50cceb38e9a4d before 07853adc29a058c5fd143c14e5ac528448a72ed9, 44491a23b73789c0a914af4ea55ccf8968adf90b, fc6aae9f407810cb153a9133c28735871f9f0a16, from 3.16.57 before 3.17, from 4.4.168 before 4.5, 4.16
Not affected: before 4.16, from 5.18.14 up to 5.18.*, from 5.19 up to *
CVE List
linux linux_kernelbefore 5.18.14, 5.19NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: KVM: VMX: Prevent RSB underflow before vmenter On VMX, there are some balanced returns between the time the guest's SPEC_CTRL value is written, and the vmenter. Balanced returns (matched by a preceding call) are usually ok, but it's at least theoretically possible an NMI with a deep call stack could empty the RSB before one of the returns. For maximum paranoia, don't allow *any* returns (balanced or otherwise) between the SPEC_CTRL write and the vmenter. [ bp: Fix 32-bit build. ]

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: KVM: VMX: Evitar el desbordamiento de RSB antes de vmenter En VMX, hay algunos retornos equilibrados entre el momento en que se escribe el valor SPEC_CTRL del invitado y el vmenter. Los retornos equilibrados (que coinciden con una llamada anterior) suelen ser correctos, pero al menos es teóricamente posible que un NMI con una pila de llamadas profunda pueda vaciar el RSB antes de uno de los retornos. Para máxima paranoia, no permita *ningún* retorno (equilibrado o de otro tipo) entre la escritura de SPEC_CTRL y el vmenter. [ bp: Arreglar compilación de 32 bits. ]

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49610 changed 2026-05-23CVE Terms of Use
NVDCVE-2022-49610 changed 2026-06-17Public domain