[ 2.339738] netdevsim netdevsim2025 nsim2025: renamed from eth0 [ 2.450800] The supplied perm_addr is not a valid MAC address [ 2.510060] netdevsim netdevsim2025 nsim2025p2: renamed from eth0 [ 2.574989] ------------[ cut here ]------------ [ 2.575122] kernel BUG at net/core/net-sysfs.c:2246! [ 2.575177] Oops: invalid opcode: 0000 [#1] SMP [ 2.575231] CPU: 0 UID: 0 PID: 249 Comm: netdev-l2addr.s Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 2.575316] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.575362] RIP: 0010:netdev_release+0x2d/0x30 [ 2.575409] 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 [ 2.575532] RSP: 0018:ffffb11e0058fbf0 EFLAGS: 00010297 [ 2.575571] RAX: ffffffffb4951ca0 RBX: 00000000ffffffff RCX: 0000000000000002 [ 2.575630] RDX: 0000000000000006 RSI: ffffffffb4758ea4 RDI: ffff8a3747a5a558 [ 2.575689] RBP: ffff8a3747a5a558 R08: 0000000000000194 R09: 0000000000000124 [ 2.575755] R10: 0000000000000140 R11: 0000000000000130 R12: ffff8a374318ec00 [ 2.575809] R13: ffffffffb4cb2ea0 R14: ffff8a3741b7e920 R15: ffff8a3747a5a000 [ 2.575867] FS: 00007fa680a32000(0000) GS:ffff8a37c8d91000(0000) knlGS:0000000000000000 [ 2.575927] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.575981] CR2: 000055671582b218 CR3: 00000000031b6001 CR4: 0000000000772ef0 [ 2.576044] PKRU: 55555554 [ 2.576086] Call Trace: [ 2.576108] [ 2.576134] device_release+0x35/0x90 [ 2.576179] kobject_put+0x64/0xc0 [ 2.576213] netdev_run_todo+0x21a/0x550 [ 2.576250] nsim_destroy+0x95/0x180 [netdevsim] [ 2.576306] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 2.576351] nsim_dev_reload_destroy+0x5b/0x120 [netdevsim] [ 2.576396] nsim_drv_remove+0x2f/0xb0 [netdevsim] [ 2.576440] device_release_driver_internal+0x193/0x200 [ 2.576486] bus_remove_device+0xc1/0x100 [ 2.576521] device_del+0x15f/0x480 [ 2.576555] device_unregister+0x12/0x30 [ 2.576588] del_device_store+0x117/0x1a0 [netdevsim] [ 2.576637] kernfs_fop_write_iter+0x12b/0x1c0 [ 2.576685] vfs_write+0x33a/0x470 [ 2.576738] ksys_write+0x65/0xe0 [ 2.576781] do_syscall_64+0xa4/0xfd0 [ 2.576818] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 2.576859] RIP: 0033:0x7fa680b32257 [ 2.576895] 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.577015] RSP: 002b:00007ffc1aa69458 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2.577069] RAX: ffffffffffffffda RBX: 00007fa680c2e780 RCX: 00007fa680b32257 [ 2.577122] RDX: 0000000000000005 RSI: 000055671582a210 RDI: 0000000000000001 [ 2.577181] RBP: 0000000000000005 R08: 0000000000000003 R09: 0000000000000000 [ 2.577242] R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000005 [ 2.577304] R13: 000055671582a210 R14: 0000000000000005 R15: 00007fa680c299c0 [ 2.577359] [ 2.577380] Modules linked in: netdevsim psample [ 2.577454] ---[ end trace 0000000000000000 ]--- [ 2.577496] RIP: 0010:netdev_release+0x2d/0x30 [ 2.577543] 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 [ 2.577662] RSP: 0018:ffffb11e0058fbf0 EFLAGS: 00010297 [ 2.577702] RAX: ffffffffb4951ca0 RBX: 00000000ffffffff RCX: 0000000000000002 [ 2.577761] RDX: 0000000000000006 RSI: ffffffffb4758ea4 RDI: ffff8a3747a5a558 [ 2.577816] RBP: ffff8a3747a5a558 R08: 0000000000000194 R09: 0000000000000124 [ 2.577870] R10: 0000000000000140 R11: 0000000000000130 R12: ffff8a374318ec00 [ 2.577929] R13: ffffffffb4cb2ea0 R14: ffff8a3741b7e920 R15: ffff8a3747a5a000 [ 2.577986] FS: 00007fa680a32000(0000) GS:ffff8a37c8d91000(0000) knlGS:0000000000000000 [ 2.578049] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.578098] CR2: 000055671582b218 CR3: 00000000031b6001 CR4: 0000000000772ef0 [ 2.578153] PKRU: 55555554