[ 2.219255] netdevsim netdevsim27796 eni27796np1: renamed from eth0 [ 2.272925] netdevsim netdevsim4011 eni4011np1: renamed from eth0 [ 8.286657] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 8.286745] #PF: supervisor write access in kernel mode [ 8.286793] #PF: error_code(0x0002) - not-present page [ 8.286825] PGD 0 P4D 0 [ 8.286852] Oops: Oops: 0002 [#1] SMP [ 8.286882] CPU: 3 UID: 0 PID: 236 Comm: python3 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 8.286939] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.286979] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 8.287025] Code: 83 e6 01 41 57 41 56 4c 8d 77 20 41 55 41 54 41 89 f4 55 48 89 d5 53 48 89 fb 9c 58 fa 48 89 45 00 45 85 e4 0f 85 8a 00 00 00 48 0f ba 2b 00 41 0f 92 c5 72 0e 5b 44 89 e8 5d 41 5c 41 5d 41 [ 8.287147] RSP: 0018:ffffa8f0805cfae8 EFLAGS: 00010046 [ 8.287190] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000100002 [ 8.287236] RDX: ffffa8f0805cfb20 RSI: 0000000000000000 RDI: 0000000000000000 [ 8.287283] RBP: ffffa8f0805cfb20 R08: 0000000000000000 R09: ffffffff8b93c800 [ 8.287329] R10: ffff8de0c338a000 R11: 0000000000000001 R12: 0000000000000000 [ 8.287375] R13: ffffa8f0805cfc18 R14: 0000000000000020 R15: 0000000000000000 [ 8.287429] FS: 00007f2491a13740(0000) GS:ffff8de171f56000(0000) knlGS:0000000000000000 [ 8.287485] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 8.287542] CR2: 0000000000000000 CR3: 0000000004e20005 CR4: 0000000000772ef0 [ 8.287590] PKRU: 55555554 [ 8.287611] Call Trace: [ 8.287629] [ 8.287652] __cancel_work+0x29/0xe0 [ 8.287685] __cancel_work_sync+0x16/0x80 [ 8.287715] __dev_close_many+0x113/0x2b0 [ 8.287751] netif_close_many+0x98/0x160 [ 8.287789] unregister_netdevice_many_notify+0x10c/0xaa0 [ 8.287832] unregister_netdevice_queue+0xa0/0xe0 [ 8.287870] nsim_destroy+0x86/0x180 [netdevsim] [ 8.287913] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 8.287950] nsim_dev_reload_destroy+0x5b/0x110 [netdevsim] [ 8.287988] nsim_drv_remove+0x2f/0xb0 [netdevsim] [ 8.288026] device_release_driver_internal+0x193/0x200 [ 8.288068] bus_remove_device+0xc1/0x100 [ 8.288096] device_del+0x15f/0x480 [ 8.288126] device_unregister+0x12/0x30 [ 8.288157] del_device_store+0x117/0x1a0 [netdevsim] [ 8.288203] kernfs_fop_write_iter+0x12b/0x1c0 [ 8.288245] vfs_write+0x33a/0x470 [ 8.288281] ksys_write+0x65/0xe0 [ 8.288310] do_syscall_64+0xa4/0xfd0 [ 8.288341] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.288378] RIP: 0033:0x7f2491bf2257 [ 8.288407] 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 [ 8.288550] RSP: 002b:00007ffe49d59228 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 8.288603] RAX: ffffffffffffffda RBX: 00007f2491a136e0 RCX: 00007f2491bf2257 [ 8.288648] RDX: 0000000000000005 RSI: 000055c7fefd30f0 RDI: 0000000000000006 [ 8.288696] RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000002 [ 8.288742] R10: 0000000000000002 R11: 0000000000000246 R12: 00007f2483952d00 [ 8.288803] R13: 000055c7fefd30f0 R14: 0000000000000006 R15: 000055c7fed33fd0 [ 8.288849] [ 8.288870] Modules linked in: netdevsim [ 8.288902] CR2: 0000000000000000 [ 8.288930] ---[ end trace 0000000000000000 ]--- [ 8.288966] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 8.289004] Code: 83 e6 01 41 57 41 56 4c 8d 77 20 41 55 41 54 41 89 f4 55 48 89 d5 53 48 89 fb 9c 58 fa 48 89 45 00 45 85 e4 0f 85 8a 00 00 00 48 0f ba 2b 00 41 0f 92 c5 72 0e 5b 44 89 e8 5d 41 5c 41 5d 41 [ 8.289112] RSP: 0018:ffffa8f0805cfae8 EFLAGS: 00010046 [ 8.289158] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000100002 [ 8.289214] RDX: ffffa8f0805cfb20 RSI: 0000000000000000 RDI: 0000000000000000 [ 8.289260] RBP: ffffa8f0805cfb20 R08: 0000000000000000 R09: ffffffff8b93c800 [ 8.289307] R10: ffff8de0c338a000 R11: 0000000000000001 R12: 0000000000000000 [ 8.289360] R13: ffffa8f0805cfc18 R14: 0000000000000020 R15: 0000000000000000 [ 8.289408] FS: 00007f2491a13740(0000) GS:ffff8de171f56000(0000) knlGS:0000000000000000 [ 8.289469] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 8.289521] CR2: 0000000000000000 CR3: 0000000004e20005 CR4: 0000000000772ef0 [ 8.289586] PKRU: 55555554 [ 8.289608] note: python3[236] exited with irqs disabled