------------[ cut here ]------------ WARNING: CPU: 0 PID: 17329 at net/netfilter/core.c:468 __nf_unregister_net_hook+0x4bf/0x650 net/netfilter/core.c:468 Modules linked in: CPU: 0 PID: 17329 Comm: kworker/u4:14 Not tainted 5.15.0-rc4-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 7a 6c 1e f9 e8 25 b7 33 f9 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 11 b7 33 f9 <0f> 0b 48 c7 c7 a0 fb 9b 8d 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc90005627490 EFLAGS: 00010293 RAX: ffffffff884ebb8f RBX: 0000000000000000 RCX: ffff88806f2ab900 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888079a443d8 R08: ffffffff884eb77c R09: fffff52000ac4e51 R10: fffff52000ac4e51 R11: 0000000000000000 R12: 0000000000000005 R13: dffffc0000000000 R14: 1ffff11002a33696 R15: ffff88807797cec0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb03400a070 CR3: 000000007381a000 CR4: 00000000003506e0 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:9561 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