diff options
author | David Hildenbrand <[email protected]> | 2015-11-05 09:38:15 +0100 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2015-11-19 14:47:32 +0100 |
commit | b85de33a1a3433487b6a721cfdce25ec8673e622 (patch) | |
tree | 8803c3b5422154ae56a8f023abf8722dd9d6c046 /net/lapb/lapb_iface.c | |
parent | db27a7a37aa0b1f8b373f8b0fb72a2ccaafb85b7 (diff) |
KVM: s390: avoid memory overwrites on emergency signal injection
Commit 383d0b050106 ("KVM: s390: handle pending local interrupts via
bitmap") introduced a possible memory overwrite from user space.
User space could pass an invalid emergency signal code (sending VCPU)
and therefore exceed the bitmap. Let's take care of this case and
check that the id is in the valid range.
Reviewed-by: Dominik Dingel <[email protected]>
Cc: [email protected] # v3.19+ db27a7a KVM: Provide function for VCPU lookup by id
Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions