device bridge_slave_1 left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state device bridge_slave_0 left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state device veth1_macvtap left promiscuous mode device veth0_macvtap left promiscuous mode device veth1_vlan left promiscuous mode device veth0_vlan left promiscuous mode bond1 (unregistering): Released all slaves ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5608 at net/netfilter/core.c:495 __nf_unregister_net_hook+0x498/0x6d0 net/netfilter/core.c:495 Modules linked in: CPU: 0 PID: 5608 Comm: kworker/u4:20 Not tainted 5.18.0-next-20220527-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+0x498/0x6d0 net/netfilter/core.c:495 Code: c1 ea 03 0f b6 14 02 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 13 02 00 00 4c 63 6b 1c e9 4d ff ff ff e8 a8 32 e4 f9 <0f> 0b 48 c7 c7 e0 0e 63 8d e8 da c1 e2 01 e9 98 fd ff ff 48 89 f7 RSP: 0018:ffffc900051a78f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88801ed92118 RCX: 0000000000000000 RDX: ffff88801af1bb00 RSI: ffffffff879661f8 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000031 R12: ffff8880463a63d0 R13: 0000000000000001 R14: 0000000000000000 R15: ffff88801ed92120 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020204000 CR3: 00000000783d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_unregister_net_hook+0xd5/0x110 net/netfilter/core.c:533 nft_unregister_flowtable_hook net/netfilter/nf_tables_api.c:7289 [inline] nft_flowtable_event net/netfilter/nf_tables_api.c:7961 [inline] nf_tables_flowtable_event+0x230/0x460 net/netfilter/nf_tables_api.c:7985 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1943 call_netdevice_notifiers_extack net/core/dev.c:1981 [inline] call_netdevice_notifiers net/core/dev.c:1995 [inline] unregister_netdevice_many+0x92e/0x1890 net/core/dev.c:10834 default_device_exit_batch+0x449/0x590 net/core/dev.c:11328 ops_exit_list+0x125/0x170 net/core/net_namespace.c:167 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:594 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302