Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7420941imu; Thu, 31 Jan 2019 09:49:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Giq+imW06gAAqoVNDR5WlrK6VDRi1kL7Wd9g10P+R1pOPZPj2324fH3b2BUiqgcbFYFUz X-Received: by 2002:a17:902:704b:: with SMTP id h11mr35942294plt.157.1548956941903; Thu, 31 Jan 2019 09:49:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548956941; cv=none; d=google.com; s=arc-20160816; b=mtJvqLC0xfNnZQFO6BTjfhIE25/Xeb1YY4xah5BYN3wwgslWfTLP1gfwJjwwlBkhRh 4BEt8yWdF4+vB5rP9fVU1QQqaAJ1Ax4tCvjX0uqZd6PRyMqagvnbqXCkpu/Sb24+uI1C ddeKMmEUdiPDj3AMFUtarh4UdB7QPrFx+BcR6bS+7lAh1S3YCpL/uqxyEhCT7RaS0KpP 7A2BtLOBtrdcogjwbXb3P0Fp/25nNNYemkKnqXy3t5yNFiGsvHbtdF8Cg8Rjb9tph76G SDnyf5+gIhUMBu3Y7gGJpEmXF65kD+EipIPMJm4xbpOBaIZOR2qbdRkO2ZdT6L36pjQ+ syEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=tuJyAJLjzCrW38PW2ACUswLMq0qsLfnQxa57vQufkws=; b=ipYS+VKjipFg0uF4pxD8WHRZdqLtTmO2JbPwYwZJATQaPeaNIBZJSMZ9XXqPJe5Oof 0VDfmVMnDwYIUF1TM1GVS36wWuTyS5/4IpPM1jasPOVT10Tkfr2E7VEBpTzZZ+4smlr8 b56f8w2//ukQVMxFPtj10F9813a96Oq9HDJtL8hYjvXa/6FuYl7pmGVjUYU6/ERvezno TI4vzGHqv4SIIot8wiVvpUPSA/nA6LbIkNVlc53s135+s41VjD7nEYKGt63xsx8VY6aJ 72Kx0fcGUAKn8u29NaSoARewg7SN8HJ7eIGfEFM7gUXI2iHnwdlK8BdLc3F6hbzvAEGf s9sQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m32si5031462pld.86.2019.01.31.09.48.46; Thu, 31 Jan 2019 09:49:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727557AbfAaRrX (ORCPT + 99 others); Thu, 31 Jan 2019 12:47:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48100 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbfAaRrW (ORCPT ); Thu, 31 Jan 2019 12:47:22 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3D10242BD8; Thu, 31 Jan 2019 17:47:22 +0000 (UTC) Received: from gondolin (ovpn-116-34.ams2.redhat.com [10.36.116.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id 98A6419492; Thu, 31 Jan 2019 17:47:16 +0000 (UTC) Date: Thu, 31 Jan 2019 18:47:12 +0100 From: Cornelia Huck To: Michael Mueller Cc: KVM Mailing List , Linux-S390 Mailing List , linux-kernel@vger.kernel.org, Martin Schwidefsky , Heiko Carstens , Christian Borntraeger , Janosch Frank , David Hildenbrand , Halil Pasic , Pierre Morel Subject: Re: [PATCH v7 15/15] KVM: s390: fix possible null pointer dereference in pending_irqs() Message-ID: <20190131184712.3fcd8c36.cohuck@redhat.com> In-Reply-To: <20190131085247.13826-16-mimu@linux.ibm.com> References: <20190131085247.13826-1-mimu@linux.ibm.com> <20190131085247.13826-16-mimu@linux.ibm.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 31 Jan 2019 17:47:22 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 31 Jan 2019 09:52:46 +0100 Michael Mueller 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 > Reported-by: Halil Pasic > --- > arch/s390/kvm/interrupt.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) Reviewed-by: Cornelia Huck