CVE-2012-0045
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Linux Kernel 3.1.8 - KVM Local Denial of Service
source: https://www.securityfocus.com/bid/51389/info
The Linux kernel is prone to a local denial-of-service vulnerability.
Attackers can exploit this issue to cause the kernel to crash, denying service to legitimate users.
NOTE: This issue affects Linux kernels running as guest images.
[bits 32]
global _start
SECTION .text
_start: syscall
OS impact
Linux kernel Affected 60 releases
| Version | Status | Fixed in |
|---|---|---|
| 3.2.12 | Affected | โ |
| 3.2.11 | Affected | โ |
| 3.2.10 | Affected | โ |
| 3.2.9 | Affected | โ |
| 3.2.8 | Affected | โ |
| 3.2.7 | Affected | โ |
| 3.2.6 | Affected | โ |
| 3.2.5 | Affected | โ |
| 3.2.4 | Affected | โ |
| 3.2.3 | Affected | โ |
| 3.2.2 | Affected | โ |
| 3.2.1 | Affected | โ |
| 3.2 | Affected | โ |
| 3.1.10 | Affected | โ |
| 3.1.9 | Affected | โ |
| 3.1.8 | Affected | โ |
| 3.1.7 | Affected | โ |
| 3.1.6 | Affected | โ |
| 3.1.5 | Affected | โ |
| 3.1.4 | Affected | โ |
| 3.1.3 | Affected | โ |
| 3.1.2 | Affected | โ |
| 3.1.1 | Affected | โ |
| 3.1 | Affected | โ |
| 3.0.34 | Affected | โ |
| 3.0.33 | Affected | โ |
| 3.0.32 | Affected | โ |
| 3.0.31 | Affected | โ |
| 3.0.30 | Affected | โ |
| 3.0.29 | Affected | โ |
| 3.0.28 | Affected | โ |
| 3.0.27 | Affected | โ |
| 3.0.26 | Affected | โ |
| 3.0.25 | Affected | โ |
| 3.0.24 | Affected | โ |
| 3.0.23 | Affected | โ |
| 3.0.22 | Affected | โ |
| 3.0.21 | Affected | โ |
| 3.0.20 | Affected | โ |
| 3.0.19 | Affected | โ |
| 3.0.18 | Affected | โ |
| 3.0.17 | Affected | โ |
| 3.0.16 | Affected | โ |
| 3.0.15 | Affected | โ |
| 3.0.14 | Affected | โ |
| 3.0.13 | Affected | โ |
| 3.0.12 | Affected | โ |
| 3.0.11 | Affected | โ |
| 3.0.10 | Affected | โ |
| 3.0.9 | Affected | โ |
| 3.0.8 | Affected | โ |
| 3.0.7 | Affected | โ |
| 3.0.6 | Affected | โ |
| 3.0.5 | Affected | โ |
| 3.0.4 | Affected | โ |
| 3.0.3 | Affected | โ |
| 3.0.2 | Affected | โ |
| 3.0.1 | Affected | โ |
| 3.0 | Affected | โ |
| โ | Affected | โ |
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=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
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=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
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.