[ 20.707922][ T258] ip (258) used greatest stack depth: 24000 bytes left [ 185.656642][ T12] ================================================================== [ 185.657019][ T12] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 185.657311][ T12] Write of size 8 at addr 0000000000000000 by task kworker/u16:0/12 [ 185.657591][ T12] [ 185.657720][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 185.657726][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 185.657731][ T12] Workqueue: netns cleanup_net [ 185.657746][ T12] Call Trace: [ 185.657748][ T12] [ 185.657751][ T12] dump_stack_lvl+0x82/0xc0 [ 185.657764][ T12] ? try_to_grab_pending+0x81/0x6c0 [ 185.657769][ T12] kasan_report+0xca/0x100 [ 185.657777][ T12] ? try_to_grab_pending+0x81/0x6c0 [ 185.657782][ T12] kasan_check_range+0x39/0x1b0 [ 185.657785][ T12] try_to_grab_pending+0x81/0x6c0 [ 185.657791][ T12] __cancel_work+0x7c/0x260 [ 185.657794][ T12] ? enable_delayed_work+0x10/0x10 [ 185.657799][ T12] ? queue_delayed_work_on+0x6a/0xa0 [ 185.657804][ T12] __cancel_work_sync+0x18/0xc0 [ 185.657807][ T12] __dev_close_many+0x1ce/0x810 [ 185.657813][ T12] ? netdev_notify_peers+0x20/0x20 [ 185.657816][ T12] ? netif_close_many+0x201/0x650 [ 185.657820][ T12] netif_close_many+0x201/0x650 [ 185.657824][ T12] ? __mutex_handoff+0x2b0/0x2b0 [ 185.657832][ T12] ? __dev_close_many+0x810/0x810 [ 185.657835][ T12] ? netif_close_many_and_unlock+0x21/0x2a0 [ 185.657840][ T12] unregister_netdevice_many_notify+0x305/0x1b30 [ 185.657844][ T12] ? find_held_lock+0x2b/0x80 [ 185.657849][ T12] ? mutex_is_locked+0x1c/0x50 [ 185.657852][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 185.657856][ T12] ? rtnl_is_locked+0x15/0x20 [ 185.657860][ T12] ? unregister_netdevice_queue+0x6f/0x410 [ 185.657863][ T12] ? unregister_netdevice_many+0x20/0x20 [ 185.657867][ T12] ? unregister_netdevice_many+0x20/0x20 [ 185.657872][ T12] default_device_exit_batch+0x235/0x2d0 [ 185.657876][ T12] ? unregister_netdev+0x60/0x60 [ 185.657882][ T12] ops_undo_list+0x2bf/0x890 [ 185.657890][ T12] ? netns_get+0x110/0x110 [ 185.657893][ T12] ? cleanup_net+0x2d6/0x830 [ 185.657898][ T12] cleanup_net+0x3b2/0x830 [ 185.657901][ T12] ? net_passive_dec+0x190/0x190 [ 185.657904][ T12] ? rcu_is_watching+0x12/0xb0 [ 185.657913][ T12] process_one_work+0xe35/0x1650 [ 185.657919][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 185.657925][ T12] ? assign_work+0x168/0x240 [ 185.657929][ T12] worker_thread+0x591/0xcf0 [ 185.657934][ T12] ? rescuer_thread+0xd10/0xd10 [ 185.657937][ T12] kthread+0x37b/0x5f0 [ 185.657943][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 185.657945][ T12] ? ret_from_fork+0x1b/0x270 [ 185.657951][ T12] ? __lock_release+0x5d/0x170 [ 185.657955][ T12] ? rcu_is_watching+0x12/0xb0 [ 185.657958][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 185.657961][ T12] ret_from_fork+0x1db/0x270 [ 185.657964][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 185.657967][ T12] ret_from_fork_asm+0x11/0x20 [ 185.657976][ T12] [ 185.657978][ T12] ================================================================== [ 185.667977][ T12] Disabling lock debugging due to kernel taint [ 185.668215][ T12] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 185.668476][ T12] #PF: supervisor write access in kernel mode [ 185.668710][ T12] #PF: error_code(0x0002) - not-present page [ 185.668926][ T12] PGD 0 P4D 0 [ 185.669061][ T12] Oops: Oops: 0002 [#1] SMP KASAN [ 185.669251][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 185.669725][ T12] Tainted: [B]=BAD_PAGE [ 185.669893][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 185.670122][ T12] Workqueue: netns cleanup_net [ 185.670341][ T12] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 185.670615][ 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 [ 185.671267][ T12] RSP: 0018:ffffc900000c7690 EFLAGS: 00010046 [ 185.671488][ T12] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff91a40aaa [ 185.671768][ T12] RDX: fffffbfff2b8fecd RSI: 0000000000000008 RDI: ffffffff95c7f660 [ 185.672031][ T12] RBP: ffffc900000c76f8 R08: 0000000000000001 R09: fffffbfff2b8fecc [ 185.672282][ T12] R10: ffffffff95c7f667 R11: ffffc900000c7180 R12: 0000000000000000 [ 185.672548][ T12] R13: 0000000000000286 R14: ffff888004da1000 R15: dffffc0000000000 [ 185.672817][ T12] FS: 0000000000000000(0000) GS:ffff8880a06ec000(0000) knlGS:0000000000000000 [ 185.673101][ T12] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 185.673319][ T12] CR2: 0000000000000000 CR3: 0000000004ed2001 CR4: 0000000000772ef0 [ 185.673582][ T12] PKRU: 55555554 [ 185.673721][ T12] Call Trace: [ 185.673881][ T12] [ 185.673978][ T12] __cancel_work+0x7c/0x260 [ 185.674177][ T12] ? enable_delayed_work+0x10/0x10 [ 185.674360][ T12] ? queue_delayed_work_on+0x6a/0xa0 [ 185.674539][ T12] __cancel_work_sync+0x18/0xc0 [ 185.674709][ T12] __dev_close_many+0x1ce/0x810 [ 185.674874][ T12] ? netdev_notify_peers+0x20/0x20 [ 185.675055][ T12] ? netif_close_many+0x201/0x650 [ 185.675232][ T12] netif_close_many+0x201/0x650 [ 185.675411][ T12] ? __mutex_handoff+0x2b0/0x2b0 [ 185.675610][ T12] ? __dev_close_many+0x810/0x810 [ 185.675884][ T12] ? netif_close_many_and_unlock+0x21/0x2a0 [ 185.676112][ T12] unregister_netdevice_many_notify+0x305/0x1b30 [ 185.676438][ T12] ? find_held_lock+0x2b/0x80 [ 185.676753][ T12] ? mutex_is_locked+0x1c/0x50 [ 185.677011][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 185.677195][ T12] ? rtnl_is_locked+0x15/0x20 [ 185.677365][ T12] ? unregister_netdevice_queue+0x6f/0x410 [ 185.677588][ T12] ? unregister_netdevice_many+0x20/0x20 [ 185.677876][ T12] ? unregister_netdevice_many+0x20/0x20 [ 185.678052][ T12] default_device_exit_batch+0x235/0x2d0 [ 185.678235][ T12] ? unregister_netdev+0x60/0x60 [ 185.678427][ T12] ops_undo_list+0x2bf/0x890 [ 185.678723][ T12] ? netns_get+0x110/0x110 [ 185.678895][ T12] ? cleanup_net+0x2d6/0x830 [ 185.679092][ T12] cleanup_net+0x3b2/0x830 [ 185.679382][ T12] ? net_passive_dec+0x190/0x190 [ 185.679567][ T12] ? rcu_is_watching+0x12/0xb0 [ 185.679749][ T12] process_one_work+0xe35/0x1650 [ 185.679911][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 185.680073][ T12] ? assign_work+0x168/0x240 [ 185.680348][ T12] worker_thread+0x591/0xcf0 [ 185.680536][ T12] ? rescuer_thread+0xd10/0xd10 [ 185.680726][ T12] kthread+0x37b/0x5f0 [ 185.680944][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 185.681101][ T12] ? ret_from_fork+0x1b/0x270 [ 185.681401][ T12] ? __lock_release+0x5d/0x170 [ 185.681595][ T12] ? rcu_is_watching+0x12/0xb0 [ 185.681775][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 185.681938][ T12] ret_from_fork+0x1db/0x270 [ 185.682236][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 185.682416][ T12] ret_from_fork_asm+0x11/0x20 [ 185.682614][ T12] [ 185.682788][ T12] 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 [ 185.683592][ T12] CR2: 0000000000000000 [ 185.683751][ T12] ---[ end trace 0000000000000000 ]--- [ 185.684127][ T12] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 185.684351][ 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 [ 185.685131][ T12] RSP: 0018:ffffc900000c7690 EFLAGS: 00010046 [ 185.685365][ T12] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff91a40aaa [ 185.685673][ T12] RDX: fffffbfff2b8fecd RSI: 0000000000000008 RDI: ffffffff95c7f660 [ 185.685938][ T12] RBP: ffffc900000c76f8 R08: 0000000000000001 R09: fffffbfff2b8fecc [ 185.686227][ T12] R10: ffffffff95c7f667 R11: ffffc900000c7180 R12: 0000000000000000 [ 185.686539][ T12] R13: 0000000000000286 R14: ffff888004da1000 R15: dffffc0000000000 [ 185.686839][ T12] FS: 0000000000000000(0000) GS:ffff8880a06ec000(0000) knlGS:0000000000000000 [ 185.687160][ T12] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 185.687382][ T12] CR2: 0000000000000000 CR3: 0000000004ed2001 CR4: 0000000000772ef0 [ 185.687695][ T12] PKRU: 55555554 [ 185.687832][ T12] Kernel panic - not syncing: Fatal exception [ 185.688173][ T12] Kernel Offset: 0x10400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 185.688620][ T12] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr