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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pekka Enberg <penberg@...>
Cc: Evgeniy Polyakov <johnpol@...>, <linux-kernel@...>, <netdev@...>, Vegard Nossum <vegard.nossum@...>, Rafael J. Wysocki <rjw@...>
Date: Friday, July 18, 2008 - 5:09 am

* Pekka Enberg <penberg@cs.helsinki.fi> wrote:


yeah, we want to check use-after free at the next allocation point - 
i.e. as late as possible to gather all corruptions that happened 
meanwhile.

We could in theory have a SLUB debug mode where a SCHED_IDLE kernel 
thread would periodically check all free objects (of that CPU) in the 
background to ensure their integrity. That would catch corruptions 
sooner, with a possibly still meaningful context to print out. [right 
after the IRQ or process that corrupts them finishes running]

It could also be hooked into ftrace to print out the last few hundred 
kernel function calls executed prior any corruption. ftrace/slub-debug 
plugin perhaps?

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison ov..., Christoph Lameter, (Fri Jul 18, 9:55 am)
Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison ov..., Christoph Lameter, (Mon Jul 21, 12:22 pm)
Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison ov..., Christoph Lameter, (Mon Jul 21, 12:19 pm)
Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison ov..., Christoph Lameter, (Fri Jul 18, 9:54 am)
Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison ov..., Evgeniy Polyakov, (Fri Jul 18, 12:07 pm)
Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison ov..., Christoph Lameter, (Fri Jul 18, 10:48 am)
Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison ov..., Ingo Molnar, (Fri Jul 18, 5:09 am)