------------[ cut here ]------------ WARNING: CPU: 1 PID: 1011 at net/core/devlink.c:11162 devlink_trap_groups_unregister+0xe8/0x110 net/core/devlink.c:11162 Modules linked in: CPU: 1 PID: 1011 Comm: kworker/u4:5 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:ffffc9000487fa00 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000000 RDX: ffff88801b3bd7c0 RSI: ffffffff871bfa08 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff871bf977 R11: 0000000000000000 R12: ffffffff8a22fee0 R13: ffff888022f29000 R14: dffffc0000000000 R15: ffff888022f29388 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5466d1f1b8 CR3: 000000006f14f000 CR4: 00000000003506e0 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