[ 8.281343] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 8.281448] #PF: supervisor write access in kernel mode [ 8.281507] #PF: error_code(0x0002) - not-present page [ 8.281563] PGD 0 P4D 0 [ 8.281608] Oops: Oops: 0002 [#1] SMP [ 8.281670] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 8.281777] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.281853] Workqueue: netns cleanup_net [ 8.281926] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 8.282015] 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.282223] RSP: 0018:ffffb6bb80067bb8 EFLAGS: 00010046 [ 8.282294] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000c00 [ 8.282401] RDX: ffffb6bb80067bf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 8.282486] RBP: ffffb6bb80067bf0 R08: ffff9c6481393683 R09: 0000000000000002 [ 8.282570] R10: ffff9c64bec28640 R11: ffff9c6481392e90 R12: 0000000000000000 [ 8.282656] R13: ffffb6bb80067ce8 R14: 0000000000000020 R15: ffffb6bb80067df0 [ 8.282744] FS: 0000000000000000(0000) GS:ffff9c6526dd8000(0000) knlGS:0000000000000000 [ 8.282837] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 8.282910] CR2: 0000000000000000 CR3: 00000000068ef002 CR4: 0000000000772ef0 [ 8.282996] PKRU: 55555554 [ 8.283021] Call Trace: [ 8.283051] [ 8.283087] __cancel_work+0x29/0xe0 [ 8.283143] ? queue_delayed_work_on+0x54/0x60 [ 8.283202] __cancel_work_sync+0x16/0x80 [ 8.283252] __dev_close_many+0x11b/0x280 [ 8.283310] netif_close_many+0x98/0x160 [ 8.283357] unregister_netdevice_many_notify+0x1d8/0xa50 [ 8.283427] ? unregister_netdevice_queue+0x29/0xe0 [ 8.283488] default_device_exit_batch+0x29b/0x300 [ 8.283544] ops_undo_list+0xec/0x1f0 [ 8.283602] cleanup_net+0x1b7/0x2b0 [ 8.283656] process_one_work+0x162/0x380 [ 8.283708] worker_thread+0x299/0x3c0 [ 8.283752] ? rescuer_thread+0x4c0/0x4c0 [ 8.283800] kthread+0x101/0x1f0 [ 8.283847] ? kthreads_online_cpu+0x110/0x110 [ 8.283911] ? kthreads_online_cpu+0x110/0x110 [ 8.283968] ret_from_fork+0x11c/0x140 [ 8.284030] ? kthreads_online_cpu+0x110/0x110 [ 8.284090] ret_from_fork_asm+0x11/0x20 [ 8.284147] [ 8.284179] Modules linked in: nft_masq nft_chain_nat nf_nat nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables veth [ 8.284325] CR2: 0000000000000000 [ 8.284373] ---[ end trace 0000000000000000 ]--- [ 8.284433] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 8.284496] 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.284697] RSP: 0018:ffffb6bb80067bb8 EFLAGS: 00010046 [ 8.284759] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000c00 [ 8.284849] RDX: ffffb6bb80067bf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 8.284937] RBP: ffffb6bb80067bf0 R08: ffff9c6481393683 R09: 0000000000000002 [ 8.285024] R10: ffff9c64bec28640 R11: ffff9c6481392e90 R12: 0000000000000000 [ 8.285105] R13: ffffb6bb80067ce8 R14: 0000000000000020 R15: ffffb6bb80067df0 [ 8.285203] FS: 0000000000000000(0000) GS:ffff9c6526dd8000(0000) knlGS:0000000000000000 [ 8.285289] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 8.285361] CR2: 0000000000000000 CR3: 00000000068ef002 CR4: 0000000000772ef0 [ 8.285442] PKRU: 55555554 [ 8.285474] note: kworker/u16:0[12] exited with irqs disabled