[ 20.532328] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 20.532435] #PF: supervisor write access in kernel mode [ 20.532475] #PF: error_code(0x0002) - not-present page [ 20.532519] PGD 0 P4D 0 [ 20.532550] Oops: Oops: 0002 [#1] SMP [ 20.532599] CPU: 3 UID: 0 PID: 68 Comm: kworker/u16:1 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 20.532669] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.532715] Workqueue: netns cleanup_net [ 20.532755] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 20.532797] 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 [ 20.532919] RSP: 0018:ffffb1a40025fbb8 EFLAGS: 00010046 [ 20.532967] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000c00 [ 20.533021] RDX: ffffb1a40025fbf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 20.533075] RBP: ffffb1a40025fbf0 R08: ffff93c201398883 R09: 0000000000000002 [ 20.533127] R10: ffff93c23eda8640 R11: ffff93c201398090 R12: 0000000000000000 [ 20.533180] R13: ffffb1a40025fce8 R14: 0000000000000020 R15: ffffb1a40025fdf0 [ 20.533236] FS: 0000000000000000(0000) GS:ffff93c296158000(0000) knlGS:0000000000000000 [ 20.533305] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 20.533362] CR2: 0000000000000000 CR3: 0000000038041002 CR4: 0000000000772ef0 [ 20.533429] PKRU: 55555554 [ 20.533448] Call Trace: [ 20.533467] [ 20.533489] __cancel_work+0x29/0xe0 [ 20.533532] ? queue_delayed_work_on+0x54/0x60 [ 20.533583] __cancel_work_sync+0x16/0x80 [ 20.533615] __dev_close_many+0x11b/0x280 [ 20.533647] netif_close_many+0x98/0x160 [ 20.533676] ? rcu_barrier_entrain+0xb0/0xb0 [ 20.533734] unregister_netdevice_many_notify+0x1d8/0xa50 [ 20.533778] ? unregister_netdevice_queue+0x29/0xe0 [ 20.533814] default_device_exit_batch+0x29b/0x300 [ 20.533851] ops_undo_list+0xec/0x1f0 [ 20.533886] cleanup_net+0x1b7/0x2b0 [ 20.533916] process_one_work+0x162/0x380 [ 20.533962] worker_thread+0x299/0x3c0 [ 20.533994] ? rescuer_thread+0x4c0/0x4c0 [ 20.534022] kthread+0x101/0x1f0 [ 20.534056] ? kthreads_online_cpu+0x110/0x110 [ 20.534095] ? kthreads_online_cpu+0x110/0x110 [ 20.534133] ret_from_fork+0x11c/0x140 [ 20.534172] ? kthreads_online_cpu+0x110/0x110 [ 20.534209] ret_from_fork_asm+0x11/0x20 [ 20.534246] [ 20.534275] Modules linked in: nft_ct nf_conntrack_netlink nft_redir nft_masq tcp_diag inet_diag nft_nat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables veth [ 20.534412] CR2: 0000000000000000 [ 20.534444] ---[ end trace 0000000000000000 ]--- [ 20.534481] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 20.534526] 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 [ 20.534655] RSP: 0018:ffffb1a40025fbb8 EFLAGS: 00010046 [ 20.534693] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000c00 [ 20.534764] RDX: ffffb1a40025fbf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 20.534818] RBP: ffffb1a40025fbf0 R08: ffff93c201398883 R09: 0000000000000002 [ 20.534870] R10: ffff93c23eda8640 R11: ffff93c201398090 R12: 0000000000000000 [ 20.534926] R13: ffffb1a40025fce8 R14: 0000000000000020 R15: ffffb1a40025fdf0 [ 20.534986] FS: 0000000000000000(0000) GS:ffff93c296158000(0000) knlGS:0000000000000000 [ 20.535040] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 20.535084] CR2: 0000000000000000 CR3: 0000000038041002 CR4: 0000000000772ef0 [ 20.535139] PKRU: 55555554 [ 20.535161] note: kworker/u16:1[68] exited with irqs disabled