netdevsim netdevsim5 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 ------------[ cut here ]------------ 1 WARNING: drivers/net/netdevsim/netdev.c:1208 at nsim_destroy+0x327/0x970 drivers/net/netdevsim/netdev.c:1208, CPU#2: syz-executor/29810 Modules linked in: CPU: 2 UID: 0 PID: 29810 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:nsim_destroy+0x327/0x970 drivers/net/netdevsim/netdev.c:1208 Code: 00 00 8b ad d4 01 00 00 31 ff 89 ee e8 a2 24 9f fa 85 ed 0f 84 97 02 00 00 31 ed 4c 8d a3 d8 07 00 00 eb 0c e8 1a 2a 9f fa 90 <0f> 0b 90 83 c5 01 e8 0e 2a 9f fa 0f b7 d5 be 00 10 00 00 4c 89 e7 RSP: 0018:ffffc9000479f8b8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888062afcec0 RCX: ffffffff876aa651 RDX: ffff888035768000 RSI: ffffffff876aa626 RDI: ffff888035768000 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000fff R10: 0000000000000000 R11: 0000000000000000 R12: ffff888062afd698 R13: ffff888062afced0 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000555569e17500(0000) GS:ffff8880d5feb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0d461eb540 CR3: 0000000038d7e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000291 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __nsim_dev_port_del+0x194/0x2b0 drivers/net/netdevsim/dev.c:1547 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1561 [inline] nsim_dev_reload_destroy+0x10a/0x4a0 drivers/net/netdevsim/dev.c:1785 nsim_drv_remove+0x52/0x1e0 drivers/net/netdevsim/dev.c:1800 device_remove+0xcb/0x180 drivers/base/dd.c:616 __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664 device_del+0x376/0x9b0 drivers/base/core.c:3961 device_unregister+0x1d/0xe0 drivers/base/core.c:4002 nsim_bus_dev_del drivers/net/netdevsim/bus.c:491 [inline] del_device_store+0x346/0x480 drivers/net/netdevsim/bus.c:244 bus_attr_store+0x74/0xb0 drivers/base/bus.c:172 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6ac/0x1050 fs/read_write.c:687 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9d6df5e68e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007ffcb218df68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000555569e17500 RCX: 00007f9d6df5e68e RDX: 0000000000000001 RSI: 00007ffcb218dff0 RDI: 0000000000000005 RBP: 00007f9d6e0346f2 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffcb218dff0 R14: 00007f9d6ed54620 R15: 0000000000000003