Re: WARNING: CPU: 12 PID: 16862 at ./arch/x86/include/asm/thread_info.h:236

From: Peter Zijlstra
Date: Mon Nov 30 2015 - 11:52:52 EST


On Mon, Nov 30, 2015 at 04:44:05PM +0000, Al Viro wrote:
> On Mon, Nov 30, 2015 at 11:20:44AM -0500, Sasha Levin wrote:
> > Hi all,
> >
> > I've hit the following while fuzzing with trinity on the latest -next kernel:
>
> __set_current_state(TASK_INTERRUPTIBLE);
> schedule();
> set_restore_sigmask();
>
> somehow got out of schedule() without TIF_SIGPENDING being set...

A random wakeup (which are always possible) can make that happen, right?

I'm (as always) a little vague on signals, but who is responsible for
setting that bit?
--
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/