CVE-2022-4994: KVM: x86: wean fast IN from emulator_pio_in
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86: wean fast IN from emulatorpioin
Use emulatorpioin() directly for fast PIO instead of bouncing through emulatorpioin() now that emulatorpioin() fills "val" when handling in-kernel PIO. vcpu->arch.pio.count is guaranteed to be '0', so this a pure nop.
emulatorpioinemulated is now the last caller of emulatorpioin.
No functional change intended.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.0.2-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1
Event History
Frequently Asked Questions
What is the severity of CVE-2022-4994?
CVE-2022-4994 has a risk rating of 2, indicating a low severity level.
How do I fix CVE-2022-4994?
To resolve CVE-2022-4994, update to the latest version of the Linux kernel that incorporates the fix.
What systems are affected by CVE-2022-4994?
CVE-2022-4994 affects systems running the Linux kernel with KVM on x86 architecture.
What is the impact of CVE-2022-4994?
CVE-2022-4994 can lead to performance inefficiencies in PIO operations within the KVM emulator.
What does the fix for CVE-2022-4994 involve?
The fix for CVE-2022-4994 involves using __emulator_pio_in() directly for faster PIO operations.