[ 2.564592] netem: version 1.3 [ 104.261198] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 104.261285] #PF: supervisor write access in kernel mode [ 104.261324] #PF: error_code(0x0002) - not-present page [ 104.261353] PGD 0 P4D 0 [ 104.261383] Oops: Oops: 0002 [#1] SMP [ 104.261419] CPU: 3 UID: 0 PID: 66 Comm: kworker/u16:1 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 104.261491] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 104.261539] Workqueue: netns cleanup_net [ 104.261593] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 104.261652] 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 [ 104.261781] RSP: 0018:ffffae5c0024fbb8 EFLAGS: 00010046 [ 104.261816] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000800 [ 104.261877] RDX: ffffae5c0024fbf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 104.261930] RBP: ffffae5c0024fbf0 R08: ffff99a441398873 R09: 0000000000000002 [ 104.261982] R10: ffff99a47eda8840 R11: ffff99a441398090 R12: 0000000000000000 [ 104.262045] R13: ffffae5c0024fce8 R14: 0000000000000020 R15: ffffae5c0024fdf0 [ 104.262107] FS: 0000000000000000(0000) GS:ffff99a4f3141000(0000) knlGS:0000000000000000 [ 104.262164] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 104.262218] CR2: 0000000000000000 CR3: 0000000032047005 CR4: 0000000000772ef0 [ 104.262272] PKRU: 55555554 [ 104.262293] Call Trace: [ 104.262317] [ 104.262346] __cancel_work+0x29/0xe0 [ 104.262381] ? queue_delayed_work_on+0x54/0x60 [ 104.262421] __cancel_work_sync+0x16/0x80 [ 104.262461] __dev_close_many+0x11b/0x280 [ 104.262501] netif_close_many+0x98/0x160 [ 104.262535] ? rcu_barrier_entrain+0xb0/0xb0 [ 104.262583] unregister_netdevice_many_notify+0x1d8/0xa50 [ 104.262630] ? unregister_netdevice_queue+0x29/0xe0 [ 104.262671] default_device_exit_batch+0x29b/0x300 [ 104.262716] ops_undo_list+0xec/0x1f0 [ 104.262751] cleanup_net+0x1b7/0x2b0 [ 104.262784] process_one_work+0x162/0x380 [ 104.262817] worker_thread+0x299/0x3c0 [ 104.262848] ? rescuer_thread+0x4c0/0x4c0 [ 104.262881] kthread+0x101/0x1f0 [ 104.262922] ? kthreads_online_cpu+0x110/0x110 [ 104.262957] ? kthreads_online_cpu+0x110/0x110 [ 104.262997] ret_from_fork+0x11c/0x140 [ 104.263040] ? kthreads_online_cpu+0x110/0x110 [ 104.263079] ret_from_fork_asm+0x11/0x20 [ 104.263121] [ 104.263143] Modules linked in: sch_netem [ 104.263181] CR2: 0000000000000000 [ 104.263219] ---[ end trace 0000000000000000 ]--- [ 104.263259] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 104.263301] 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 [ 104.263428] RSP: 0018:ffffae5c0024fbb8 EFLAGS: 00010046 [ 104.263462] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000800 [ 104.263521] RDX: ffffae5c0024fbf0 RSI: 0000000000000000 RDI: 0000000000000000 [ 104.263574] RBP: ffffae5c0024fbf0 R08: ffff99a441398873 R09: 0000000000000002 [ 104.263637] R10: ffff99a47eda8840 R11: ffff99a441398090 R12: 0000000000000000 [ 104.263697] R13: ffffae5c0024fce8 R14: 0000000000000020 R15: ffffae5c0024fdf0 [ 104.263752] FS: 0000000000000000(0000) GS:ffff99a4f3141000(0000) knlGS:0000000000000000 [ 104.263811] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 104.263859] CR2: 0000000000000000 CR3: 0000000032047005 CR4: 0000000000772ef0 [ 104.263922] PKRU: 55555554 [ 104.263945] note: kworker/u16:1[66] exited with irqs disabled