]> Git Repo - linux.git/commit
KVM: s390: prevent buffer overrun on memory hotplug during migration
authorChristian Borntraeger <[email protected]>
Thu, 21 Dec 2017 08:18:22 +0000 (09:18 +0100)
committerChristian Borntraeger <[email protected]>
Fri, 22 Dec 2017 14:22:41 +0000 (15:22 +0100)
commitc2cf265d860882b51a200e4a7553c17827f2b730
tree2383bf77fda6cc74aba2c3d11f3fd9084c003011
parent32aa144fc32abfcbf7140f473dfbd94c5b9b4105
KVM: s390: prevent buffer overrun on memory hotplug during migration

We must not go beyond the pre-allocated buffer. This can happen when
a new memory slot is added during migration.

Reported-by: David Hildenbrand <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Cc: [email protected] # 4.13+
Fixes: 190df4a212a7 (KVM: s390: CMMA tracking, ESSA emulation, migration mode)
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
arch/s390/kvm/priv.c
This page took 0.050198 seconds and 4 git commands to generate.