Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten

From: Evgeniy Polyakov
Date: Fri Jul 18 2008 - 01:47:17 EST


Hi Ingo.

On Thu, Jul 17, 2008 at 11:42:22PM +0200, Ingo Molnar (mingo@xxxxxxx) wrote:
> Pid: 5098, comm: gdm-binary Not tainted 2.6.26-tip #3094
> [<c0186f99>] print_trailer+0xa9/0xf0
> [<c018707b>] check_bytes_and_report+0x9b/0xc0
> [<c01874ae>] check_object+0x19e/0x1e0
> [<c0187ef1>] __slab_alloc+0x371/0x4e0
> [<c0188552>] kmem_cache_alloc+0xb2/0xc0
> [<c06732dc>] ? __alloc_skb+0x2c/0x110

Out of curiosity, why does it scream at allocation time?
Does SLUB have a debug check at freeing time? If so, how does it work
and why didn't it caught use after free there?

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