Jim Mattson 85c856b39b kvm: nVMX: Fix kernel panics induced by illegal INVEPT/INVVPID types
Bitwise shifts by amounts greater than or equal to the width of the left
operand are undefined. A malicious guest can exploit this to crash a
32-bit host, due to the BUG_ON(1)'s in handle_{invept,invvpid}.

Signed-off-by: Jim Mattson <jmattson@google.com>
Message-Id: <1477496318-17681-1-git-send-email-jmattson@google.com>
[Change 1UL to 1, to match the range check on the shift count. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-10-27 12:15:27 +02:00
..
2016-07-23 11:04:23 -07:00
2016-09-20 09:26:20 +02:00
2016-09-20 09:26:20 +02:00
2016-10-11 15:06:33 -07:00
2016-10-20 14:54:11 +02:00
2016-07-14 09:03:57 +02:00
2016-06-16 00:05:00 +02:00
2016-01-15 17:56:32 -08:00
2016-07-14 09:02:47 +02:00
2016-06-14 11:16:28 +02:00
2016-10-06 10:49:01 -07:00
2016-09-20 09:26:15 +02:00