CVE-2022-4994
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-4994 is a vulnerability in the Linux kernel's KVM (Kernel-based Virtual Machine) subsystem, specifically in the x86 port I/O (PIO) emulation path. The issue involves a logic error in how fast IN operations interact with emulator_pio_in(), where the fast PIO path unnecessarily bounced through emulator_pio_in() rather than calling __emulator_pio_in() directly. Affected versions span Linux kernel 4.10 through those prior to the fix introduced in kernel 6.0. The vulnerability was published on July 30, 2026, with a patch available in the upstream kernel. No CVSS score has been formally assigned; the EUVD lists a base score of 0.0, and Feedly estimates severity as Medium (GitHub Advisory).

Technical details

The root cause is a logic error (no formal CWE assigned) in the KVM x86 PIO handling code, where the fast IN path incorrectly routed through emulator_pio_in() instead of calling __emulator_pio_in() directly. Because vcpu->arch.pio.count is guaranteed to be 0 at the point of fast PIO handling, the extra indirection was a no-op functionally, but the code path introduced improper emulation state management during fast I/O operations. The fix refactors the call so that emulator_pio_in_emulated becomes the sole remaining caller of emulator_pio_in(), and fast PIO uses __emulator_pio_in() directly. The upstream patch is identified by commit dc7a4bfde507ffe1d8bef49aba1322f1d20c2cb3 (GitHub Advisory).

Impact

According to available threat intelligence, guest VMs could potentially trigger unexpected behavior or information leakage through crafted port I/O sequences exploiting this improper emulation state management. The vulnerability is confined to the KVM x86 subsystem, meaning only systems running Linux as a hypervisor with KVM-based x86 virtualization are in scope. The practical impact appears limited given the "no functional change intended" characterization of the fix and the absence of a CVSS score, suggesting the risk of significant confidentiality, integrity, or availability compromise is low (GitHub Advisory).

Mitigation and workarounds

The fix is available in the upstream Linux kernel starting with version 6.0, via commit dc7a4bfde507ffe1d8bef49aba1322f1d20c2cb3. Administrators running Linux kernels from version 4.10 up to (but not including) the patched commit should update to a kernel version that includes this fix. No configuration-based workarounds have been published; upgrading the kernel is the recommended remediation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-riscv-6.17
NoYesJul 29, 2026
CVE-2026-64560HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-core
NoYesJul 29, 2026
CVE-2026-64559HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-doc
NoYesJul 29, 2026
CVE-2026-64558HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules
NoYesJul 29, 2026
CVE-2022-4994NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-nvidia
NoYesJul 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management