CVE-2022-49932: KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace
In the Linux kernel, the following vulnerability has been resolved:
KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace
Call kvm_init() only after _all_ setup is complete, as kvm_init() exposes
/dev/kvm to userspace and thus allows userspace to create VMs (and call
other ioctls). E.g. KVM will encounter a NULL pointer when attempting to
add a vCPU to the per-CPU loaded_vmcss_on_cpu list if userspace is able to
create a VM before vmx_init() configures said list.
BUG: kernel NULL pointer dereference, address: 0000000000000008
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 0 P4D 0
Oops: 0002 [#1] SMP
CPU: 6 PID: 1143 Comm: stable Not tainted 6.0.0-rc7+ #988
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
RIP: 0010:vmx_vcpu_load_vmcs+0x68/0x230 [kvm_intel]
<TASK>
vmx_vcpu_load+0x16/0x60 [kvm_intel]
kvm_arch_vcpu_load+0x32/0x1f0 [kvm]
vcpu_load+0x2f/0x40 [kvm]
kvm_arch_vcpu_create+0x231/0x310 [kvm]
kvm_vm_ioctl+0x79f/0xe10 [kvm]
? handle_mm_fault+0xb1/0x220
__x64_sys_ioctl+0x80/0xb0
do_syscall_64+0x2b/0x50
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f5a6b05743b
</TASK>
Modules linked in: vhost_net vhost vhost_iotlb tap kvm_intel(+) kvm irqbypass
Security readout for executives and security teams
Plain-English summary
This Linux KVM issue can let local userspace hit an uninitialized KVM Intel VMX path during startup, causing a kernel NULL pointer crash. The source describes a reliability and availability risk, not data theft or remote compromise.
Executive priority
Prioritize patching on multi-tenant or shared virtualization hosts. Single-user systems are lower urgency, but kernel crashes can still disrupt workloads.
Technical view
KVM exposed /dev/kvm before VMX initialization completed. Userspace could create a VM or call KVM ioctls before per-CPU VMCS lists were configured, leading to a NULL pointer dereference in vmx_vcpu_load_vmcs.
Likely exposure
Exposure is most relevant to Linux hosts running affected KVM Intel VMX kernel versions where local users can access /dev/kvm during KVM module initialization.
Exploitation context
The provided sources do not report active exploitation, and KEV is false. Evidence supports local userspace-triggered kernel crash potential during initialization timing, not remote exploitation.
Researcher notes
The source bundle lacks CVSS, CWE, and exploit telemetry. Analysis should stay limited to the documented initialization ordering flaw and NULL pointer dereference path.
Mitigation direction
Update to a kernel containing the linked stable fixes.
Use distribution kernel packages or vendor advisories for backported fixes.
Restrict /dev/kvm access to trusted users and groups until patched.
Review virtualization hosts before general-purpose servers.
Validation and detection
Inventory Linux kernels on KVM virtualization hosts.
Check whether KVM Intel VMX is loaded or available.
Confirm installed kernel includes the relevant stable fix commits.
Verify /dev/kvm permissions limit access to intended users.
Review logs for kernel oops messages matching vmx_vcpu_load_vmcs.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-49932 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
4Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
May 2, 2025, 15:54 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.