mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: William Breathitt Gray <vilhelm.gray@gmail.com>
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
Date: Sun, 11 Oct 2015 10:30:59 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.11.1510111028510.6097@nanos> (raw)
In-Reply-To: <56197B1B.60304@gmail.com>

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

      reply	other threads:[~2015-10-11  8:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10 20:54 William Breathitt Gray
2015-10-11  8:30 ` Thomas Gleixner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.11.1510111028510.6097@nanos \
    --to=tglx@linutronix.de \
    --cc=hpa@zytor.com \
    --cc=jiang.liu@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=vilhelm.gray@gmail.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®