Re: 2.6.25-rc8-mm2: IP: [] __kmalloc+0x69/0x110

Christoph Lameter
2008-04-14T17:53:22Z

On Mon, 14 Apr 2008, Pekka Enberg wrote:

> > Code: 48 89 45 d0 9c 41 5d fa e8 f5 a5 fc ff 65 8b 04 25 24 00 00 00 48 98 4c 8b bc c3 c8 00 00 00 4d 8b 27 4d 85 e4 74 7a 41 8b 47 14 <49> 8b 04 c4 49 89 07 41 f7 c5 00 02 00 00 75 37 41 55 9d e8 bf
> > RIP [<ffffffff802868f9>] __kmalloc+0x69/0x110
> > RSP <ffff81017cba9c68>
> > CR2: 0000000500000500
>
> Looks like freelist corruption where c->freelist is 0x0000000500000500
> and c->offset is zero... Christoph?

c->offset is zero is okay. Could be a object freepointer corruption
because the first word of the object is overwritten after free. You
need to run with slub_debug on the commandline or CONFIG_SLUB_DEBUG_ON to
debug this.

Anyone know what the possible meaning of 0x0000000500000500 is? I do not
see anything in poison.h.