------------[ cut here ]------------ WARNING: CPU: 0 PID: 7560 at net/core/devlink.c:11162 devlink_trap_groups_unregister+0xe8/0x110 net/core/devlink.c:11162 Modules linked in: CPU: 0 PID: 7560 Comm: kworker/u4:3 Not tainted 5.15.0-rc7-next-20211027-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:devlink_trap_groups_unregister+0xe8/0x110 net/core/devlink.c:11162 Code: ff ff 31 ff 89 de e8 37 b5 5b fa 83 fb ff 75 cc e8 0d b3 5b fa 4c 89 f7 5b 5d 41 5c 41 5d 41 5e e9 ed ea 04 02 e8 f8 b2 5b fa <0f> 0b e9 71 ff ff ff 4c 89 ef e8 29 63 a2 fa e9 3b ff ff ff 48 89 RSP: 0018:ffffc900040ffa00 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000000 RDX: ffff88807e1e8000 RSI: ffffffff871bfa08 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff871bf977 R11: 0000000000000000 R12: ffffffff8a22fee0 R13: ffff8880778ea000 R14: dffffc0000000000 R15: ffff8880778ea388 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a1d0b21008 CR3: 000000002e30a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nsim_dev_traps_exit+0x67/0x170 drivers/net/netdevsim/dev.c:849 nsim_dev_reload_destroy+0x20c/0x2f0 drivers/net/netdevsim/dev.c:1559 nsim_dev_reload_down+0xdf/0x180 drivers/net/netdevsim/dev.c:883 devlink_reload+0x1c2/0x6b0 net/core/devlink.c:4040 devlink_pernet_pre_exit+0x278/0x370 net/core/devlink.c:11477 ops_pre_exit_list net/core/net_namespace.c:158 [inline] cleanup_net+0x451/0xb00 net/core/net_namespace.c:581 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295