netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1224 at net/core/devlink.c:11299 devlink_trap_policers_unregister+0x8b/0xa0 net/core/devlink.c:11304 Modules linked in: CPU: 0 PID: 1224 Comm: kworker/u4:5 Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:devlink_trap_policers_unregister+0x8b/0xa0 net/core/devlink.c:11299 Code: f6 38 48 01 f5 48 89 ee 4c 89 e7 83 eb 01 e8 2c fc ff ff 48 83 ed 38 83 fb ff 75 e9 5b 4c 89 ef 5d 41 5c 41 5d e9 f5 ff d5 01 <0f> 0b eb b6 e8 8c ad 10 fb eb 96 66 2e 0f 1f 84 00 00 00 00 00 41 RSP: 0018:ffffc9000537fa18 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000003 RCX: ffffc9000537f8b8 RDX: 1ffff1100378e862 RSI: ffffffff88cb4ce0 RDI: ffffffff89207120 RBP: ffffffff895eb580 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000007a089 R12: ffff8880780c1000 R13: ffff8880780c1000 R14: dffffc0000000000 R15: ffff8880780c1398 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556600b29768 CR3: 0000000072892000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nsim_dev_traps_exit+0x73/0x170 drivers/net/netdevsim/dev.c:851 nsim_dev_reload_destroy+0x1d0/0x2b0 drivers/net/netdevsim/dev.c:1559 nsim_dev_reload_down+0xab/0x130 drivers/net/netdevsim/dev.c:883 devlink_reload+0x1ae/0x5e0 net/core/devlink.c:4040 devlink_pernet_pre_exit+0x1cf/0x270 net/core/devlink.c:11472 ops_pre_exit_list net/core/net_namespace.c:158 [inline] cleanup_net+0x3a4/0x980 net/core/net_namespace.c:581 process_one_work+0x87f/0x1450 kernel/workqueue.c:2297 worker_thread+0x598/0x1040 kernel/workqueue.c:2444 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295