← All Advisories

Linux Kernel KVM x86 Fast IN Path Calls emulator_pio_in When __emulator_pio_in Could Be Used Directly, Causing Unnecessary Indirection in the PIO Emulation Path

Last refreshed2026-09-28

Status: NEW  |  Advisory ID: CVE-2022-4994

Key Details

CVECVE-2022-4994

What to Know

In the Linux kernel, the following vulnerability has been resolved:

KVM: x86: wean fast IN from emulator_pio_in

Use __emulator_pio_in() directly for fast PIO instead of bouncing through

emulator_pio_in() now that __emulator_pio_in() fills "val" when handling

in-kernel PIO. vcpu->arch.pio.count is guaranteed to be '0', so this a

pure nop.

emulator_pio_in_emulated is now the last caller of emulator_pio_in.

No functional change intended. (NVD)

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2022-4994
CVEhttps://www.cve.org/CVERecord?id=CVE-2022-4994