[ 2.362759] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 2.362844] #PF: supervisor write access in kernel mode [ 2.362886] #PF: error_code(0x0002) - not-present page [ 2.362931] PGD 0 P4D 0 [ 2.362954] Oops: Oops: 0002 [#1] SMP [ 2.362989] CPU: 0 UID: 0 PID: 66 Comm: kworker/u16:1 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 2.363075] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.363131] Workqueue: netns cleanup_net [ 2.363174] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 2.363224] 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 [ 2.363385] RSP: 0018:ffffa2450024fbb8 EFLAGS: 00010046 [ 2.363431] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 00000000ffffffff [ 2.363501] RDX: ffffa2450024fbf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 2.363569] RBP: ffffa2450024fbf0 R08: ffffffff91a93e00 R09: 0000000000000101 [ 2.363637] R10: ffffffff926080d8 R11: ffffa24500003ff8 R12: 0000000000000000 [ 2.363705] R13: ffffa2450024fce8 R14: 0000000000000020 R15: ffffa2450024fdf0 [ 2.363775] FS: 0000000000000000(0000) GS:ffff946e6bd91000(0000) knlGS:0000000000000000 [ 2.363847] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.363905] CR2: 0000000000000000 CR3: 0000000022c46005 CR4: 0000000000772ef0 [ 2.363983] PKRU: 55555554 [ 2.364005] Call Trace: [ 2.364029] [ 2.364051] __cancel_work+0x29/0xe0 [ 2.364087] ? dev_deactivate_many+0x2c9/0x300 [ 2.364140] __cancel_work_sync+0x16/0x80 [ 2.364174] __dev_close_many+0x113/0x2b0 [ 2.364214] netif_close_many+0x98/0x160 [ 2.364249] unregister_netdevice_many_notify+0x1ea/0xaa0 [ 2.364301] default_device_exit_batch+0x29b/0x300 [ 2.364344] ? mutex_lock+0x12/0x30 [ 2.364385] ops_undo_list+0xec/0x1f0 [ 2.364425] cleanup_net+0x1b7/0x300 [ 2.364460] process_one_work+0x162/0x380 [ 2.364496] worker_thread+0x299/0x3c0 [ 2.364535] ? rescuer_thread+0x4c0/0x4c0 [ 2.364570] kthread+0x101/0x1f0 [ 2.364603] ? kthreads_online_cpu+0x110/0x110 [ 2.364649] ? kthreads_online_cpu+0x110/0x110 [ 2.364693] ret_from_fork+0x11c/0x140 [ 2.364731] ? kthreads_online_cpu+0x110/0x110 [ 2.364778] ret_from_fork_asm+0x11/0x20 [ 2.364820] [ 2.364840] Modules linked in: [ 2.364875] CR2: 0000000000000000 [ 2.364907] ---[ end trace 0000000000000000 ]--- [ 2.364955] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 2.365000] 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 [ 2.365159] RSP: 0018:ffffa2450024fbb8 EFLAGS: 00010046 [ 2.365205] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 00000000ffffffff [ 2.365274] RDX: ffffa2450024fbf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 2.365341] RBP: ffffa2450024fbf0 R08: ffffffff91a93e00 R09: 0000000000000101 [ 2.365410] R10: ffffffff926080d8 R11: ffffa24500003ff8 R12: 0000000000000000 [ 2.365479] R13: ffffa2450024fce8 R14: 0000000000000020 R15: ffffa2450024fdf0 [ 2.365551] FS: 0000000000000000(0000) GS:ffff946e6bd91000(0000) knlGS:0000000000000000 [ 2.365620] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.365677] CR2: 0000000000000000 CR3: 0000000022c46005 CR4: 0000000000772ef0 [ 2.365746] PKRU: 55555554 [ 2.365768] note: kworker/u16:1[66] exited with irqs disabled