Re: Fwd: Potential out-of-bounds in ftrace_regex_release

From: Dave Jones
Date: Wed Oct 02 2013 - 18:35:35 EST


On Wed, Oct 02, 2013 at 04:18:02PM -0400, Steven Rostedt wrote:
> On Wed, 2013-10-02 at 14:57 -0400, Dave Jones wrote:
>
> > And that's the cause. I wonder what was being opened.
> > Do you happen to have a trinity-child log for that thread ?
>
> Thanks for the update. This definitely looks like the bug, and explains
> a lot. I'll look into this, as I'm currently at a conference, it may be
> sporadic.

another potential clue.. I looked over some logs from some crashes, and saw that just before
the crash, there was a call to unshare(), after which the uid changed from 1000 to 65534.
Is that something that ftrace is prepared for ?

Dave

--
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/