[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190927.102833.1060603614092107867.davem@davemloft.net>
Date: Fri, 27 Sep 2019 10:28:33 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org,
eric.dumazet@...il.com, bpf@...r.kernel.org,
syzkaller@...glegroups.com
Subject: Re: [PATCH net] kcm: disable preemption in
kcm_parse_func_strparser()
From: Eric Dumazet <edumazet@...gle.com>
Date: Tue, 24 Sep 2019 12:29:34 -0700
> After commit a2c11b034142 ("kcm: use BPF_PROG_RUN")
> syzbot easily triggers the warning in cant_sleep().
>
> As explained in commit 6cab5e90ab2b ("bpf: run bpf programs
> with preemption disabled") we need to disable preemption before
> running bpf programs.
...
> Fixes: a2c11b034142 ("kcm: use BPF_PROG_RUN")
> Fixes: 6cab5e90ab2b ("bpf: run bpf programs with preemption disabled")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied.
Powered by blists - more mailing lists