task_struct slab cache use after free in 2.5.66
Quoted 11 lines · Zwane
Quoted 3 lines · Andrew Morton
That's the second report of this. Someone did a
put_task_structagainst a freedtask_struct. I'll cook up a debug patch to trap it. Something like this:Well there is also the
detach_pidbug which suddenly vanished... I'm not aware of anyone sending a patch for that (but i can't be certain i havent been keeping up with lkml lately). I posted some debug information for that one about a week ago:Pine.LNX.4.50.0303221152460.18911-100000@montezuma.mastecende.com
Manfred?
I didn't send a patch. One thing I noticed from reading zwane's bug report is that the reference count of the task structure was off by at least 3:
__detach_pid(p, PIDTYPE_PGID)
failed because the task structure was already filled with slab poison.
--
Manfred
Quoted 7 lines · Manfred Spraul
I didn't send a patch. One thing I noticed from reading zwane's bug report is that the reference count of the task structure was off by at least 3:
__detach_pid(p, PIDTYPE_PGID)failed because the task structure was already filled with slab poison.
Ok i'm going to give Andrew's debug patch a go.
Signature · 1 line
function.linuxpower.ca