BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 48s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=16 refcnt=17 in-flight: 6721:nsim_fib_event_work pending: nsim_dev_hwstats_traffic_work, free_obj_work, nsim_fib_event_work, 2*ovs_dp_masks_rebalance, drm_fb_helper_damage_work, rht_deferred_worker, ovs_dp_masks_rebalance, delayed_vfree_work, free_ipc, psi_avgs_work, 4*destroy_super_work workqueue events_long: flags=0x0 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: defense_work_handler workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x6 nice=0 active=5 refcnt=6 in-flight: 12:cfg80211_wiphy_work cfg80211_wiphy_work ,6725:nsim_dev_trap_report_work ,343:cfg80211_wiphy_work cfg80211_wiphy_work pwq 8: cpus=0-1 flags=0x6 nice=0 active=7 refcnt=8 in-flight: 236:linkwatch_event ,175:toggle_allocation_gate ,40:cfg80211_wiphy_work cfg80211_wiphy_work ,6724:cfg80211_wiphy_work cfg80211_wiphy_work pending: nsim_dev_trap_report_work workqueue events_power_efficient: flags=0x82 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 45:wg_ratelimiter_gc_entries workqueue netns: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=4 in-flight: 284:cleanup_net workqueue mm_percpu_wq: flags=0x8 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: vmstat_update workqueue dm_bufio_cache: flags=0x8 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: work_fn workqueue mld: flags=0x40008 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=23 in-flight: 24:mld_ifc_work inactive: mld_dad_work, 7*mld_ifc_work, mld_dad_work, 5*mld_ifc_work, mld_dad_work, 3*mld_ifc_work, mld_dad_work, 2*mld_ifc_work workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=88 in-flight: 4346:addrconf_dad_work inactive: 84*addrconf_dad_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=20 in-flight: 6719:batadv_tt_purge inactive: batadv_tt_purge, batadv_nc_worker, batadv_dat_purge, batadv_bla_periodic_work, batadv_nc_worker, 2*batadv_mcast_mla_update, batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 5*batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, batadv_bla_periodic_work workqueue wg-crypt-wg0: flags=0x28 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg1: flags=0x28 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg2: flags=0x28 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg0: flags=0x28 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_tx_worker, wg_packet_encrypt_worker workqueue wg-kex-wg1: flags=0x24 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-crypt-wg1: flags=0x28 pwq 6: cpus=1 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=0x24 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 in-flight: 11:wg_packet_handshake_receive_worker wg_packet_handshake_receive_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-crypt-wg2: flags=0x28 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_decrypt_worker, wg_packet_encrypt_worker, wg_packet_tx_worker pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=0s workers=6 idle: 6242 6720 6544 9 1799 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=48s workers=5 idle: 6492 6549 26 pool 8: cpus=0-1 flags=0x6 nice=0 hung=0s workers=13 manager: 14 idle: 6722 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 6: task:kworker/1:4 state:R running task stack:0 pid:6721 tgid:6721 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:735 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 preempt_schedule_irq+0x80/0x188 kernel/sched/core.c:7090 arm64_preempt_schedule_irq+0x44/0x58 arch/arm64/kernel/entry-common.c:301 __el1_irq arch/arm64/kernel/entry-common.c:586 [inline] el1_interrupt+0x3c/0x54 arch/arm64/kernel/entry-common.c:598 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:603 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596 __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline] (P) arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline] (P) put_cpu_partial+0x154/0x1c0 mm/slub.c:3257 (P) __slab_free+0x1b0/0x280 mm/slub.c:4512 do_slab_free mm/slub.c:4594 [inline] ___cache_free+0x150/0x170 mm/slub.c:4700 qlink_free+0x48/0x94 mm/kasan/quarantine.c:163 qlist_free_all+0x44/0xb8 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x118/0x124 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x2c/0x88 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4147 [inline] slab_alloc_node mm/slub.c:4196 [inline] __kmalloc_cache_noprof+0x238/0x3fc mm/slub.c:4353 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] nsim_fib6_rt_create drivers/net/netdevsim/fib.c:547 [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 drivers/net/netdevsim/fib.c:889 [inline] nsim_fib_event_work+0xc98/0x25b8 drivers/net/netdevsim/fib.c:1493 process_one_work+0x7e8/0x156c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x990/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 pool 6: task:kworker/1:0 state:R running task stack:0 pid:24 tgid:24 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: mld mld_ifc_work Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:735 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 preempt_schedule_irq+0x80/0x188 kernel/sched/core.c:7090 arm64_preempt_schedule_irq+0x44/0x58 arch/arm64/kernel/entry-common.c:301 __el1_irq arch/arm64/kernel/entry-common.c:586 [inline] el1_interrupt+0x3c/0x54 arch/arm64/kernel/entry-common.c:598 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:603 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596 __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline] (P) arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline] (P) put_cpu_partial+0x154/0x1c0 mm/slub.c:3257 (P) __slab_free+0x1b0/0x280 mm/slub.c:4512 do_slab_free mm/slub.c:4594 [inline] ___cache_free+0x150/0x170 mm/slub.c:4700 qlink_free+0x48/0x94 mm/kasan/quarantine.c:163 qlist_free_all+0x44/0xb8 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x118/0x124 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x2c/0x88 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4147 [inline] slab_alloc_node mm/slub.c:4196 [inline] kmem_cache_alloc_node_noprof+0x240/0x3f4 mm/slub.c:4248 __alloc_skb+0x144/0x2ec net/core/skbuff.c:658 alloc_skb include/linux/skbuff.h:1340 [inline] mld_newpack+0x130/0xa28 net/ipv6/mcast.c:1788 add_grhead+0x6c/0x25c net/ipv6/mcast.c:1899 add_grec+0x1144/0x1324 net/ipv6/mcast.c:2037 mld_send_cr net/ipv6/mcast.c:2163 [inline] mld_ifc_work+0x628/0xce8 net/ipv6/mcast.c:2702 process_one_work+0x7e8/0x156c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847