netdevsim netdevsim4 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7611 at net/devlink/leftover.c:8260 devl_port_unregister+0x250/0x2c0 net/devlink/leftover.c:8260 Modules linked in: CPU: 0 PID: 7611 Comm: syz-executor.4 Not tainted 6.2.0-rc7-syzkaller-01624-g168de0233586 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:devl_port_unregister+0x250/0x2c0 net/devlink/leftover.c:8260 Code: e8 b5 80 bf f8 85 ed 0f 85 2c fe ff ff e8 f8 83 bf f8 0f 0b e9 20 fe ff ff e8 ec 83 bf f8 0f 0b e9 57 ff ff ff e8 e0 83 bf f8 <0f> 0b e9 46 fe ff ff e8 94 05 10 f9 e9 e4 fe ff ff e8 8a 05 10 f9 RSP: 0018:ffffc90003d579b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88805dda8010 RCX: 0000000000000000 RDX: ffff888026499d40 RSI: ffffffff88c17db0 RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: ffff88805dda8010 R13: ffff88805dda8030 R14: ffff88805dd9f400 R15: ffff88805dda8000 FS: 000055555593e400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005583e14a4950 CR3: 000000001dbac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __nsim_dev_port_del+0x1bb/0x240 drivers/net/netdevsim/dev.c:1430 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline] nsim_dev_reload_destroy+0x171/0x510 drivers/net/netdevsim/dev.c:1661 nsim_drv_remove+0x52/0x1d0 drivers/net/netdevsim/dev.c:1676 device_remove+0xc8/0x170 drivers/base/dd.c:548 __device_release_driver drivers/base/dd.c:1253 [inline] device_release_driver_internal+0x4a5/0x700 drivers/base/dd.c:1279 bus_remove_device+0x2e7/0x5a0 drivers/base/bus.c:529 device_del+0x4f7/0xc80 drivers/base/core.c:3666 device_unregister+0x1e/0xc0 drivers/base/core.c:3698 nsim_bus_dev_del drivers/net/netdevsim/bus.c:310 [inline] del_device_store+0x34e/0x470 drivers/net/netdevsim/bus.c:219 bus_attr_store+0x76/0xa0 drivers/base/bus.c:122 sysfs_kf_write+0x114/0x170 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x3f1/0x600 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2189 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x9ed/0xdd0 fs/read_write.c:584 ksys_write+0x12b/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0b7be3de7f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007ffe9f7a6c30 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f0b7be3de7f RDX: 0000000000000001 RSI: 00007ffe9f7a6c80 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007ffe9f7a6bd0 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f0b7bee76fe R13: 00007ffe9f7a6c80 R14: 0000000000000000 R15: 00007ffe9f7a7350