[ 1.920119] netdevsim netdevsim20273 eni20273np1: renamed from eth0 [ 1.971742] netdevsim netdevsim14245 eni14245np1: renamed from eth0 [ 2.102727] ip (254) used greatest stack depth: 12456 bytes left [ 123.623543] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 123.623620] #PF: supervisor write access in kernel mode [ 123.623664] #PF: error_code(0x0002) - not-present page [ 123.623704] PGD 0 P4D 0 [ 123.623731] Oops: Oops: 0002 [#1] SMP [ 123.623767] CPU: 3 UID: 0 PID: 236 Comm: python3 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 123.623850] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 123.623906] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 123.623960] 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 [ 123.624098] RSP: 0018:ffffaad08057fae8 EFLAGS: 00010046 [ 123.624138] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000100007 [ 123.624198] RDX: ffffaad08057fb20 RSI: 0000000000000000 RDI: 0000000000000000 [ 123.624264] RBP: ffffaad08057fb20 R08: 0000000000000000 R09: ffffffffbb13c800 [ 123.624325] R10: ffff904e46105800 R11: 0000000000000001 R12: 0000000000000000 [ 123.624385] R13: ffffaad08057fc18 R14: 0000000000000020 R15: 0000000000000000 [ 123.624452] FS: 00007f1b6b782740(0000) GS:ffff904ec2756000(0000) knlGS:0000000000000000 [ 123.624520] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 123.624573] CR2: 0000000000000000 CR3: 0000000003321001 CR4: 0000000000772ef0 [ 123.624639] PKRU: 55555554 [ 123.624659] Call Trace: [ 123.624681] [ 123.624715] __cancel_work+0x29/0xe0 [ 123.624751] __cancel_work_sync+0x16/0x80 [ 123.624788] __dev_close_many+0x113/0x2b0 [ 123.624839] netif_close_many+0x98/0x160 [ 123.624874] unregister_netdevice_many_notify+0x10c/0xaa0 [ 123.624920] unregister_netdevice_queue+0xa0/0xe0 [ 123.624961] nsim_destroy+0x86/0x180 [netdevsim] [ 123.625021] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 123.625068] nsim_dev_reload_destroy+0x5b/0x110 [netdevsim] [ 123.625109] nsim_drv_remove+0x2f/0xb0 [netdevsim] [ 123.625155] device_release_driver_internal+0x193/0x200 [ 123.625202] bus_remove_device+0xc1/0x100 [ 123.625239] device_del+0x15f/0x480 [ 123.625276] device_unregister+0x12/0x30 [ 123.625311] del_device_store+0x117/0x1a0 [netdevsim] [ 123.625362] kernfs_fop_write_iter+0x12b/0x1c0 [ 123.625414] vfs_write+0x33a/0x470 [ 123.625455] ksys_write+0x65/0xe0 [ 123.625492] do_syscall_64+0xa4/0xfd0 [ 123.625529] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 123.625574] RIP: 0033:0x7f1b6b961257 [ 123.625604] 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 [ 123.625753] RSP: 002b:00007ffe1f5d2788 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 123.625819] RAX: ffffffffffffffda RBX: 00007f1b6b7826e0 RCX: 00007f1b6b961257 [ 123.625880] RDX: 0000000000000005 RSI: 000055d2a425cbe0 RDI: 0000000000000007 [ 123.625942] RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000002 [ 123.626006] R10: 0000000000000002 R11: 0000000000000246 R12: 00007f1b5d59a700 [ 123.626071] R13: 000055d2a425cbe0 R14: 0000000000000007 R15: 000055d2a3e96fd0 [ 123.626134] [ 123.626159] Modules linked in: netdevsim [ 123.626196] CR2: 0000000000000000 [ 123.626231] ---[ end trace 0000000000000000 ]--- [ 123.626276] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 123.626316] 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 [ 123.626456] RSP: 0018:ffffaad08057fae8 EFLAGS: 00010046 [ 123.626502] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000100007 [ 123.626562] RDX: ffffaad08057fb20 RSI: 0000000000000000 RDI: 0000000000000000 [ 123.626623] RBP: ffffaad08057fb20 R08: 0000000000000000 R09: ffffffffbb13c800 [ 123.626683] R10: ffff904e46105800 R11: 0000000000000001 R12: 0000000000000000 [ 123.626748] R13: ffffaad08057fc18 R14: 0000000000000020 R15: 0000000000000000 [ 123.626814] FS: 00007f1b6b782740(0000) GS:ffff904ec2756000(0000) knlGS:0000000000000000 [ 123.626878] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 123.626935] CR2: 0000000000000000 CR3: 0000000003321001 CR4: 0000000000772ef0 [ 123.627002] PKRU: 55555554 [ 123.627028] note: python3[236] exited with irqs disabled