From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751467AbbJKIbr (ORCPT ); Sun, 11 Oct 2015 04:31:47 -0400 Received: from www.linutronix.de ([62.245.132.108]:41344 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751102AbbJKIbo (ORCPT ); Sun, 11 Oct 2015 04:31:44 -0400 Date: Sun, 11 Oct 2015 10:30:59 +0200 (CEST) From: Thomas Gleixner To: William Breathitt Gray cc: mingo@redhat.com, hpa@zytor.com, jiang.liu@linux.intel.com, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BUG] x86: apic: Possible null pointer dereference by apic_ack_edge In-Reply-To: <56197B1B.60304@gmail.com> Message-ID: References: <56197B1B.60304@gmail.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 10 Oct 2015, William Breathitt Gray wrote: > In mainline kernel version 4.3-rc4, the following line located in the > apic_ack_edge function definition can result in a null pointer dereference: > > irq_complete_move(irqd_cfg(data)); > > The irqd_cfg function may return a value of NULL. data is never NULL when apic_ack_edge() is called. Thanks, tglx