Re: yet more slab corruption.

From: Andrew Morton
Date: Wed Mar 08 2006 - 02:13:40 EST


Dave Jones <davej@xxxxxxxxxx> wrote:
>
> Garg. Is there no end to these ?
> That kernel is based off 2.6.16rc5-git8
>
> This brings the current count up to 8 different patterns filed
> against our 2.6.16rc tree in Fedora bugzilla.
> (One of them doesn't count as it's against the out-of-tree bcm43xx driver).
>

A use-after-free on size-2048. We wrote -1L and 0L apparently 0x6b8 bytes
into the object. That's an awfully large offset for tty_struct - off the
end. Sometimes the buffer was used as skb data too.

Unless it was a DMA scribble, CONFIG_DEBUG_PAGEALLOC should catch this.
-
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/