Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-0045 EUVD-2012-0085GHSA-jq5h-388q-3jvj

The em_syscall function in arch/x86/kvm/emulate.c in the KVM implementation in the Linux kernel before 3.2.14 does not properly handle the …

Published Jul 3, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

The em_syscall function in arch/x86/kvm/emulate.c in the KVM implementation in the Linux kernel before 3.2.14 does not properly handle the 0f05 (aka syscall) opcode, which allows guest OS users to cause a denial of service (guest OS crash) via a crafted application, as demonstrated by an NASM file.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 6.0 linux-2.6 2.6.32-41squeeze2 DSA-2443-1
ReleasePackageFixed inAdvisory
RHEL 6 perf +15 2.6.32-220.7.1.el6 RHSA-2012:0350
RHEL 6 rhev-hypervisor6 +1 6.2-20120320.0.el6_2 RHSA-2012:0422

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References