------------[ cut here ]------------ WARNING: CPU: 0 PID: 16251 at net/netfilter/core.c:468 __nf_unregister_net_hook+0x4bf/0x650 net/netfilter/core.c:468 Modules linked in: CPU: 0 PID: 16251 Comm: kworker/u4:1 Not tainted 5.15.0-rc3-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+0x4bf/0x650 net/netfilter/core.c:468 Code: c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d e9 6a a1 1e f9 e8 f5 eb 33 f9 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e1 eb 33 f9 <0f> 0b 48 c7 c7 00 f5 9b 8d 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc90014adf490 EFLAGS: 00010293 RAX: ffffffff884e89ff RBX: 0000000000000000 RCX: ffff8880856e8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88803b37c3d8 R08: ffffffff884e85ec R09: fffff5200295be51 R10: fffff5200295be51 R11: 0000000000000000 R12: 0000000000000005 R13: dffffc0000000000 R14: 1ffff1100747e6e6 R15: ffff888033f53480 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f382855b000 CR3: 0000000078fb3000 CR4: 00000000003526f0 Call Trace: nft_netdev_unregister_hooks net/netfilter/nf_tables_api.c:230 [inline] nf_tables_unregister_hook net/netfilter/nf_tables_api.c:273 [inline] __nft_release_basechain+0x5dc/0x6d0 net/netfilter/nf_tables_api.c:9524 nft_netdev_event net/netfilter/nft_chain_filter.c:351 [inline] nf_tables_netdev_event+0x680/0x840 net/netfilter/nft_chain_filter.c:382 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xe7/0x170 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:1996 [inline] call_netdevice_notifiers_extack net/core/dev.c:2008 [inline] call_netdevice_notifiers net/core/dev.c:2022 [inline] unregister_netdevice_many+0xfae/0x19e0 net/core/dev.c:11043 ieee80211_remove_interfaces+0x507/0x840 net/mac80211/iface.c:2140 ieee80211_unregister_hw+0x55/0x220 net/mac80211/main.c:1391 mac80211_hwsim_del_radio+0x2b5/0x490 drivers/net/wireless/mac80211_hwsim.c:3457 hwsim_exit_net+0x5d3/0x680 drivers/net/wireless/mac80211_hwsim.c:4217 ops_exit_list net/core/net_namespace.c:168 [inline] cleanup_net+0x758/0xc50 net/core/net_namespace.c:591 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30