bpf_prog_free_deferred bug. WAS: Re: WARNING in mark_chain_precision

2019-07-10 Thread Andrii Nakryiko
On Tue, Jul 9, 2019 at 9:08 PM Hillf Danton wrote: > > > Mon, 08 Jul 2019 21:25:00 -0700 (PDT) > > Hello, > > > > syzbot has tested the proposed patch but the reproducer still triggered > > crash: > > WARNING in bpf_jit_free > > > > WARNING: CPU: 0 PID: 9077 at kernel/bpf/core.c:851 bpf_jit_free+0

Re: WARNING in mark_chain_precision

2019-07-09 Thread Andrii Nakryiko
Original reproducer is almost identical to the one that is fixed by https://patchwork.ozlabs.org/patch/1129479/. bpf_prog_free_deferred bug that's undeterministically exposed after this fix seems to be the cause of a bunch of other bug reports and is not related to verifier precision tracking. #s

Re: WARNING in mark_chain_precision

2019-07-08 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: WARNING in bpf_jit_free WARNING: CPU: 0 PID: 9077 at kernel/bpf/core.c:851 bpf_jit_free+0x157/0x1b0 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9077 Comm: kworker/0:3 Not tainted 5.2.0-rc6+

Re: WARNING in mark_chain_precision

2019-07-08 Thread Andrii Nakryiko
#syz test: https://github.com/anakryiko/linux bpf-fix-precise-bpf_st

WARNING in mark_chain_precision

2019-07-08 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a51df9f8 gve: fix -ENOMEM null check on a page allocation git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=17e64325a0 kernel config: https://syzkaller.appspot.com/x/.config?x=6bb3e6e7997c14f9 dashb