[ 1.888096] ------------[ cut here ]------------ [ 1.888165] kernel BUG at net/core/net-sysfs.c:2246! [ 1.888215] Oops: invalid opcode: 0000 [#1] SMP [ 1.888267] CPU: 3 UID: 0 PID: 222 Comm: basic_features. Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 1.888362] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.888424] RIP: 0010:netdev_release+0x2d/0x30 [ 1.888479] 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 [ 1.888648] RSP: 0018:ffffa4a740557cb8 EFLAGS: 00010297 [ 1.888697] RAX: ffffffffac9301e0 RBX: 00000000ffffffff RCX: ffff93378281c0c8 [ 1.888769] RDX: 000000000000000f RSI: ffffffffac74f914 RDI: ffff93378281c528 [ 1.888843] RBP: ffff93378281c528 R08: 0000000000000001 R09: 0000000000000001 [ 1.888921] R10: ffffffffad35c008 R11: 0000000000000000 R12: ffff933782d13500 [ 1.888994] R13: ffffffffaccb19c0 R14: ffff933781050680 R15: ffff93378281c000 [ 1.889068] FS: 00007f3e0012a000(0000) GS:ffff933811368000(0000) knlGS:0000000000000000 [ 1.889146] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.889205] CR2: 000055a1d809f298 CR3: 00000000051bc002 CR4: 0000000000772ef0 [ 1.889280] PKRU: 55555554 [ 1.889303] Call Trace: [ 1.889328] [ 1.889351] device_release+0x35/0x90 [ 1.889389] kobject_put+0x64/0xc0 [ 1.889431] netdev_run_todo+0x21a/0x550 [ 1.889467] unregister_netdev+0x29/0x40 [ 1.889503] virtnet_remove+0x89/0xc0 [ 1.889539] virtio_dev_remove+0x3c/0x80 [ 1.889576] device_release_driver_internal+0x193/0x200 [ 1.889625] unbind_store+0x9d/0xb0 [ 1.889662] kernfs_fop_write_iter+0x12b/0x1c0 [ 1.889710] vfs_write+0x33a/0x470 [ 1.889753] ksys_write+0x65/0xe0 [ 1.889789] do_syscall_64+0xa4/0xfd0 [ 1.889825] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 1.889886] RIP: 0033:0x7f3e0022a257 [ 1.889922] 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 [ 1.890091] RSP: 002b:00007ffd8caa8e78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1.890164] RAX: ffffffffffffffda RBX: 00007f3e00326780 RCX: 00007f3e0022a257 [ 1.890237] RDX: 0000000000000008 RSI: 000055a1d809e290 RDI: 0000000000000001 [ 1.890310] RBP: 0000000000000008 R08: 0000000000000003 R09: 0000000000000077 [ 1.890383] R10: 0000000000000063 R11: 0000000000000246 R12: 0000000000000008 [ 1.890455] R13: 000055a1d809e290 R14: 0000000000000008 R15: 00007f3e003219c0 [ 1.890530] [ 1.890552] Modules linked in: [ 1.890593] ---[ end trace 0000000000000000 ]--- [ 1.890645] RIP: 0010:netdev_release+0x2d/0x30 [ 1.890693] 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 [ 1.890869] RSP: 0018:ffffa4a740557cb8 EFLAGS: 00010297 [ 1.890918] RAX: ffffffffac9301e0 RBX: 00000000ffffffff RCX: ffff93378281c0c8 [ 1.890991] RDX: 000000000000000f RSI: ffffffffac74f914 RDI: ffff93378281c528 [ 1.891070] RBP: ffff93378281c528 R08: 0000000000000001 R09: 0000000000000001 [ 1.891154] R10: ffffffffad35c008 R11: 0000000000000000 R12: ffff933782d13500 [ 1.891227] R13: ffffffffaccb19c0 R14: ffff933781050680 R15: ffff93378281c000 [ 1.891302] FS: 00007f3e0012a000(0000) GS:ffff933811368000(0000) knlGS:0000000000000000 [ 1.891375] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.891434] CR2: 000055a1d809f298 CR3: 00000000051bc002 CR4: 0000000000772ef0 [ 1.891508] PKRU: 55555554