[ 49.242759] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 49.242850] #PF: supervisor write access in kernel mode [ 49.242894] #PF: error_code(0x0002) - not-present page [ 49.242939] PGD f1c2067 P4D f1c2067 PUD ea54067 PMD 0 [ 49.242986] Oops: Oops: 0002 [#1] SMP [ 49.243030] CPU: 2 UID: 0 PID: 66 Comm: kworker/u16:1 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 49.243104] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.243152] Workqueue: netns cleanup_net [ 49.243194] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 49.243243] 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 [ 49.243379] RSP: 0018:ffffa5034024fbb8 EFLAGS: 00010046 [ 49.243417] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000800 [ 49.243478] RDX: ffffa5034024fbf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 49.243546] RBP: ffffa5034024fbf0 R08: ffff890bc2df6473 R09: 0000000000000002 [ 49.243614] R10: ffff890bfed28840 R11: ffff890bc2df5c90 R12: 0000000000000000 [ 49.243668] R13: ffffa5034024fce8 R14: 0000000000000020 R15: ffffa5034024fdf0 [ 49.243732] FS: 0000000000000000(0000) GS:ffff890c61491000(0000) knlGS:0000000000000000 [ 49.243808] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 49.243870] CR2: 0000000000000000 CR3: 000000000ea36005 CR4: 0000000000772ef0 [ 49.243945] PKRU: 55555554 [ 49.243974] Call Trace: [ 49.244006] [ 49.244036] __cancel_work+0x29/0xe0 [ 49.244091] ? queue_delayed_work_on+0x54/0x60 [ 49.244148] __cancel_work_sync+0x16/0x80 [ 49.244191] __dev_close_many+0x113/0x2b0 [ 49.244240] netif_close_many+0x98/0x160 [ 49.244282] unregister_netdevice_many_notify+0x1ea/0xaa0 [ 49.244344] ? unregister_netdevice_queue+0x29/0xe0 [ 49.244403] default_device_exit_batch+0x29b/0x300 [ 49.244458] ? mutex_lock+0x12/0x30 [ 49.244505] ops_undo_list+0xec/0x1f0 [ 49.244549] cleanup_net+0x1b7/0x300 [ 49.244591] process_one_work+0x162/0x380 [ 49.244626] worker_thread+0x299/0x3c0 [ 49.244664] ? rescuer_thread+0x4c0/0x4c0 [ 49.244712] kthread+0x101/0x1f0 [ 49.244758] ? kthreads_online_cpu+0x110/0x110 [ 49.244804] ? kthreads_online_cpu+0x110/0x110 [ 49.244850] ret_from_fork+0x11c/0x140 [ 49.244889] ? kthreads_online_cpu+0x110/0x110 [ 49.244937] ret_from_fork_asm+0x11/0x20 [ 49.244977] [ 49.245001] Modules linked in: cls_bpf sch_ingress netdevsim psample [ 49.245063] CR2: 0000000000000000 [ 49.245095] ---[ end trace 0000000000000000 ]--- [ 49.245143] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 49.245185] 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 [ 49.245349] RSP: 0018:ffffa5034024fbb8 EFLAGS: 00010046 [ 49.245392] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000800 [ 49.245462] RDX: ffffa5034024fbf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 49.245529] RBP: ffffa5034024fbf0 R08: ffff890bc2df6473 R09: 0000000000000002 [ 49.245597] R10: ffff890bfed28840 R11: ffff890bc2df5c90 R12: 0000000000000000 [ 49.245665] R13: ffffa5034024fce8 R14: 0000000000000020 R15: ffffa5034024fdf0 [ 49.245728] FS: 0000000000000000(0000) GS:ffff890c61491000(0000) knlGS:0000000000000000 [ 49.245800] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 49.245856] CR2: 0000000000000000 CR3: 000000000ea36005 CR4: 0000000000772ef0 [ 49.245919] PKRU: 55555554 [ 49.245944] note: kworker/u16:1[66] exited with irqs disabled WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr