[ 4.531062] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 4.531132] #PF: supervisor write access in kernel mode [ 4.531171] #PF: error_code(0x0002) - not-present page [ 4.531202] PGD 0 P4D 0 [ 4.531225] Oops: Oops: 0002 [#1] SMP [ 4.531251] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 4.531312] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.531352] Workqueue: netns cleanup_net [ 4.531386] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 4.531426] 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 [ 4.531542] RSP: 0018:ffffb05080067bb8 EFLAGS: 00010046 [ 4.531586] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 00000000ffffffff [ 4.531635] RDX: ffffb05080067bf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 4.531684] RBP: ffffb05080067bf0 R08: ffffffff98293e00 R09: 0000000000000101 [ 4.531733] R10: ffffffff98e080d8 R11: ffffb05080003ff8 R12: 0000000000000000 [ 4.531781] R13: ffffb05080067ce8 R14: 0000000000000020 R15: ffffb05080067df0 [ 4.531831] FS: 0000000000000000(0000) GS:ffff982ae5591000(0000) knlGS:0000000000000000 [ 4.531882] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.531927] CR2: 0000000000000000 CR3: 0000000005ba5006 CR4: 0000000000772ef0 [ 4.531977] PKRU: 55555554 [ 4.531997] Call Trace: [ 4.532014] [ 4.532035] __cancel_work+0x29/0xe0 [ 4.532064] ? dev_deactivate_many+0x2c9/0x300 [ 4.532100] __cancel_work_sync+0x16/0x80 [ 4.532126] __dev_close_many+0x113/0x2b0 [ 4.532156] netif_close_many+0x98/0x160 [ 4.532186] unregister_netdevice_many_notify+0x1ea/0xaa0 [ 4.532224] default_device_exit_batch+0x29b/0x300 [ 4.532256] ? mutex_lock+0x12/0x30 [ 4.532286] ops_undo_list+0xec/0x1f0 [ 4.532317] cleanup_net+0x1b7/0x300 [ 4.532346] process_one_work+0x162/0x380 [ 4.532375] worker_thread+0x299/0x3c0 [ 4.532405] ? rescuer_thread+0x4c0/0x4c0 [ 4.532435] kthread+0x101/0x1f0 [ 4.532464] ? kthreads_online_cpu+0x110/0x110 [ 4.532501] ? kthreads_online_cpu+0x110/0x110 [ 4.532534] ret_from_fork+0x11c/0x140 [ 4.532569] ? kthreads_online_cpu+0x110/0x110 [ 4.532608] ret_from_fork_asm+0x11/0x20 [ 4.532640] [ 4.532660] Modules linked in: [ 4.532686] CR2: 0000000000000000 [ 4.532715] ---[ end trace 0000000000000000 ]--- [ 4.532747] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 4.532784] 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 [ 4.532896] RSP: 0018:ffffb05080067bb8 EFLAGS: 00010046 [ 4.532934] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 00000000ffffffff [ 4.532982] RDX: ffffb05080067bf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 4.533030] RBP: ffffb05080067bf0 R08: ffffffff98293e00 R09: 0000000000000101 [ 4.533079] R10: ffffffff98e080d8 R11: ffffb05080003ff8 R12: 0000000000000000 [ 4.533127] R13: ffffb05080067ce8 R14: 0000000000000020 R15: ffffb05080067df0 [ 4.533178] FS: 0000000000000000(0000) GS:ffff982ae5591000(0000) knlGS:0000000000000000 [ 4.533232] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.533276] CR2: 0000000000000000 CR3: 0000000005ba5006 CR4: 0000000000772ef0 [ 4.533325] PKRU: 55555554 [ 4.533345] note: kworker/u16:0[12] exited with irqs disabled