Re: [PATCH net] net: sched: red: avoid hashing NULL child

2018-05-18 Thread David Miller
From: Paolo Abeni Date: Fri, 18 May 2018 14:51:44 +0200 > Hangbin reported an Oops triggered by the syzkaller qdisc rules: ... > When a red qdisc is updated with a 0 limit, the child qdisc is left > unmodified, no additional scheduler is created in red_change(), > the 'child' local variable is r

Re: [PATCH net] net: sched: red: avoid hashing NULL child

2018-05-18 Thread Jiri Kosina
On Fri, 18 May 2018, Paolo Abeni wrote: > Hangbin reported an Oops triggered by the syzkaller qdisc rules: > > kasan: GPF could be caused by NULL-ptr deref or user memory access > general protection fault: [#1] SMP KASAN PTI > Modules linked in: sch_red > CPU: 0 PID: 28699 Comm: syz-exec

[PATCH net] net: sched: red: avoid hashing NULL child

2018-05-18 Thread Paolo Abeni
Hangbin reported an Oops triggered by the syzkaller qdisc rules: kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: [#1] SMP KASAN PTI Modules linked in: sch_red CPU: 0 PID: 28699 Comm: syz-executor5 Not tainted 4.17.0-rc4.kcov #1 Hardware name: