Re: [BUG 3.12.rc4] Oops: unable to handle kernel paging requestduring shutdown

From: Ingo Molnar
Date: Tue Oct 15 2013 - 02:40:35 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> I've been thinking that CONFIG_DEBUG_LIST could help. Unfortunately it's
> good to spot list APIs misuse but, if Linus is right, the problem may be
> that the list belongs to an object that has been freed, and I believe
> that won't detect such a thing.

Use-after free should be reliably detectable via CONFIG_DEBUG_PAGEALLOC=y.

A couple of years ago I wrote a list debugging beast that would catch
use-after-free mishaps (sent it to lkml too IIRC), but it was a bit
complex and I never found the time to nurse it upstream.

Thanks,

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