[ 1.798393] netdevsim netdevsim1337 eni1337np2: renamed from eth0 [ 71.967320] ------------[ cut here ]------------ [ 71.967420] kernel BUG at net/core/net-sysfs.c:2246! [ 71.967493] Oops: invalid opcode: 0000 [#1] SMP [ 71.967564] CPU: 1 UID: 0 PID: 226 Comm: devlink_trap.sh Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 71.967681] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 71.967752] RIP: 0010:netdev_release+0x2d/0x30 [ 71.967824] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af e0 fa ff ff 48 8b bf 10 fc ff ff e8 6d 99 a6 ff 48 89 ef 5d e9 24 a0 a6 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 f8 fb ff [ 71.968016] RSP: 0018:ffffa1da80597ce0 EFLAGS: 00010297 [ 71.968079] RAX: ffffffff9a930c30 RBX: 00000000ffffffff RCX: 000000000000000a [ 71.968161] RDX: 0000000000000008 RSI: ffffffff9a74f524 RDI: ffff8ca8013bc520 [ 71.968243] RBP: ffff8ca8013bc520 R08: 0000000000000000 R09: 00000000000001ec [ 71.968334] R10: 0000000000000400 R11: 00000000000001f0 R12: ffff8ca801ad5e00 [ 71.968415] R13: ffffffff9acb1420 R14: ffff8ca802e4e980 R15: ffff8ca8013bc000 [ 71.968502] FS: 00007f4ef36b7000(0000) GS:ffff8ca8a3259000(0000) knlGS:0000000000000000 [ 71.968591] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.968667] CR2: 00007f4ef3869f73 CR3: 00000000051a1004 CR4: 0000000000772ef0 [ 71.968750] PKRU: 55555554 [ 71.968776] Call Trace: [ 71.968808] [ 71.968841] device_release+0x35/0x90 [ 71.968901] kobject_put+0x64/0xc0 [ 71.968957] netdev_run_todo+0x21a/0x550 [ 71.969007] nsim_destroy+0x95/0x180 [netdevsim] [ 71.969079] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 71.969148] nsim_drv_port_del+0x62/0x90 [netdevsim] [ 71.969211] del_port_store+0x68/0x90 [netdevsim] [ 71.969274] kernfs_fop_write_iter+0x12b/0x1c0 [ 71.969338] vfs_write+0x33a/0x470 [ 71.969388] ksys_write+0x65/0xe0 [ 71.969436] do_syscall_64+0xa4/0xfd0 [ 71.969487] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 71.969550] RIP: 0033:0x7f4ef37b7257 [ 71.969593] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 [ 71.969795] RSP: 002b:00007ffdf66cd448 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 71.969878] RAX: ffffffffffffffda RBX: 00007f4ef38b3780 RCX: 00007f4ef37b7257 [ 71.969963] RDX: 0000000000000002 RSI: 000055c88f6e78d0 RDI: 0000000000000001 [ 71.970047] RBP: 0000000000000002 R08: 0000000000000000 R09: 00007f4ef3869d20 [ 71.970130] R10: 00007f4ef3869c20 R11: 0000000000000246 R12: 0000000000000002 [ 71.970213] R13: 000055c88f6e78d0 R14: 0000000000000002 R15: 00007f4ef38ae9c0 [ 71.970298] [ 71.970325] Modules linked in: netdevsim [ 71.970384] ---[ end trace 0000000000000000 ]--- [ 71.970450] RIP: 0010:netdev_release+0x2d/0x30 [ 71.970513] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af e0 fa ff ff 48 8b bf 10 fc ff ff e8 6d 99 a6 ff 48 89 ef 5d e9 24 a0 a6 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 f8 fb ff [ 71.970708] RSP: 0018:ffffa1da80597ce0 EFLAGS: 00010297 [ 71.970763] RAX: ffffffff9a930c30 RBX: 00000000ffffffff RCX: 000000000000000a [ 71.970848] RDX: 0000000000000008 RSI: ffffffff9a74f524 RDI: ffff8ca8013bc520 [ 71.970934] RBP: ffff8ca8013bc520 R08: 0000000000000000 R09: 00000000000001ec [ 71.971020] R10: 0000000000000400 R11: 00000000000001f0 R12: ffff8ca801ad5e00 [ 71.971108] R13: ffffffff9acb1420 R14: ffff8ca802e4e980 R15: ffff8ca8013bc000 [ 71.971196] FS: 00007f4ef36b7000(0000) GS:ffff8ca8a3259000(0000) knlGS:0000000000000000 [ 71.971300] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.971380] CR2: 00007f4ef3869f73 CR3: 00000000051a1004 CR4: 0000000000772ef0 [ 71.971476] PKRU: 55555554