[ 2.349794] netdevsim netdevsim10859 eni10859np1: renamed from eth0 [ 3.533757] ------------[ cut here ]------------ [ 3.533913] kernel BUG at net/core/net-sysfs.c:2246! [ 3.534016] Oops: invalid opcode: 0000 [#1] SMP [ 3.534076] CPU: 0 UID: 0 PID: 249 Comm: python3 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 3.534180] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.534252] RIP: 0010:netdev_release+0x2d/0x30 [ 3.534319] Code: fa 0f 1f 44 00 00 80 7f d8 04 75 1d 55 48 8d af a8 fa ff ff 48 8b bf e0 fb ff ff e8 ed d7 a4 ff 48 89 ef 5d e9 a4 de a4 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 c8 fb ff [ 3.534478] RSP: 0018:ffffb59a805f7bf0 EFLAGS: 00010297 [ 3.534522] RAX: ffffffff84f51ca0 RBX: 00000000ffffffff RCX: 0000000000000004 [ 3.534589] RDX: 0000000000000008 RSI: ffffffff84d58ea4 RDI: ffff9c7bc13c4558 [ 3.534660] RBP: ffff9c7bc13c4558 R08: 00000000000002fc R09: 0000000000000284 [ 3.534743] R10: 00000000000002a0 R11: 0000000000000290 R12: ffff9c7bc1ae9b00 [ 3.534820] R13: ffffffff852b2ea0 R14: ffff9c7bc18c5b50 R15: ffff9c7bc13c4000 [ 3.534889] FS: 00007f2ccb13a740(0000) GS:ffff9c7c78791000(0000) knlGS:0000000000000000 [ 3.534966] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.535024] CR2: 00007f2cbd65fac0 CR3: 0000000004d9c005 CR4: 0000000000772ef0 [ 3.535098] PKRU: 55555554 [ 3.535122] Call Trace: [ 3.535150] [ 3.535174] device_release+0x35/0x90 [ 3.535218] kobject_put+0x64/0xc0 [ 3.535258] netdev_run_todo+0x21a/0x550 [ 3.535303] nsim_destroy+0x95/0x180 [netdevsim] [ 3.535373] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 3.535450] nsim_dev_reload_destroy+0x5b/0x120 [netdevsim] [ 3.535500] nsim_drv_remove+0x2f/0xb0 [netdevsim] [ 3.535555] device_release_driver_internal+0x193/0x200 [ 3.535609] bus_remove_device+0xc1/0x100 [ 3.535648] device_del+0x15f/0x480 [ 3.535683] device_unregister+0x12/0x30 [ 3.535718] del_device_store+0x117/0x1a0 [netdevsim] [ 3.535769] kernfs_fop_write_iter+0x12b/0x1c0 [ 3.535823] vfs_write+0x33a/0x470 [ 3.535864] ksys_write+0x65/0xe0 [ 3.535900] do_syscall_64+0xa4/0xfd0 [ 3.535952] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 3.536001] RIP: 0033:0x7f2ccb319257 [ 3.536036] 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 [ 3.536179] RSP: 002b:00007fff6eda6078 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 3.536245] RAX: ffffffffffffffda RBX: 00007f2ccb13a6e0 RCX: 00007f2ccb319257 [ 3.536323] RDX: 0000000000000005 RSI: 0000563321fe1430 RDI: 0000000000000006 [ 3.536391] RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000002 [ 3.536448] R10: 0000000000000002 R11: 0000000000000246 R12: 00007f2cbd013880 [ 3.536509] R13: 0000563321fe1430 R14: 0000000000000006 R15: 0000563321d6d9b0 [ 3.536574] [ 3.536602] Modules linked in: netdevsim psample [ 3.536666] ---[ end trace 0000000000000000 ]--- [ 3.536713] RIP: 0010:netdev_release+0x2d/0x30 [ 3.536767] Code: fa 0f 1f 44 00 00 80 7f d8 04 75 1d 55 48 8d af a8 fa ff ff 48 8b bf e0 fb ff ff e8 ed d7 a4 ff 48 89 ef 5d e9 a4 de a4 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 c8 fb ff [ 3.536920] RSP: 0018:ffffb59a805f7bf0 EFLAGS: 00010297 [ 3.536963] RAX: ffffffff84f51ca0 RBX: 00000000ffffffff RCX: 0000000000000004 [ 3.537025] RDX: 0000000000000008 RSI: ffffffff84d58ea4 RDI: ffff9c7bc13c4558 [ 3.537094] RBP: ffff9c7bc13c4558 R08: 00000000000002fc R09: 0000000000000284 [ 3.537153] R10: 00000000000002a0 R11: 0000000000000290 R12: ffff9c7bc1ae9b00 [ 3.537227] R13: ffffffff852b2ea0 R14: ffff9c7bc18c5b50 R15: ffff9c7bc13c4000 [ 3.537297] FS: 00007f2ccb13a740(0000) GS:ffff9c7c78791000(0000) knlGS:0000000000000000 [ 3.537372] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.537426] CR2: 00007f2cbd65fac0 CR3: 0000000004d9c005 CR4: 0000000000772ef0 [ 3.537490] PKRU: 55555554