BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 34s! Showing busy workqueues and worker pools: workqueue events: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=24 refcnt=25 in-flight: 857:nsim_fib_event_work for 39s ,4796:nsim_fib_event_work for 38s ,9:nsim_fib_event_work for 37s pending: 3*nsim_dev_hwstats_traffic_work, free_obj_work, 3*rht_deferred_worker, ovs_dp_masks_rebalance, vmstat_shepherd, l2cap_info_timeout, ovs_dp_masks_rebalance, 3*l2cap_info_timeout, 2*ovs_dp_masks_rebalance, psi_avgs_work, nsim_fib_event_work, pcpu_balance_workfn, 2*nsim_fib_event_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 in-flight: 858:drm_fb_helper_damage_work for 3s pending: psi_avgs_work workqueue events_long: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=4 refcnt=5 pending: 4*defense_work_handler pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=6 refcnt=7 pending: 6*defense_work_handler workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x6 nice=0 active=8 refcnt=9 in-flight: 14:cfg80211_wiphy_work for 32s cfg80211_wiphy_work ,1315:fsnotify_mark_destroy_workfn for 37s ,1445:fsnotify_connector_destroy_workfn for 38s ,4933:cfg80211_wiphy_work for 35s cfg80211_wiphy_work ,40:cfg80211_wiphy_work for 38s cfg80211_wiphy_work pwq 8: cpus=0-1 flags=0x6 nice=0 active=9 refcnt=10 in-flight: 366:cfg80211_wiphy_work for 7s pending: 2*macvlan_process_broadcast, nsim_dev_trap_report_work, toggle_allocation_gate, nsim_dev_trap_report_work, flush_memcg_stats_dwork, nsim_dev_trap_report_work, cfg80211_wiphy_work workqueue events_power_efficient: flags=0x182 pwq 8: cpus=0-1 flags=0x6 nice=0 active=3 refcnt=4 pending: wg_ratelimiter_gc_entries, do_cache_clean, fb_flashcursor workqueue rcu_gp: flags=0x108 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: srcu_invoke_callbacks workqueue netns: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=4 in-flight: 39:cleanup_net for 40s workqueue mm_percpu_wq: flags=0x108 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: vmstat_update workqueue writeback: flags=0x4a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=4 MAYDAY in-flight: 33(RESCUER):wb_workfn for 34s workqueue mld: flags=0x40108 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=97 pending: mld_dad_work inactive: 3*mld_ifc_work, mld_dad_work, 4*mld_ifc_work, mld_dad_work, 5*mld_ifc_work, mld_dad_work, mld_ifc_work, mld_dad_work, 3*mld_ifc_work, 2*mld_dad_work, 5*mld_ifc_work, 2*mld_dad_work, 5*mld_ifc_work, mld_dad_work, 7*mld_ifc_work, 2*mld_dad_work, mld_ifc_work, 2*mld_dad_work, mld_ifc_work, 2*mld_dad_work, 3*mld_ifc_work, 2*mld_dad_work, 2*mld_ifc_work, mld_dad_work, 6*mld_ifc_work, 3*mld_dad_work, 3*mld_ifc_work, 2*mld_dad_work, 4*mld_ifc_work, 3*mld_dad_work, 2*mld_ifc_work, mld_dad_work, mld_ifc_work, 12*mld_dad_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=48 in-flight: 4734:mld_ifc_work for 1s inactive: mld_ifc_work, mld_dad_work, 2*mld_ifc_work, 2*mld_dad_work, 2*mld_ifc_work, 2*mld_dad_work, 4*mld_ifc_work, 2*mld_dad_work, mld_ifc_work, mld_dad_work, mld_ifc_work, 2*mld_dad_work, 2*mld_ifc_work, 13*mld_dad_work, mld_ifc_work, 9*mld_dad_work workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=152 MAYDAY in-flight: 2783(RESCUER):addrconf_dad_work for 0s pending: mayday_cursor_func inactive: 146*addrconf_dad_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=50 MAYDAY in-flight: 2821(RESCUER):batadv_tt_purge for 14s pending: mayday_cursor_func inactive: 2*batadv_iv_send_outstanding_bat_ogm_packet, batadv_tt_purge, 4*batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_tt_purge, batadv_iv_send_outstanding_bat_ogm_packet, batadv_tt_purge, batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_purge_orig, 4*batadv_iv_send_outstanding_bat_ogm_packet, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, 6*batadv_mcast_mla_update, 3*batadv_iv_send_outstanding_bat_ogm_packet, 4*batadv_purge_orig, batadv_tt_purge workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 in-flight: 24:wg_packet_encrypt_worker for 2s pending: wg_packet_decrypt_worker, wg_packet_encrypt_worker workqueue wg-kex-wg1: flags=0x124 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 1171:wg_packet_handshake_send_worker for 4s workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_worker workqueue wg-kex-wg2: flags=0x124 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-kex-wg2: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg0: flags=0x124 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 1335:wg_packet_handshake_send_worker for 4s workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_decrypt_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 12:wg_packet_handshake_send_worker for 11s workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 in-flight: 4428:wg_packet_encrypt_worker for 2s workqueue wg-kex-wg2: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg0: flags=0x124 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_decrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x124 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg2: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=34s workers=8 idle: 4930 10 4896 4909 4823 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=1s workers=5 idle: 26 pool 8: cpus=0-1 flags=0x6 nice=0 hung=0s workers=11 manager: 4934 Showing backtraces of busy workers in stalled worker pools: pool 2: task:kworker/0:2 state:R running task stack:0 pid:857 tgid:857 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5387 [inline] __schedule+0x1b74/0x2d24 kernel/sched/core.c:7188 __schedule_loop kernel/sched/core.c:7267 [inline] schedule+0xa4/0x140 kernel/sched/core.c:7282 schedule_timeout+0x13c/0x294 kernel/time/sleep_timeout.c:99 schedule_timeout_uninterruptible+0x7c/0xbc kernel/time/sleep_timeout.c:158 msleep+0x3c/0x68 kernel/time/sleep_timeout.c:318 nsim_fib6_rt_add drivers/net/netdevsim/fib.c:693 [inline] nsim_fib6_rt_insert drivers/net/netdevsim/fib.c:759 [inline] nsim_fib6_event drivers/net/netdevsim/fib.c:856 [inline] nsim_fib_event+0x5270/0x5c5c drivers/net/netdevsim/fib.c:889 nsim_fib_event_work+0x1cc/0x30c drivers/net/netdevsim/fib.c:1493 process_one_work+0x78c/0x173c kernel/workqueue.c:3302 process_scheduled_works+0xdc/0x13c kernel/workqueue.c:3385 worker_thread+0x770/0xbd0 kernel/workqueue.c:3466 kthread+0x2f0/0x3c0 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 pool 2: task:kworker/0:3 state:R running task stack:0 pid:4796 tgid:4796 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5387 [inline] __schedule+0x1b74/0x2d24 kernel/sched/core.c:7188 __schedule_loop kernel/sched/core.c:7267 [inline] schedule+0xa4/0x140 kernel/sched/core.c:7282 schedule_timeout+0x13c/0x294 kernel/time/sleep_timeout.c:99 schedule_timeout_uninterruptible+0x7c/0xbc kernel/time/sleep_timeout.c:158 msleep+0x3c/0x68 kernel/time/sleep_timeout.c:318 nsim_fib4_rt_add drivers/net/netdevsim/fib.c:369 [inline] nsim_fib4_rt_insert drivers/net/netdevsim/fib.c:432 [inline] nsim_fib4_event drivers/net/netdevsim/fib.c:464 [inline] nsim_fib_event+0x5070/0x5c5c drivers/net/netdevsim/fib.c:884 nsim_fib_event_work+0x1cc/0x30c drivers/net/netdevsim/fib.c:1493 process_one_work+0x78c/0x173c kernel/workqueue.c:3302 process_scheduled_works+0xdc/0x13c kernel/workqueue.c:3385 worker_thread+0x770/0xbd0 kernel/workqueue.c:3466 kthread+0x2f0/0x3c0 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 pool 2: task:kworker/0:0 state:R running task stack:0 pid:9 tgid:9 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5387 [inline] __schedule+0x1b74/0x2d24 kernel/sched/core.c:7188 preempt_schedule_common+0xd4/0x190 kernel/sched/core.c:7369 preempt_schedule+0x60/0x78 kernel/sched/core.c:7393 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:179 [inline] _raw_spin_unlock_irqrestore+0x94/0x98 kernel/locking/spinlock.c:198 __debug_check_no_obj_freed lib/debugobjects.c:1125 [inline] debug_check_no_obj_freed+0x2e4/0x3c0 lib/debugobjects.c:1146 __free_pages_prepare mm/page_alloc.c:1409 [inline] __free_frozen_pages+0x488/0xb90 mm/page_alloc.c:2943 free_frozen_pages+0x14/0x20 mm/page_alloc.c:2981 __free_slab+0x11c/0x1b4 mm/slub.c:3541 free_slab+0x2c/0x154 mm/slub.c:3575 discard_slab+0x48/0x90 mm/slub.c:3581 __slab_free+0x1a8/0x1d8 mm/slub.c:5608 ___cache_free+0x80/0x94 mm/slub.c:6318 qlink_free+0x48/0x90 mm/kasan/quarantine.c:163 qlist_free_all+0x88/0xb0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x118/0x124 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x2c/0xb4 mm/kasan/common.c:406 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x284/0x56c mm/slub.c:5415 kmalloc_noprof include/linux/slab.h:950 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] nsim_fib6_rt_nh_add+0x64/0x214 drivers/net/netdevsim/fib.c:500 nsim_fib6_rt_create drivers/net/netdevsim/fib.c:562 [inline] nsim_fib6_rt_insert drivers/net/netdevsim/fib.c:752 [inline] nsim_fib6_event drivers/net/netdevsim/fib.c:856 [inline] nsim_fib_event+0xae8/0x5c5c drivers/net/netdevsim/fib.c:889 nsim_fib_event_work+0x1cc/0x30c drivers/net/netdevsim/fib.c:1493 process_one_work+0x78c/0x173c kernel/workqueue.c:3302 process_scheduled_works+0xdc/0x13c kernel/workqueue.c:3385 worker_thread+0x770/0xbd0 kernel/workqueue.c:3466 kthread+0x2f0/0x3c0 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842