Drivers: hv: vmbus: Close timing hole that can corrupt per-cpu page
authorMichael Kelley <mikelley@microsoft.com>
Thu, 18 May 2017 17:46:07 +0000 (10:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 13:42:42 +0000 (15:42 +0200)
commit13b9abfc92be7c4454bff912021b9f835dea6e15
tree134b32b899c3684a7ebcef5c3a6d23784afe28b7
parent3110010896f17f381bd74d72b9d4a46a087c46b8
Drivers: hv: vmbus: Close timing hole that can corrupt per-cpu page

Extend the disabling of preemption to include the hypercall so that
another thread can't get the CPU and corrupt the per-cpu page used
for hypercall arguments.

Cc: <Stable@vger.kernel.org> #4.11
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv.c