linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: simon.guinot@sequanux.org (Simon Guinot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] leds: netxbig: fix oops at probe time
Date: Mon, 22 Dec 2014 12:57:37 +0100	[thread overview]
Message-ID: <20141222115737.GL19261@kw.sim.vm.gnt> (raw)
In-Reply-To: <20141211090400.GB18449@kw.sim.vm.gnt>

On Thu, Dec 11, 2014 at 10:04:00AM +0100, Simon Guinot wrote:
> On Tue, Dec 02, 2014 at 04:32:10PM +0100, Simon Guinot wrote:
> > This patch fixes a NULL pointer dereference on led_dat->mode_val. Due to
> > this bug, a kernel oops can be observed at probe time on the LaCie 2Big
> > and 5Big v2 boards:
> > 
> > Unable to handle kernel NULL pointer dereference at virtual address 00000008
> > [...]
> > [<c03f244c>] (netxbig_led_probe) from [<c02c8c6c>] (platform_drv_probe+0x4c/0x9c)
> > [<c02c8c6c>] (platform_drv_probe) from [<c02c72d0>] (driver_probe_device+0x98/0x25c)
> > [<c02c72d0>] (driver_probe_device) from [<c02c7520>] (__driver_attach+0x8c/0x90)
> > [<c02c7520>] (__driver_attach) from [<c02c5c24>] (bus_for_each_dev+0x68/0x94)
> > [<c02c5c24>] (bus_for_each_dev) from [<c02c6408>] (bus_add_driver+0x124/0x1dc)
> > [<c02c6408>] (bus_add_driver) from [<c02c7ac0>] (driver_register+0x78/0xf8)
> > [<c02c7ac0>] (driver_register) from [<c000888c>] (do_one_initcall+0x80/0x1cc)
> > [<c000888c>] (do_one_initcall) from [<c0733618>] (kernel_init_freeable+0xe4/0x1b4)
> > [<c0733618>] (kernel_init_freeable) from [<c058db9c>] (kernel_init+0xc/0xec)
> > [<c058db9c>] (kernel_init) from [<c0009850>] (ret_from_fork+0x14/0x24)
> > [...]
> > 
> > This bug was introduced by commit 588a6a99286ae30afb1339d8bc2163517b1b7dd1
> > ("leds: netxbig: fix attribute-creation race").
> > 
> > Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
> > Cc: <stable@vger.kernel.org> # 3.17+
> > ---
> >  drivers/leds/leds-netxbig.c | 12 ++++++------
> >  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> Hi Bryan,
> 
> Please apply up this patch.

Hi Bryan,

Is there any news about this patch on your side ?

Jason, Andrew, Sebastian,

Maybe this patch can go through the SoC branch ?

Thanks in advance.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141222/af388081/attachment.sig>

  reply	other threads:[~2014-12-22 11:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02 15:32 [PATCH] leds: netxbig: fix oops at probe time Simon Guinot
2014-12-03 10:35 ` Johan Hovold
2014-12-11  9:04 ` Simon Guinot
2014-12-22 11:57   ` Simon Guinot [this message]
2015-01-13 20:14   ` Bryan Wu
2015-01-13 20:16     ` Andrew Lunn
2015-01-13 20:24       ` Bryan Wu
2015-01-17  3:15         ` Olof Johansson

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=20141222115737.GL19261@kw.sim.vm.gnt \
    --to=simon.guinot@sequanux.org \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).