syzbot


net-next test error: WARNING in __nf_unregister_net_hook

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: 43016d02cf6e netfilter: arptables: use pernet ops struct during unregister
First crash: 642d, last: 632d

Sample crash report:
------------[ cut here ]------------
hook not found, pf 3 num 0
WARNING: CPU: 0 PID: 25 at net/netfilter/core.c:480 __nf_unregister_net_hook+0x1eb/0x610 net/netfilter/core.c:480
Modules linked in:
CPU: 0 PID: 25 Comm: kworker/u4:1 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 40 4d 8a 01 <0f> 0b e9 e5 00 00 00 e8 59 19 2e fa 44 8b 3c 24 4c 89 f8 48 c1 e0
RSP: 0018:ffffc90000dffbc0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88814a07f800 RCX: 0000000000000000
RDX: ffff888015b6b880 RSI: ffffffff815c8ba5 RDI: fffff520001bff6a
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815c2a0e R11: 0000000000000000 R12: ffff88801c958f20
R13: 0000000000000000 R14: ffff888022516980 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcf12ced210 CR3: 00000000290dc000 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 (42):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-net-kasan-gce 2021/05/07 22:34 net-next 9d31d2338950 bc5434be .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/07 22:34 net-next 9d31d2338950 bc5434be .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/07 10:12 net-next 9d31d2338950 f6da8120 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/07 10:12 net-next 9d31d2338950 f6da8120 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/07 10:12 net-next 9d31d2338950 f6da8120 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/06 15:45 net-next 9d31d2338950 06585184 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/06 15:45 net-next 9d31d2338950 06585184 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/06 15:45 net-next 9d31d2338950 06585184 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/04 21:47 net-next 9d31d2338950 06c27ff5 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/04 21:47 net-next 9d31d2338950 06c27ff5 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/04 21:47 net-next 9d31d2338950 06c27ff5 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/04 06:40 net-next 9d31d2338950 09efdd63 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/04 06:40 net-next 9d31d2338950 09efdd63 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/04 06:40 net-next 9d31d2338950 09efdd63 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/03 16:31 net-next 9d31d2338950 ad61f371 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/03 16:31 net-next 9d31d2338950 ad61f371 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/05/03 16:31 net-next 9d31d2338950 ad61f371 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/29 20:44 net-next 9d31d2338950 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/29 20:44 net-next 9d31d2338950 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/29 20:44 net-next 9d31d2338950 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 21:32 net-next 4a52dd8fefb4 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 21:32 net-next 4a52dd8fefb4 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 21:32 net-next 4a52dd8fefb4 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 21:02 net-next f89271f09f58 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 21:02 net-next f89271f09f58 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 21:02 net-next f89271f09f58 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 13:52 net-next 99ba0ea616aa 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 13:52 net-next 99ba0ea616aa 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/28 13:52 net-next 99ba0ea616aa 77e2b668 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 22:52 net-next 99ba0ea616aa 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 22:52 net-next 99ba0ea616aa 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 22:52 net-next 99ba0ea616aa 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 22:02 net-next 69e16d01d1de 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 22:02 net-next 69e16d01d1de 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 22:02 net-next 69e16d01d1de 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 21:32 net-next 6fd6c483e7ab 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 21:32 net-next 6fd6c483e7ab 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 21:32 net-next 6fd6c483e7ab 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 03:46 net-next 6d72e7c767ac 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 03:46 net-next 6d72e7c767ac 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
ci-upstream-net-kasan-gce 2021/04/27 03:46 net-next 6d72e7c767ac 805b5003 .config console log report net-next test error: WARNING in __nf_unregister_net_hook
* Struck through repros no longer work on HEAD.