PT-2022-7552

CVE-2022-48763

·

Published

2022-01-26

·

Updated

2024-09-25

Description by

CVSS 4.0
6.7
Medium
MetricsAV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.17.0-rc1-syzkaller
Description The issue is related to the KVM (Kernel-based Virtual Machine) subsystem in the Linux kernel. Specifically, it involves the handling of nested virtualization and the System Management Mode (SMM) state. When userspace toggles the SMM state via KVM SET VCPU EVENTS or KVM SYNC X86 EVENTS, and then injects a System Management Interrupt (SMI), the vmx enter smm() function can overwrite vmx->nested.smm.vmxon, resulting in both vmxon and smm.vmxon being set to false, while other nVMX states remain allocated. This can lead to a memory leak and put the vCPU in an architecturally impossible state.
Recommendations To resolve this issue, update the Linux kernel to a version that includes the fix for this vulnerability. Specifically, versions prior to 5.17.0-rc1-syzkaller are affected. As a temporary workaround, consider disabling the KVM SET VCPU EVENTS and KVM SYNC X86 EVENTS events to prevent the toggling of the SMM state. However, this may have performance implications and should be carefully evaluated before implementation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
OPENSUSE-SU-2024_2372-1
OPENSUSE-SU-2024_2394-1
SUSE-SU-2024:2372-1
SUSE-SU-2024:2394-1
SUSE-SU-2024:2902-1
SUSE-SU-2024:2929-1
SUSE-SU-2024:2939-1
Found an issue in the description? Have something to add? Feel free to write us 👾