Re: potential NULL dereference in futex_wait_requeue_pi()

From: Dan Carpenter
Date: Wed Jul 18 2012 - 11:57:26 EST


On Wed, Jul 18, 2012 at 08:41:38AM -0700, Darren Hart wrote:
>
>
> On 07/18/2012 08:31 AM, Dave Jones wrote:
> > On Wed, Jul 18, 2012 at 05:25:14PM +0300, Dan Carpenter wrote:
> > > Hi Darren,
> > >
> > > The patch 52400ba94675: "futex: add requeue_pi functionality" from
> > > Apr 3, 2009, leads to the following warning:
> > > kernel/futex.c:2373 futex_wait_requeue_pi()
> > > error: potential NULL dereference 'pi_mutex'.
> >
> > This sounds like the oops I saw that I reported at https://lkml.org/lkml/2012/7/13/328
>
> I'm looking into the report Dave sent today (delayed from piles of
> urgent issues after returning from vacation, my apologies).
>
> Dan, under which workload are you seeing this?
>

This was a static checker warning. It was Dave who saw the oops
from syscall fuzzing with trinity.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/