2006-03-07 23:59:50

by Dave Jones

[permalink] [raw]
Subject: yet more slab corruption.

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).

Dave

--
http://www.codemonkey.org.uk


Attachments:
(No filename) (301.00 B)
(No filename) (9.80 kB)
Download all attachments

2006-03-08 07:16:17

by Andrew Morton

[permalink] [raw]
Subject: Re: yet more slab corruption.

Dave Jones <[email protected]> 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.