[v3.0] kernel: kvm: arch/x86/kvm/emulate.c and RIP-relative instructions DoS (CVE-2014-8480, CVE-2014-8481)
CVE-2014-8480:
The instruction decoder in arch/x86/kvm/emulate.c in the KVM subsystem
in the Linux kernel before 3.18-rc2 lacks intended decoder-table flags
for certain RIP-relative instructions, which allows guest OS users to
cause a denial of service (NULL pointer dereference and host OS crash)
via a crafted application.
CVE-2014-8481:
The instruction decoder in arch/x86/kvm/emulate.c in the KVM subsystem
in the Linux kernel before 3.18-rc2 does not properly handle invalid
instructions, which allows guest OS users to cause a denial of service
(NULL pointer dereference and host OS crash) via a crafted application
that triggers (1) an improperly fetched instruction or (2) an
instruction that occupies too many bytes. NOTE: this vulnerability
exists because of an incomplete fix for CVE-2014-8480.
References:
•MLIST:[kvm] 20141013 [PATCH 0/2] KVM: x86: Fixing
clflush/hint_nop/prefetch
•URL: http://thread.gmane.org/gmane.comp.emulators.kvm.devel/128427
•MLIST:[oss-security] 20141023 CVE Request: Linux 3.17
guest-triggerable KVM OOPS
•URL: http://www.openwall.com/lists/oss-security/2014/10/23/7
•CONFIRM:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3f6f1480d86bf9fc16c160d803ab1d006e3058d5
•CONFIRM: https://bugzilla.redhat.com/show\_bug.cgi?id=1156615
•CONFIRM:
https://github.com/torvalds/linux/commit/3f6f1480d86bf9fc16c160d803ab1d006e3058d5
•CONFIRM:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a430c9166312e1aa3d80bce32374233bdbfeba32
•CONFIRM:
https://github.com/torvalds/linux/commit/a430c9166312e1aa3d80bce32374233bdbfeba32
•SECUNIA:62042
•URL:http://secunia.com/advisories/62042
(from redmine: issue id 3566, created on 2014-11-25, closed on 2017-09-05)
- Relations:
- parent #3563