[ 77.884543][ T12] ================================================================== [ 77.884955][ T12] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 77.885290][ T12] Write of size 8 at addr 0000000000000000 by task kworker/u16:0/12 [ 77.885594][ T12] [ 77.885699][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 77.885706][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 77.885710][ T12] Workqueue: netns cleanup_net [ 77.885728][ T12] Call Trace: [ 77.885732][ T12] [ 77.885735][ T12] dump_stack_lvl+0x82/0xc0 [ 77.885750][ T12] ? try_to_grab_pending+0x81/0x6c0 [ 77.885753][ T12] kasan_report+0xca/0x100 [ 77.885767][ T12] ? try_to_grab_pending+0x81/0x6c0 [ 77.885772][ T12] kasan_check_range+0x39/0x1b0 [ 77.885775][ T12] try_to_grab_pending+0x81/0x6c0 [ 77.885779][ T12] __cancel_work+0x7c/0x260 [ 77.885782][ T12] ? enable_delayed_work+0x10/0x10 [ 77.885787][ T12] ? queue_delayed_work_on+0x6a/0xa0 [ 77.885791][ T12] __cancel_work_sync+0x18/0xc0 [ 77.885795][ T12] __dev_close_many+0x1ce/0x810 [ 77.885801][ T12] ? netdev_notify_peers+0x20/0x20 [ 77.885805][ T12] ? netif_close_many+0x201/0x650 [ 77.885809][ T12] netif_close_many+0x201/0x650 [ 77.885813][ T12] ? __mutex_handoff+0x2b0/0x2b0 [ 77.885821][ T12] ? __dev_close_many+0x810/0x810 [ 77.885824][ T12] ? netif_close_many_and_unlock+0x21/0x2a0 [ 77.885830][ T12] unregister_netdevice_many_notify+0x305/0x1b30 [ 77.885836][ T12] ? find_held_lock+0x2b/0x80 [ 77.885842][ T12] ? mutex_is_locked+0x1c/0x50 [ 77.885845][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 77.885849][ T12] ? rtnl_is_locked+0x15/0x20 [ 77.885851][ T12] ? unregister_netdevice_queue+0x6f/0x410 [ 77.885854][ T12] ? unregister_netdevice_many+0x20/0x20 [ 77.885858][ T12] ? unregister_netdevice_many+0x20/0x20 [ 77.885864][ T12] default_device_exit_batch+0x235/0x2d0 [ 77.885868][ T12] ? unregister_netdev+0x60/0x60 [ 77.885874][ T12] ops_undo_list+0x2bf/0x890 [ 77.885878][ T12] ? netns_get+0x110/0x110 [ 77.885880][ T12] ? cleanup_net+0x2d6/0x830 [ 77.885885][ T12] cleanup_net+0x3b2/0x830 [ 77.885888][ T12] ? net_passive_dec+0x190/0x190 [ 77.885892][ T12] ? rcu_is_watching+0x12/0xb0 [ 77.885901][ T12] process_one_work+0xe35/0x1650 [ 77.885907][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 77.885912][ T12] ? assign_work+0x168/0x240 [ 77.885917][ T12] worker_thread+0x591/0xcf0 [ 77.885923][ T12] ? rescuer_thread+0xd10/0xd10 [ 77.885926][ T12] kthread+0x37b/0x5f0 [ 77.885929][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 77.885931][ T12] ? ret_from_fork+0x1b/0x270 [ 77.885946][ T12] ? __lock_release+0x5d/0x170 [ 77.885950][ T12] ? rcu_is_watching+0x12/0xb0 [ 77.885953][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 77.885956][ T12] ret_from_fork+0x1db/0x270 [ 77.885959][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 77.885974][ T12] ret_from_fork_asm+0x11/0x20 [ 77.885988][ T12] [ 77.885989][ T12] ================================================================== [ 77.895140][ T12] Disabling lock debugging due to kernel taint [ 77.895365][ T12] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 77.895604][ T12] #PF: supervisor write access in kernel mode [ 77.895808][ T12] #PF: error_code(0x0002) - not-present page [ 77.896016][ T12] PGD 0 P4D 0 [ 77.896166][ T12] Oops: Oops: 0002 [#1] SMP KASAN [ 77.896339][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 77.896722][ T12] Tainted: [B]=BAD_PAGE [ 77.896848][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 77.897060][ T12] Workqueue: netns cleanup_net [ 77.897229][ T12] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 77.897444][ T12] Code: 00 41 89 c0 b8 01 00 00 00 45 85 c0 74 0f 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 be 08 00 00 00 48 89 df e8 7f 7f 81 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e [ 77.898041][ T12] RSP: 0000:ffffc900000c7690 EFLAGS: 00010046 [ 77.898253][ T12] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffabc3f90a [ 77.898501][ T12] RDX: fffffbfff5fcb6cd RSI: 0000000000000008 RDI: ffffffffafe5b660 [ 77.898748][ T12] RBP: ffffc900000c76f8 R08: 0000000000000001 R09: fffffbfff5fcb6cc [ 77.898998][ T12] R10: ffffffffafe5b667 R11: ffffc900000c7180 R12: 0000000000000000 [ 77.899245][ T12] R13: 0000000000000286 R14: ffff88800e4f4000 R15: dffffc0000000000 [ 77.899492][ T12] FS: 0000000000000000(0000) GS:ffff888086410000(0000) knlGS:0000000000000000 [ 77.899774][ T12] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 77.899979][ T12] CR2: 0000000000000000 CR3: 0000000033935006 CR4: 0000000000772ef0 [ 77.900229][ T12] PKRU: 55555554 [ 77.900359][ T12] Call Trace: [ 77.900484][ T12] [ 77.900570][ T12] __cancel_work+0x7c/0x260 [ 77.900737][ T12] ? enable_delayed_work+0x10/0x10 [ 77.900908][ T12] ? queue_delayed_work_on+0x6a/0xa0 [ 77.901093][ T12] __cancel_work_sync+0x18/0xc0 [ 77.901255][ T12] __dev_close_many+0x1ce/0x810 [ 77.901422][ T12] ? netdev_notify_peers+0x20/0x20 [ 77.901580][ T12] ? netif_close_many+0x201/0x650 [ 77.901754][ T12] netif_close_many+0x201/0x650 [ 77.901916][ T12] ? __mutex_handoff+0x2b0/0x2b0 [ 77.902085][ T12] ? __dev_close_many+0x810/0x810 [ 77.902258][ T12] ? netif_close_many_and_unlock+0x21/0x2a0 [ 77.902465][ T12] unregister_netdevice_many_notify+0x305/0x1b30 [ 77.902686][ T12] ? find_held_lock+0x2b/0x80 [ 77.902857][ T12] ? mutex_is_locked+0x1c/0x50 [ 77.903016][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 77.903184][ T12] ? rtnl_is_locked+0x15/0x20 [ 77.903349][ T12] ? unregister_netdevice_queue+0x6f/0x410 [ 77.903564][ T12] ? unregister_netdevice_many+0x20/0x20 [ 77.903728][ T12] ? unregister_netdevice_many+0x20/0x20 [ 77.903913][ T12] default_device_exit_batch+0x235/0x2d0 [ 77.904081][ T12] ? unregister_netdev+0x60/0x60 [ 77.904244][ T12] ops_undo_list+0x2bf/0x890 [ 77.904420][ T12] ? netns_get+0x110/0x110 [ 77.904578][ T12] ? cleanup_net+0x2d6/0x830 [ 77.904744][ T12] cleanup_net+0x3b2/0x830 [ 77.904916][ T12] ? net_passive_dec+0x190/0x190 [ 77.905080][ T12] ? rcu_is_watching+0x12/0xb0 [ 77.905239][ T12] process_one_work+0xe35/0x1650 [ 77.905414][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 77.905575][ T12] ? assign_work+0x168/0x240 [ 77.905743][ T12] worker_thread+0x591/0xcf0 [ 77.905909][ T12] ? rescuer_thread+0xd10/0xd10 [ 77.906096][ T12] kthread+0x37b/0x5f0 [ 77.906218][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 77.906411][ T12] ? ret_from_fork+0x1b/0x270 [ 77.906583][ T12] ? __lock_release+0x5d/0x170 [ 77.906749][ T12] ? rcu_is_watching+0x12/0xb0 [ 77.906913][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 77.907083][ T12] ret_from_fork+0x1db/0x270 [ 77.907242][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 77.907400][ T12] ret_from_fork_asm+0x11/0x20 [ 77.907566][ T12] [ 77.907691][ T12] Modules linked in: veth [ 77.907831][ T12] CR2: 0000000000000000 [ 77.907967][ T12] ---[ end trace 0000000000000000 ]--- [ 77.908130][ T12] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 77.908336][ T12] Code: 00 41 89 c0 b8 01 00 00 00 45 85 c0 74 0f 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 be 08 00 00 00 48 89 df e8 7f 7f 81 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e [ 77.908910][ T12] RSP: 0000:ffffc900000c7690 EFLAGS: 00010046 [ 77.909135][ T12] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffabc3f90a [ 77.909377][ T12] RDX: fffffbfff5fcb6cd RSI: 0000000000000008 RDI: ffffffffafe5b660 [ 77.909616][ T12] RBP: ffffc900000c76f8 R08: 0000000000000001 R09: fffffbfff5fcb6cc [ 77.909868][ T12] R10: ffffffffafe5b667 R11: ffffc900000c7180 R12: 0000000000000000 [ 77.910119][ T12] R13: 0000000000000286 R14: ffff88800e4f4000 R15: dffffc0000000000 [ 77.910373][ T12] FS: 0000000000000000(0000) GS:ffff888086410000(0000) knlGS:0000000000000000 [ 77.910665][ T12] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 77.910877][ T12] CR2: 0000000000000000 CR3: 0000000033935006 CR4: 0000000000772ef0 [ 77.911142][ T12] PKRU: 55555554 [ 77.911264][ T12] Kernel panic - not syncing: Fatal exception [ 77.911595][ T12] Kernel Offset: 0x2a600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 77.912038][ T12] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr