[ 2.068179] ------------[ cut here ]------------ [ 2.068302] kernel BUG at net/core/net-sysfs.c:2246! [ 2.068392] Oops: invalid opcode: 0000 [#1] SMP [ 2.068452] CPU: 2 UID: 0 PID: 221 Comm: basic_features. Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 2.068554] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.068611] RIP: 0010:netdev_release+0x2d/0x30 [ 2.068674] 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 8d a3 a6 ff 48 89 ef 5d e9 44 aa 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.068853] RSP: 0018:ffffa8a8005afcb8 EFLAGS: 00010297 [ 2.068906] RAX: ffffffffaab301e0 RBX: 00000000ffffffff RCX: ffff9af8c284c0c8 [ 2.068981] RDX: 000000000000000f RSI: ffffffffaa94f914 RDI: ffff9af8c284c528 [ 2.069057] RBP: ffff9af8c284c528 R08: 0000000000000001 R09: 0000000000000001 [ 2.069126] R10: ffffffffab55c008 R11: 0000000000000015 R12: ffff9af8c208d500 [ 2.069195] R13: ffffffffaaeb19c0 R14: ffff9af8c18ba278 R15: ffff9af8c284c000 [ 2.069272] FS: 00007f13f1d01000(0000) GS:ffff9af9530e8000(0000) knlGS:0000000000000000 [ 2.069348] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.069410] CR2: 00007f512e5b95c0 CR3: 0000000003082001 CR4: 0000000000772ef0 [ 2.069480] PKRU: 55555554 [ 2.069508] Call Trace: [ 2.069534] [ 2.069562] device_release+0x35/0x90 [ 2.069611] kobject_put+0x64/0xc0 [ 2.069659] netdev_run_todo+0x21a/0x550 [ 2.069705] unregister_netdev+0x29/0x40 [ 2.069746] virtnet_remove+0x89/0xc0 [ 2.069792] virtio_dev_remove+0x3c/0x80 [ 2.069837] device_release_driver_internal+0x193/0x200 [ 2.069889] unbind_store+0x9d/0xb0 [ 2.069930] kernfs_fop_write_iter+0x12b/0x1c0 [ 2.069989] vfs_write+0x33a/0x470 [ 2.070039] ksys_write+0x65/0xe0 [ 2.070080] do_syscall_64+0xa4/0xfd0 [ 2.070125] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 2.070178] RIP: 0033:0x7f13f1e01257 [ 2.070219] 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.070385] RSP: 002b:00007ffdbdb08b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2.070460] RAX: ffffffffffffffda RBX: 00007f13f1efd780 RCX: 00007f13f1e01257 [ 2.070529] RDX: 0000000000000008 RSI: 000056423141d290 RDI: 0000000000000001 [ 2.070604] RBP: 0000000000000008 R08: 0000000000000003 R09: 0000000000000077 [ 2.070680] R10: 0000000000000063 R11: 0000000000000246 R12: 0000000000000008 [ 2.070749] R13: 000056423141d290 R14: 0000000000000008 R15: 00007f13f1ef89c0 [ 2.070818] [ 2.070847] Modules linked in: [ 2.070927] ---[ end trace 0000000000000000 ]--- [ 2.071007] RIP: 0010:netdev_release+0x2d/0x30 [ 2.071090] 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 8d a3 a6 ff 48 89 ef 5d e9 44 aa 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.071299] RSP: 0018:ffffa8a8005afcb8 EFLAGS: 00010297 [ 2.071378] RAX: ffffffffaab301e0 RBX: 00000000ffffffff RCX: ffff9af8c284c0c8 [ 2.071480] RDX: 000000000000000f RSI: ffffffffaa94f914 RDI: ffff9af8c284c528 [ 2.071581] RBP: ffff9af8c284c528 R08: 0000000000000001 R09: 0000000000000001 [ 2.071682] R10: ffffffffab55c008 R11: 0000000000000015 R12: ffff9af8c208d500 [ 2.071783] R13: ffffffffaaeb19c0 R14: ffff9af8c18ba278 R15: ffff9af8c284c000 [ 2.071887] FS: 00007f13f1d01000(0000) GS:ffff9af9530e8000(0000) knlGS:0000000000000000 [ 2.071991] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.072081] CR2: 00007f512e5b95c0 CR3: 0000000003082001 CR4: 0000000000772ef0 [ 2.072188] PKRU: 55555554