[ 2.107351] netdevsim netdevsim27140 eni27140np1: renamed from eth0 [ 2.168185] netdevsim netdevsim30241 eni30241np1: renamed from eth0 [ 2.186316] ------------[ cut here ]------------ [ 2.186446] kernel BUG at net/core/net-sysfs.c:2246! [ 2.186522] Oops: invalid opcode: 0000 [#1] SMP [ 2.186577] CPU: 2 UID: 0 PID: 249 Comm: devlink Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 2.186667] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.186720] RIP: 0010:netdev_release+0x2d/0x30 [ 2.186771] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af d8 fa ff ff 48 8b bf 08 fc ff ff e8 5d 4a a6 ff 48 89 ef 5d e9 14 51 a6 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 f0 fb ff [ 2.186915] RSP: 0018:ffffa67ec0293948 EFLAGS: 00010297 [ 2.186961] RAX: ffffffffb3738130 RBX: 00000000ffffffff RCX: 0000000000000002 [ 2.187042] RDX: 0000000000000006 RSI: ffffffffb35561a4 RDI: ffff9637c13bc528 [ 2.187110] RBP: ffff9637c13bc528 R08: 00000000000001cc R09: 0000000000000170 [ 2.187180] R10: 0000000000000180 R11: 0000000000000170 R12: ffff9637c3934000 [ 2.187256] R13: ffffffffb3ab1da0 R14: ffff9637c1ca6dc0 R15: ffff9637c13bc000 [ 2.187320] FS: 00007faf3b30b800(0000) GS:ffff96384a0d6000(0000) knlGS:0000000000000000 [ 2.187383] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.187434] CR2: 00007faf3b423e60 CR3: 0000000005387005 CR4: 0000000000772ef0 [ 2.187501] PKRU: 55555554 [ 2.187528] Call Trace: [ 2.187555] [ 2.187579] device_release+0x35/0x90 [ 2.187627] kobject_put+0x64/0xc0 [ 2.187662] netdev_run_todo+0x21a/0x550 [ 2.187705] nsim_destroy+0x9d/0x180 [netdevsim] [ 2.187759] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 2.187811] nsim_dev_reload_destroy+0x5b/0x110 [netdevsim] [ 2.187855] nsim_dev_reload_down+0x23/0x50 [netdevsim] [ 2.187899] devlink_reload+0x7a/0x270 [ 2.187939] devlink_nl_reload_doit+0x18a/0x5d0 [ 2.187988] genl_family_rcv_msg_doit+0xd2/0x120 [ 2.188038] genl_rcv_msg+0x182/0x2b0 [ 2.188068] ? devlink_nl_pre_doit_port+0x70/0x70 [ 2.188121] ? devlink_reload+0x270/0x270 [ 2.188153] ? devlink_nl_post_doit+0x20/0x20 [ 2.188199] ? genl_family_rcv_msg_dumpit+0xf0/0xf0 [ 2.188244] netlink_rcv_skb+0x57/0x100 [ 2.188284] genl_rcv+0x28/0x40 [ 2.188315] netlink_unicast+0x252/0x380 [ 2.188357] ? __alloc_skb+0xdb/0x190 [ 2.188394] netlink_sendmsg+0x1be/0x3e0 [ 2.188430] __sys_sendto+0x12a/0x1b0 [ 2.188473] ? do_sys_openat2+0x8c/0xd0 [ 2.188515] __x64_sys_sendto+0x24/0x30 [ 2.188548] do_syscall_64+0xa4/0xfd0 [ 2.188580] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 2.188626] RIP: 0033:0x7faf3b4d927a [ 2.188663] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 [ 2.188804] RSP: 002b:00007ffff9e2edd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 2.188873] RAX: ffffffffffffffda RBX: 0000000033c38b20 RCX: 00007faf3b4d927a [ 2.188936] RDX: 0000000000000040 RSI: 0000000033c38b20 RDI: 0000000000000003 [ 2.189001] RBP: 0000000033c38910 R08: 00007faf3b6bd200 R09: 000000000000000c [ 2.189054] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f510 [ 2.189109] R13: 0000000033c38910 R14: 0000000000000000 R15: 0000000000000001 [ 2.189170] [ 2.189197] Modules linked in: netdevsim [ 2.189255] ---[ end trace 0000000000000000 ]--- [ 2.189328] RIP: 0010:netdev_release+0x2d/0x30 [ 2.189399] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af d8 fa ff ff 48 8b bf 08 fc ff ff e8 5d 4a a6 ff 48 89 ef 5d e9 14 51 a6 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 f0 fb ff [ 2.189568] RSP: 0018:ffffa67ec0293948 EFLAGS: 00010297 [ 2.189638] RAX: ffffffffb3738130 RBX: 00000000ffffffff RCX: 0000000000000002 [ 2.189731] RDX: 0000000000000006 RSI: ffffffffb35561a4 RDI: ffff9637c13bc528 [ 2.189836] RBP: ffff9637c13bc528 R08: 00000000000001cc R09: 0000000000000170 [ 2.189919] R10: 0000000000000180 R11: 0000000000000170 R12: ffff9637c3934000 [ 2.190011] R13: ffffffffb3ab1da0 R14: ffff9637c1ca6dc0 R15: ffff9637c13bc000 [ 2.190101] FS: 00007faf3b30b800(0000) GS:ffff96384a0d6000(0000) knlGS:0000000000000000 [ 2.190192] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.190263] CR2: 00007faf3b423e60 CR3: 0000000005387005 CR4: 0000000000772ef0 [ 2.190354] PKRU: 55555554 [ 2.265323] ------------[ cut here ]------------ [ 2.265413] kernel BUG at net/core/net-sysfs.c:2246! [ 2.265469] Oops: invalid opcode: 0000 [#2] SMP [ 2.265521] CPU: 0 UID: 0 PID: 236 Comm: python3 Tainted: G D 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 2.265604] Tainted: [D]=DIE [ 2.265635] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.265691] RIP: 0010:netdev_release+0x2d/0x30 [ 2.265748] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af d8 fa ff ff 48 8b bf 08 fc ff ff e8 5d 4a a6 ff 48 89 ef 5d e9 14 51 a6 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 f0 fb ff [ 2.265895] RSP: 0018:ffffa67ec058fbf0 EFLAGS: 00010297 [ 2.265941] RAX: ffffffffb3738130 RBX: 00000000ffffffff RCX: 0000000000000002 [ 2.266003] RDX: 0000000000000006 RSI: ffffffffb35561a4 RDI: ffff9637c13be528 [ 2.266068] RBP: ffff9637c13be528 R08: 000000000000011c R09: 00000000000000b8 [ 2.266127] R10: 00000000000000d0 R11: 00000000000000c0 R12: ffff9637c1b07600 [ 2.266187] R13: ffffffffb3ab1da0 R14: ffff9637c1ca6cd0 R15: ffff9637c13be000 [ 2.266248] FS: 00007f1583218740(0000) GS:ffff963849fd6000(0000) knlGS:0000000000000000 [ 2.266331] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.266386] CR2: 00007f1575c02170 CR3: 0000000005382004 CR4: 0000000000772ef0 [ 2.266446] PKRU: 55555554 [ 2.266473] Call Trace: [ 2.266493] [ 2.266519] device_release+0x35/0x90 [ 2.266560] kobject_put+0x64/0xc0 [ 2.266596] netdev_run_todo+0x21a/0x550 [ 2.266640] nsim_destroy+0x9d/0x180 [netdevsim] [ 2.266694] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 2.266744] nsim_dev_reload_destroy+0x5b/0x110 [netdevsim] [ 2.266796] nsim_drv_remove+0x2f/0xb0 [netdevsim] [ 2.266843] device_release_driver_internal+0x193/0x200 [ 2.266893] bus_remove_device+0xc1/0x100 [ 2.266929] device_del+0x15f/0x480 [ 2.266960] device_unregister+0x12/0x30 [ 2.266996] del_device_store+0x117/0x1a0 [netdevsim] [ 2.267042] kernfs_fop_write_iter+0x12b/0x1c0 [ 2.267094] vfs_write+0x33a/0x470 [ 2.267130] ksys_write+0x65/0xe0 [ 2.267167] do_syscall_64+0xa4/0xfd0 [ 2.267212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 2.267259] RIP: 0033:0x7f15833f7257 [ 2.267295] 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 [ 2.267434] RSP: 002b:00007fff7d7dc2b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2.267500] RAX: ffffffffffffffda RBX: 00007f15832186e0 RCX: 00007f15833f7257 [ 2.267561] RDX: 0000000000000005 RSI: 0000564e34a67a50 RDI: 0000000000000005 [ 2.267624] RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000002 [ 2.267684] R10: 0000000000000002 R11: 0000000000000246 R12: 00007f15750f7700 [ 2.267744] R13: 0000564e34a67a50 R14: 0000000000000005 R15: 0000564e348f6fd0 [ 2.267804] [ 2.267830] Modules linked in: netdevsim [ 2.267864] ---[ end trace 0000000000000000 ]--- [ 2.267907] RIP: 0010:netdev_release+0x2d/0x30 [ 2.267953] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af d8 fa ff ff 48 8b bf 08 fc ff ff e8 5d 4a a6 ff 48 89 ef 5d e9 14 51 a6 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 f0 fb ff [ 2.268093] RSP: 0018:ffffa67ec0293948 EFLAGS: 00010297 [ 2.268139] RAX: ffffffffb3738130 RBX: 00000000ffffffff RCX: 0000000000000002 [ 2.268197] RDX: 0000000000000006 RSI: ffffffffb35561a4 RDI: ffff9637c13bc528 [ 2.268258] RBP: ffff9637c13bc528 R08: 00000000000001cc R09: 0000000000000170 [ 2.268322] R10: 0000000000000180 R11: 0000000000000170 R12: ffff9637c3934000 [ 2.268385] R13: ffffffffb3ab1da0 R14: ffff9637c1ca6dc0 R15: ffff9637c13bc000 [ 2.268452] FS: 00007f1583218740(0000) GS:ffff963849fd6000(0000) knlGS:0000000000000000 [ 2.268519] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.268576] CR2: 00007f1575c02170 CR3: 0000000005382004 CR4: 0000000000772ef0 [ 2.268644] PKRU: 55555554