Re: [PATCH v7 15/15] KVM: s390: fix possible null pointer dereference in pending_irqs()

From: Cornelia Huck
Date: Thu Jan 31 2019 - 12:47:24 EST


On Thu, 31 Jan 2019 09:52:46 +0100
Michael Mueller <mimu@xxxxxxxxxxxxx> wrote:

> Assure a GISA is in use before accessing the IPM to avoid a
> null pointer dereference issue.

This series can hopefully make it into the next merge window;
otherwise, queuing a patch fixing up the original code would be good.

>
> Signed-off-by: Michael Mueller <mimu@xxxxxxxxxxxxx>
> Reported-by: Halil Pasic <pasic@xxxxxxxxxxxxx>
> ---
> arch/s390/kvm/interrupt.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>