Input validation error in Linux kernel - CVE-2012-0045
Published: July 3, 2012 / Updated: August 11, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.
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.
Affected software
Ubuntu
linux (Ubuntu package)
linux-lts-backport-maverick (Ubuntu package)
linux-lts-backport-natty (Ubuntu package)
linux-lts-backport-oneiric (Ubuntu package)
How to mitigate CVE-2012-0045
linux-lts-backport-maverick (Ubuntu package) - update to 2.6.35-32.68~lucid1
linux-lts-backport-natty (Ubuntu package) - update to 2.6.38-15.59~lucid1
linux-lts-backport-oneiric (Ubuntu package) - update to 3.0.0-19.33~lucid1
Links to Public Exploits and PoC-codes
External References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c2226fc9e87ba3da060e47333657cd6616652b84
- http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00013.html
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.14
- http://www.openwall.com/lists/oss-security/2012/01/12/2
- https://bugzilla.redhat.com/show_bug.cgi?id=773370
- https://github.com/torvalds/linux/commit/c2226fc9e87ba3da060e47333657cd6616652b84