Commit d292976
Peter Zijlstra
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: 8dafa9d ("sched/eevdf: Fix min_deadline heap integrity")
Reported-by: [email protected]
Reported-by: Dmitry Safonov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Dmitry Safonov <[email protected]>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218020
Link: https://lkml.kernel.org/r/CAJwJo6ZGXO07%3DQvW4fgQfbsDzQPs9xj5sAQ1zp%3DmAyPMNbHYww%40mail.gmail.com1 parent 5872080 commit d292976
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3657 | 3657 | | |
3658 | 3658 | | |
3659 | 3659 | | |
3660 | | - | |
| 3660 | + | |
| 3661 | + | |
3661 | 3662 | | |
3662 | 3663 | | |
3663 | 3664 | | |
| |||
0 commit comments