summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2014-08-06 16:17:58 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-08-25 14:35:15 +0200
commit614a80e474b227cace52fd6e3c790554db8a396e (patch)
tree02a2e3e74d767ede0709d2ba3e17ef1256eb9f0d /security
parentLinux 3.17-rc1 (diff)
downloadlinux-614a80e474b227cace52fd6e3c790554db8a396e.tar.xz
linux-614a80e474b227cace52fd6e3c790554db8a396e.zip
KVM: s390: Fix user triggerable bug in dead code
In the early days, we had some special handling for the KVM_EXIT_S390_SIEIC exit, but this was gone in 2009 with commit d7b0b5eb3000 (KVM: s390: Make psw available on all exits, not just a subset). Now this switch statement is just a sanity check for userspace not messing with the kvm_run structure. Unfortunately, this allows userspace to trigger a kernel BUG. Let's just remove this switch statement. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions