Input validation error in Linux kernel - CVE-2012-0045

 

Input validation error in Linux kernel - CVE-2012-0045

Published: July 3, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43920
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-0045
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

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

Linux kernel
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

Install update from vendor's website.

linux (Ubuntu package) - addressed in versions 2.6.32-41.88, 2.6.38-14.58, 3.0.0-19.33
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

Related Security Bulletins