------------[ cut here ]------------ WARNING: CPU: 1 PID: 11007 at net/netfilter/core.c:468 __nf_unregister_net_hook+0x4b1/0x600 net/netfilter/core.c:468 Modules linked in: CPU: 1 PID: 11007 Comm: kworker/u4:9 Not tainted 5.15.0-rc2-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+0x4b1/0x600 net/netfilter/core.c:468 Code: 00 00 00 e8 21 26 16 fa 41 83 fc 05 74 5e e8 66 1d 16 fa 44 89 e6 bf 05 00 00 00 e8 09 26 16 fa e9 f5 fd ff ff e8 4f 1d 16 fa <0f> 0b 48 c7 c7 c0 b4 17 8d e8 d1 b2 d7 01 e9 b1 fe ff ff 48 89 f7 RSP: 0018:ffffc90002d37658 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888045252c98 RCX: 0000000000000000 RDX: ffff888014b960c0 RSI: ffffffff875f25a1 RDI: 0000000000000003 RBP: 0000000000000005 R08: 0000000000000000 R09: ffffc90002d37597 R10: ffffffff875f21af R11: 000000000000002d R12: 0000000000000001 R13: ffff8880438483d8 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000046e203 CR3: 000000006c576000 CR4: 00000000001506e0 Call Trace: nf_unregister_net_hook+0xd5/0x110 net/netfilter/core.c:502 nft_netdev_unregister_hooks net/netfilter/nf_tables_api.c:230 [inline] nf_tables_unregister_hook.part.0+0x1ab/0x200 net/netfilter/nf_tables_api.c:273 nf_tables_unregister_hook include/net/netfilter/nf_tables.h:1090 [inline] __nft_release_basechain+0x138/0x640 net/netfilter/nf_tables_api.c:9524 nft_netdev_event net/netfilter/nft_chain_filter.c:351 [inline] nf_tables_netdev_event+0x521/0x8a0 net/netfilter/nft_chain_filter.c:382 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1996 call_netdevice_notifiers_extack net/core/dev.c:2008 [inline] call_netdevice_notifiers net/core/dev.c:2022 [inline] unregister_netdevice_many+0x951/0x1790 net/core/dev.c:11043 ieee80211_remove_interfaces+0x394/0x820 net/mac80211/iface.c:2140 ieee80211_unregister_hw+0x47/0x1f0 net/mac80211/main.c:1391 mac80211_hwsim_del_radio drivers/net/wireless/mac80211_hwsim.c:3457 [inline] hwsim_exit_net+0x50e/0xca0 drivers/net/wireless/mac80211_hwsim.c:4217 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:168 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:591 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295