# CVE-2022-49932: KVM: VMX: Do \_all\_ initialization before exposing /dev/kvm to userspace

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-05-02T15:54:53.215Z
- **Modified:** 2026-11-05T20:17:18.230Z

## Who should check

- Anyone running Linux \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e136e969d268b9b89329c816c002e53f60e82985; \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e28533c08023c4b319b7f2cd77f3f7c9204eb517; \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e32b120071ea114efc0b4ddd439547750b85f618; b2f7d0adc1260fa33ff3e992d18ff15873e68a67; 2c0bf2560ca18abe1451db23b8ef8700c67cc44f; f9971a898a815c2a6cce2932e91a576b28ed4cce; 40888c31aca3a46f266f1f121679f8e1982df085; cd3f438fbb9cb60da32dd2b665f7dc9baba1c4ad; e35a2dc8c7f664ae8a9cc46d19985dc79bfc1083; \>= 4.9.220, \< 4.10; …
- Anyone running Linux 5.7

## Description

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

## Affected and fixed versions

- Linux: \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e136e969d268b9b89329c816c002e53f60e82985; \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e28533c08023c4b319b7f2cd77f3f7c9204eb517; \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e32b120071ea114efc0b4ddd439547750b85f618; b2f7d0adc1260fa33ff3e992d18ff15873e68a67; 2c0bf2560ca18abe1451db23b8ef8700c67cc44f; f9971a898a815c2a6cce2932e91a576b28ed4cce; 40888c31aca3a46f266f1f121679f8e1982df085; cd3f438fbb9cb60da32dd2b665f7dc9baba1c4ad; e35a2dc8c7f664ae8a9cc46d19985dc79bfc1083; \>= 4.9.220, \< 4.10; … (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49932. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49932.md
Affected: Linux >= dbef2808af6c594922fe32833b30f55f35e9da6d, < e136e969d268b9b89329c816c002e53f60e82985; >= dbef2808af6c594922fe32833b30f55f35e9da6d, < e28533c08023c4b319b7f2cd77f3f7c9204eb517; >= dbef2808af6c594922fe32833b30f55f35e9da6d, < e32b120071ea114efc0b4ddd439547750b85f618; b2f7d0adc1260fa33ff3e992d1…
Fixed in: Linux 4.10

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49932 being exploited?

There is no confirmed exploitation: CVE-2022-49932 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49932?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49932?

Linux \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e136e969d268b9b89329c816c002e53f60e82985; \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e28533c08023c4b319b7f2cd77f3f7c9204eb517; \>= dbef2808af6c594922fe32833b30f55f35e9da6d, \< e32b120071ea114efc0b4ddd439547750b85f618; b2f7d0adc1260fa33ff3e992d18ff15873e68a67; 2c0bf2560ca18abe1451db23b8ef8700c67cc44f; f9971a898a815c2a6cce2932e91a576b28ed4cce; 40888c31aca3a46f266f1f121679f8e1982df085; cd3f438fbb9cb60da32dd2b665f7dc9baba1c4ad; e35a2dc8c7f664ae8a9cc46d19985dc79bfc1083; \>= 4.9.220, \< 4.10; …; Linux 5.7.

### Is there a fix for CVE-2022-49932?

Yes. Fixed in Linux 4.10. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49932?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e136e969d268b9b89329c816c002e53f60e82985>
- patch: <https://git.kernel.org/stable/c/e28533c08023c4b319b7f2cd77f3f7c9204eb517>
- patch: <https://git.kernel.org/stable/c/e32b120071ea114efc0b4ddd439547750b85f618>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49932>

HTML: <https://flawdb.com/CVE-2022-49932> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49932>
