[ 18.584603][ T264] ip (264) used greatest stack depth: 23376 bytes left [ 206.060471][ T12] ================================================================== [ 206.060926][ T12] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 206.061422][ T12] Write of size 8 at addr 0000000000000000 by task kworker/u16:0/12 [ 206.061837][ T12] [ 206.061988][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 206.061996][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 206.062000][ T12] Workqueue: netns cleanup_net [ 206.062015][ T12] Call Trace: [ 206.062018][ T12] [ 206.062022][ T12] dump_stack_lvl+0x82/0xc0 [ 206.062031][ T12] ? try_to_grab_pending+0x81/0x6c0 [ 206.062037][ T12] kasan_report+0xca/0x100 [ 206.062048][ T12] ? try_to_grab_pending+0x81/0x6c0 [ 206.062057][ T12] kasan_check_range+0x39/0x1b0 [ 206.062062][ T12] try_to_grab_pending+0x81/0x6c0 [ 206.062071][ T12] __cancel_work+0x7c/0x260 [ 206.062076][ T12] ? enable_delayed_work+0x10/0x10 [ 206.062084][ T12] ? queue_delayed_work_on+0x6a/0xa0 [ 206.062092][ T12] __cancel_work_sync+0x18/0xc0 [ 206.062098][ T12] __dev_close_many+0x1ce/0x810 [ 206.062105][ T12] ? netdev_notify_peers+0x20/0x20 [ 206.062111][ T12] ? netif_close_many+0x201/0x650 [ 206.062118][ T12] netif_close_many+0x201/0x650 [ 206.062123][ T12] ? __mutex_handoff+0x2b0/0x2b0 [ 206.062130][ T12] ? __dev_close_many+0x810/0x810 [ 206.062135][ T12] ? netif_close_many_and_unlock+0x21/0x2a0 [ 206.062143][ T12] unregister_netdevice_many_notify+0x305/0x1b30 [ 206.062149][ T12] ? find_held_lock+0x2b/0x80 [ 206.062156][ T12] ? mutex_is_locked+0x1c/0x50 [ 206.062161][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 206.062167][ T12] ? rtnl_is_locked+0x15/0x20 [ 206.062174][ T12] ? unregister_netdevice_queue+0x6f/0x410 [ 206.062179][ T12] ? unregister_netdevice_many+0x20/0x20 [ 206.062185][ T12] ? unregister_netdevice_many+0x20/0x20 [ 206.062195][ T12] default_device_exit_batch+0x235/0x2d0 [ 206.062201][ T12] ? unregister_netdev+0x60/0x60 [ 206.062212][ T12] ops_undo_list+0x2bf/0x890 [ 206.062223][ T12] ? netns_get+0x110/0x110 [ 206.062228][ T12] ? cleanup_net+0x2d6/0x830 [ 206.062237][ T12] cleanup_net+0x3b2/0x830 [ 206.062243][ T12] ? net_passive_dec+0x190/0x190 [ 206.062250][ T12] ? rcu_is_watching+0x12/0xb0 [ 206.062261][ T12] process_one_work+0xe35/0x1650 [ 206.062273][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 206.062283][ T12] ? assign_work+0x168/0x240 [ 206.062290][ T12] worker_thread+0x591/0xcf0 [ 206.062300][ T12] ? rescuer_thread+0xd10/0xd10 [ 206.062307][ T12] kthread+0x37b/0x5f0 [ 206.062315][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 206.062319][ T12] ? ret_from_fork+0x1b/0x270 [ 206.062329][ T12] ? __lock_release+0x5d/0x170 [ 206.062337][ T12] ? rcu_is_watching+0x12/0xb0 [ 206.062342][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 206.062348][ T12] ret_from_fork+0x1db/0x270 [ 206.062353][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 206.062358][ T12] ret_from_fork_asm+0x11/0x20 [ 206.062374][ T12] [ 206.062376][ T12] ================================================================== [ 206.077425][ T12] Disabling lock debugging due to kernel taint [ 206.077774][ T12] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 206.078174][ T12] #PF: supervisor write access in kernel mode [ 206.078518][ T12] #PF: error_code(0x0002) - not-present page [ 206.078849][ T12] PGD 0 P4D 0 [ 206.079057][ T12] Oops: Oops: 0002 [#1] SMP KASAN [ 206.079346][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 206.080155][ T12] Tainted: [B]=BAD_PAGE [ 206.080547][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 206.081066][ T12] Workqueue: netns cleanup_net [ 206.081542][ T12] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 206.082075][ 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 df 81 84 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e [ 206.083024][ T12] RSP: 0018:ffffc900000c7690 EFLAGS: 00010046 [ 206.083360][ T12] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff9ce40aaa [ 206.083766][ T12] RDX: fffffbfff420fecd RSI: 0000000000000008 RDI: ffffffffa107f660 [ 206.084179][ T12] RBP: ffffc900000c76f8 R08: 0000000000000001 R09: fffffbfff420fecc [ 206.084578][ T12] R10: ffffffffa107f667 R11: ffffc900000c7180 R12: 0000000000000000 [ 206.084997][ T12] R13: 0000000000000286 R14: ffff888010021000 R15: dffffc0000000000 [ 206.085408][ T12] FS: 0000000000000000(0000) GS:ffff88808f5ec000(0000) knlGS:0000000000000000 [ 206.086277][ T12] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 206.086629][ T12] CR2: 0000000000000000 CR3: 0000000037735006 CR4: 0000000000772ef0 [ 206.087034][ T12] PKRU: 55555554 [ 206.087243][ T12] Call Trace: [ 206.087637][ T12] [ 206.087782][ T12] __cancel_work+0x7c/0x260 [ 206.088066][ T12] ? enable_delayed_work+0x10/0x10 [ 206.088361][ T12] ? queue_delayed_work_on+0x6a/0xa0 [ 206.088651][ T12] __cancel_work_sync+0x18/0xc0 [ 206.088924][ T12] __dev_close_many+0x1ce/0x810 [ 206.089199][ T12] ? netdev_notify_peers+0x20/0x20 [ 206.089658][ T12] ? netif_close_many+0x201/0x650 [ 206.089931][ T12] netif_close_many+0x201/0x650 [ 206.090202][ T12] ? __mutex_handoff+0x2b0/0x2b0 [ 206.090484][ T12] ? __dev_close_many+0x810/0x810 [ 206.090768][ T12] ? netif_close_many_and_unlock+0x21/0x2a0 [ 206.091109][ T12] unregister_netdevice_many_notify+0x305/0x1b30 [ 206.091457][ T12] ? find_held_lock+0x2b/0x80 [ 206.091711][ T12] ? mutex_is_locked+0x1c/0x50 [ 206.091986][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 206.092432][ T12] ? rtnl_is_locked+0x15/0x20 [ 206.092709][ T12] ? unregister_netdevice_queue+0x6f/0x410 [ 206.093085][ T12] ? unregister_netdevice_many+0x20/0x20 [ 206.093357][ T12] ? unregister_netdevice_many+0x20/0x20 [ 206.093638][ T12] default_device_exit_batch+0x235/0x2d0 [ 206.093923][ T12] ? unregister_netdev+0x60/0x60 [ 206.094201][ T12] ops_undo_list+0x2bf/0x890 [ 206.094502][ T12] ? netns_get+0x110/0x110 [ 206.094769][ T12] ? cleanup_net+0x2d6/0x830 [ 206.095052][ T12] cleanup_net+0x3b2/0x830 [ 206.095341][ T12] ? net_passive_dec+0x190/0x190 [ 206.095642][ T12] ? rcu_is_watching+0x12/0xb0 [ 206.095935][ T12] process_one_work+0xe35/0x1650 [ 206.096241][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 206.096517][ T12] ? assign_work+0x168/0x240 [ 206.096793][ T12] worker_thread+0x591/0xcf0 [ 206.097256][ T12] ? rescuer_thread+0xd10/0xd10 [ 206.097900][ T12] kthread+0x37b/0x5f0 [ 206.098110][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 206.098413][ T12] ? ret_from_fork+0x1b/0x270 [ 206.098691][ T12] ? __lock_release+0x5d/0x170 [ 206.098967][ T12] ? rcu_is_watching+0x12/0xb0 [ 206.099245][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 206.099512][ T12] ret_from_fork+0x1db/0x270 [ 206.099782][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 206.100084][ T12] ret_from_fork_asm+0x11/0x20 [ 206.100577][ T12] [ 206.100803][ T12] Modules linked in: tcp_diag inet_diag nft_masq nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables veth [ 206.101573][ T12] CR2: 0000000000000000 [ 206.101803][ T12] ---[ end trace 0000000000000000 ]--- [ 206.102104][ T12] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 206.102487][ 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 df 81 84 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e [ 206.103531][ T12] RSP: 0018:ffffc900000c7690 EFLAGS: 00010046 [ 206.104095][ T12] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff9ce40aaa [ 206.104533][ T12] RDX: fffffbfff420fecd RSI: 0000000000000008 RDI: ffffffffa107f660 [ 206.104974][ T12] RBP: ffffc900000c76f8 R08: 0000000000000001 R09: fffffbfff420fecc [ 206.105414][ T12] R10: ffffffffa107f667 R11: ffffc900000c7180 R12: 0000000000000000 [ 206.105846][ T12] R13: 0000000000000286 R14: ffff888010021000 R15: dffffc0000000000 [ 206.106300][ T12] FS: 0000000000000000(0000) GS:ffff88808f5ec000(0000) knlGS:0000000000000000 [ 206.106832][ T12] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 206.107209][ T12] CR2: 0000000000000000 CR3: 0000000037735006 CR4: 0000000000772ef0 [ 206.107667][ T12] PKRU: 55555554 [ 206.107900][ T12] Kernel panic - not syncing: Fatal exception [ 206.108389][ T12] Kernel Offset: 0x1b800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 206.109270][ T12] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr