[ 1.904020] netdevsim netdevsim2025 nsim2025: renamed from eth0 [ 1.995324] The supplied perm_addr is not a valid MAC address [ 2.041615] netdevsim netdevsim2025 nsim2025p2: renamed from eth0 [ 2.085951] ------------[ cut here ]------------ [ 2.086010] kernel BUG at net/core/net-sysfs.c:2246! [ 2.086052] Oops: invalid opcode: 0000 [#1] SMP [ 2.086098] CPU: 0 UID: 0 PID: 249 Comm: netdev-l2addr.s Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 2.086173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.086214] RIP: 0010:netdev_release+0x2d/0x30 [ 2.086255] 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.086381] RSP: 0018:ffffae7c805ffbf0 EFLAGS: 00010297 [ 2.086431] RAX: ffffffff9e351ca0 RBX: 00000000ffffffff RCX: 0000000000000002 [ 2.086487] RDX: 0000000000000006 RSI: ffffffff9e158ea4 RDI: ffff964886316558 [ 2.086538] RBP: ffff964886316558 R08: 0000000000000156 R09: 0000000000000130 [ 2.086587] R10: 0000000000000150 R11: 0000000000000140 R12: ffff9648862b3400 [ 2.086638] R13: ffffffff9e6b2ea0 R14: ffff9648818c5cf0 R15: ffff964886316000 [ 2.086696] FS: 00007f5c6ac46000(0000) GS:ffff96491f391000(0000) knlGS:0000000000000000 [ 2.086751] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.086797] CR2: 000056428c461218 CR3: 0000000006046005 CR4: 0000000000772ef0 [ 2.086849] PKRU: 55555554 [ 2.086870] Call Trace: [ 2.086889] [ 2.086911] device_release+0x35/0x90 [ 2.086947] kobject_put+0x64/0xc0 [ 2.086979] netdev_run_todo+0x21a/0x550 [ 2.087012] nsim_destroy+0x95/0x180 [netdevsim] [ 2.087056] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 2.087101] nsim_dev_reload_destroy+0x5b/0x120 [netdevsim] [ 2.087136] nsim_drv_remove+0x2f/0xb0 [netdevsim] [ 2.087175] device_release_driver_internal+0x193/0x200 [ 2.087215] bus_remove_device+0xc1/0x100 [ 2.087240] device_del+0x15f/0x480 [ 2.087271] device_unregister+0x12/0x30 [ 2.087296] del_device_store+0x117/0x1a0 [netdevsim] [ 2.087336] kernfs_fop_write_iter+0x12b/0x1c0 [ 2.087379] vfs_write+0x33a/0x470 [ 2.087420] ksys_write+0x65/0xe0 [ 2.087453] do_syscall_64+0xa4/0xfd0 [ 2.087486] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 2.087525] RIP: 0033:0x7f5c6ad46257 [ 2.087556] 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.087672] RSP: 002b:00007ffef9de0158 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2.087728] RAX: ffffffffffffffda RBX: 00007f5c6ae42780 RCX: 00007f5c6ad46257 [ 2.087777] RDX: 0000000000000005 RSI: 000056428c460210 RDI: 0000000000000001 [ 2.087827] RBP: 0000000000000005 R08: 0000000000000003 R09: 0000000000000000 [ 2.087878] R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000005 [ 2.087928] R13: 000056428c460210 R14: 0000000000000005 R15: 00007f5c6ae3d9c0 [ 2.087979] [ 2.088001] Modules linked in: netdevsim psample [ 2.088045] ---[ end trace 0000000000000000 ]--- [ 2.088086] RIP: 0010:netdev_release+0x2d/0x30 [ 2.088127] 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.088243] RSP: 0018:ffffae7c805ffbf0 EFLAGS: 00010297 [ 2.088276] RAX: ffffffff9e351ca0 RBX: 00000000ffffffff RCX: 0000000000000002 [ 2.088325] RDX: 0000000000000006 RSI: ffffffff9e158ea4 RDI: ffff964886316558 [ 2.088384] RBP: ffff964886316558 R08: 0000000000000156 R09: 0000000000000130 [ 2.088436] R10: 0000000000000150 R11: 0000000000000140 R12: ffff9648862b3400 [ 2.088486] R13: ffffffff9e6b2ea0 R14: ffff9648818c5cf0 R15: ffff964886316000 [ 2.088539] FS: 00007f5c6ac46000(0000) GS:ffff96491f391000(0000) knlGS:0000000000000000 [ 2.088595] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.088643] CR2: 000056428c461218 CR3: 0000000006046005 CR4: 0000000000772ef0 [ 2.088696] PKRU: 55555554