Re: 4.3-rc7: kmemleak BUG: Redzone overwritten

From: Aaro Koskinen
Date: Tue Oct 27 2015 - 12:11:15 EST


Hi,

On Tue, Oct 27, 2015 at 05:56:11PM +0200, Andy Shevchenko wrote:
> On Tue, 2015-10-27 at 17:46 +0200, Aaro Koskinen wrote:
> > With 4.3-rc7 and slub_debug=FZUP, I get the below when reading
> > /sys/kernel/debug/kmemleak with a large number of reported entries.
> > It's pretty repeatable. HW is MIPS64.
> >
> > With the SLUB debugging disabled, box crashes randomly in
> > kmem_cache_free
> > or kmem_cache_alloc when the kmemleak file is read on a running
> > system.
> >
> > Seems to start with 6fc37c490076 ("kmemleak: use seq_hex_dump() to
> > dump buffers").
>
> So, you mean reverting it does help?

Yes.

> Btw, we have kmemleak test suite. Any suggestion how can it be
> reproducible with it?

Maybe a add test for big number of objects? In this case there are 3072
reported objects.

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