Skip to content
Commit d2929762 authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

sched/eevdf: Fix heap corruption more



Because someone is a flaming idiot... and forgot we have current as
se->on_rq but not actually in the tree itself, and walking rb_parent()
on an entry not in the tree is 'funky' and KASAN complains.

Fixes: 8dafa9d0 ("sched/eevdf: Fix min_deadline heap integrity")
Reported-by: default avatar <0599jiangyc@gmail.com>
Reported-by: default avatarDmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: default avatarDmitry Safonov <0x7f454c46@gmail.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218020
Link: https://lkml.kernel.org/r/CAJwJo6ZGXO07%3DQvW4fgQfbsDzQPs9xj5sAQ1zp%3DmAyPMNbHYww%40mail.gmail.com
parent 58720809
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment