------------[ cut here ]------------ WARNING: net/netfilter/core.c:329 at nf_hook_entry_head+0x230/0x310 net/netfilter/core.c:329, CPU#1: kworker/u32:25/14788 Modules linked in: CPU: 1 UID: 0 PID: 14788 Comm: kworker/u32:25 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:nf_hook_entry_head+0x230/0x310 net/netfilter/core.c:329 Code: 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 dc 00 00 00 4d 3b a5 08 01 00 00 0f 84 07 ff ff ff e8 d1 21 2f f8 90 <0f> 0b 90 eb 98 e8 c6 21 2f f8 89 ee bf 01 00 00 00 e8 5a 1c 2f f8 RSP: 0018:ffffc9000651f8a0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000005 RCX: ffffffff898fc1a3 RDX: ffff88804d990000 RSI: ffffffff898fc1ef RDI: ffff8880129fc108 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000002ba1 R12: ffff888012da8000 R13: ffff8880129fc000 R14: ffff88802c89df90 R15: ffff88803ff6ddbc FS: 0000000000000000(0000) GS:ffff8880d69fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f107edccd58 CR3: 0000000054677000 CR4: 0000000000352ef0 Call Trace: __nf_unregister_net_hook+0x7e/0x660 net/netfilter/core.c:491 nf_unregister_net_hook+0xd5/0x110 net/netfilter/core.c:536 nft_unregister_flowtable_ops net/netfilter/nf_tables_api.c:8977 [inline] __nft_unregister_flowtable_net_hooks+0xfc/0x3f0 net/netfilter/nf_tables_api.c:8992 __nft_release_hook+0x26e/0x350 net/netfilter/nf_tables_api.c:11985 __nft_release_hooks net/netfilter/nf_tables_api.c:11999 [inline] nf_tables_pre_exit_net+0xc5/0x120 net/netfilter/nf_tables_api.c:12150 ops_pre_exit_list net/core/net_namespace.c:161 [inline] ops_undo_list+0x187/0xab0 net/core/net_namespace.c:234 cleanup_net+0x41b/0x830 net/core/net_namespace.c:696 process_one_work+0x9ba/0x1b20 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3421 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x983/0xb10 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246