syzbot


bpf test error: WARNING in __nf_unregister_net_hook

Status: closed as dup on 2021/05/03 20:12
Subsystems: netfilter
[Documentation on labels]
Reported-by: syzbot+854457fa0d41f836cd0e@syzkaller.appspotmail.com
First crash: 1178d, last: 1166d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
linux-next test error: WARNING in __nf_unregister_net_hook netfilter 21 1174d 1176d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] bpf test error: WARNING in __nf_unregister_net_hook 1 (2) 2021/05/03 20:12

Sample crash report:
------------[ cut here ]------------
hook not found, pf 3 num 0
WARNING: CPU: 0 PID: 9 at net/netfilter/core.c:480 __nf_unregister_net_hook+0x1eb/0x610 net/netfilter/core.c:480
Modules linked in:
CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 5.12.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:__nf_unregister_net_hook+0x1eb/0x610 net/netfilter/core.c:480
Code: 0f b6 14 02 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 11 04 00 00 8b 53 1c 89 ee 48 c7 c7 c0 d8 6d 8a e8 b0 53 8a 01 <0f> 0b e9 e5 00 00 00 e8 89 13 2e fa 44 8b 3c 24 4c 89 f8 48 c1 e0
RSP: 0018:ffffc90000ce7bc0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888024bf1400 RCX: 0000000000000000
RDX: ffff888011d78000 RSI: ffffffff815c8f65 RDI: fffff5200019cf6a
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815c2dce R11: 0000000000000000 R12: ffff888030fc0f20
R13: 0000000000000000 R14: ffff888020094080 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe91b1f9000 CR3: 0000000012571000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 nf_unregister_net_hook net/netfilter/core.c:502 [inline]
 nf_unregister_net_hooks+0x117/0x160 net/netfilter/core.c:576
 arpt_unregister_table_pre_exit+0x67/0x80 net/ipv4/netfilter/arp_tables.c:1565
 ops_pre_exit_list net/core/net_namespace.c:165 [inline]
 cleanup_net+0x451/0xb10 net/core/net_namespace.c:583
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (63):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/11 21:49 bpf 569c484f9995 b3c3bb8e .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/11 21:19 bpf e2d5b2bb769f b3c3bb8e .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/11 20:13 bpf 04ea3086c4d7 b3c3bb8e .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/11 18:48 bpf 98a34e93da83 b3c3bb8e .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/11 17:25 bpf 98a34e93da83 ca873091 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/10 11:40 bpf 31379397dcc3 86e1b941 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/07 22:47 bpf 31379397dcc3 bc5434be .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/07 09:26 bpf 31379397dcc3 f6da8120 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/07 09:26 bpf 31379397dcc3 f6da8120 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/07 09:26 bpf 31379397dcc3 f6da8120 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/07 00:13 bpf 31379397dcc3 06585184 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/07 00:12 bpf 31379397dcc3 06585184 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/07 00:12 bpf 31379397dcc3 06585184 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/06 23:41 bpf 0a1a616720d9 06585184 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/06 23:41 bpf 0a1a616720d9 06585184 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/06 16:31 bpf 9683e5775c75 06585184 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/06 16:31 bpf 9683e5775c75 06585184 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/06 16:31 bpf 9683e5775c75 06585184 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/05 18:45 bpf 9683e5775c75 06c27ff5 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/05 18:45 bpf 9683e5775c75 06c27ff5 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/05 18:45 bpf 9683e5775c75 06c27ff5 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/05 00:30 bpf 1682d8df20aa 06c27ff5 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/05 00:30 bpf 1682d8df20aa 06c27ff5 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/05 00:30 bpf 1682d8df20aa 06c27ff5 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/04 11:16 bpf 1682d8df20aa 09efdd63 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/04 11:16 bpf 1682d8df20aa 09efdd63 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/04 11:16 bpf 1682d8df20aa 09efdd63 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/04 05:06 bpf ac31565c2193 09efdd63 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/04 05:06 bpf ac31565c2193 09efdd63 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/04 05:06 bpf ac31565c2193 09efdd63 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 23:39 bpf ac31565c2193 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 23:39 bpf ac31565c2193 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 23:39 bpf ac31565c2193 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 21:00 bpf 2a30f9440640 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 21:00 bpf 2a30f9440640 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 21:00 bpf 2a30f9440640 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 17:21 bpf 801c6058d14a ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 17:21 bpf 801c6058d14a ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 17:21 bpf 801c6058d14a ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 15:19 bpf f80f88f0e2f2 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 15:19 bpf f80f88f0e2f2 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/05/03 15:19 bpf f80f88f0e2f2 ad61f371 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/04/30 18:12 bpf f80f88f0e2f2 77e2b668 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/04/30 18:12 bpf f80f88f0e2f2 77e2b668 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/04/30 18:12 bpf f80f88f0e2f2 77e2b668 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/04/30 00:22 bpf d4eecfb28b96 77e2b668 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/04/30 00:22 bpf d4eecfb28b96 77e2b668 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
2021/04/30 00:22 bpf d4eecfb28b96 77e2b668 .config console log report ci-upstream-bpf-kasan-gce bpf test error: WARNING in __nf_unregister_net_hook
* Struck through repros no longer work on HEAD.