BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 56s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=5 refcnt=6 pending: 4*nsim_dev_hwstats_traffic_work, psi_avgs_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=12 refcnt=13 in-flight: 24:request_firmware_work_func ,26:nsim_fib_event_work ,6537:nsim_fib_event_work nsim_fib_event_work ,6533:nsim_fib_event_work nsim_fib_event_work pending: ovs_dp_masks_rebalance, nsim_fib_event_work, drm_fb_helper_damage_work, nsim_dev_hwstats_traffic_work, 2*rht_deferred_worker workqueue events_long: flags=0x0 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: 3*defense_work_handler workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x6 nice=0 active=7 refcnt=8 in-flight: 13:cfg80211_wiphy_work cfg80211_wiphy_work pending: nsim_dev_trap_report_work, 3*macvlan_process_broadcast, flush_memcg_stats_dwork pwq 8: cpus=0-1 flags=0x6 nice=0 active=12 refcnt=13 in-flight: 216:cfg80211_wiphy_work cfg80211_wiphy_work ,4373:cfg80211_wiphy_work cfg80211_wiphy_work ,279:cfg80211_wiphy_work cfg80211_wiphy_work ,6556:nsim_dev_trap_report_work ,44:nsim_dev_trap_report_work pending: nsim_dev_trap_report_work, cfg80211_wiphy_work, nsim_dev_trap_report_work, toggle_allocation_gate workqueue events_power_efficient: flags=0x82 pwq 8: cpus=0-1 flags=0x6 nice=0 active=5 refcnt=6 in-flight: 12:wg_ratelimiter_gc_entries pending: gc_worker, neigh_managed_work, neigh_periodic_work, reg_check_chans_work pwq 8: cpus=0-1 flags=0x6 nice=0 active=4 refcnt=5 in-flight: 308:neigh_periodic_work pending: neigh_managed_work, fb_flashcursor, do_cache_clean workqueue kvfree_rcu_reclaim: flags=0xa pwq 8: cpus=0-1 flags=0x6 nice=0 active=4 refcnt=6 MAYDAY pending: 2*kfree_rcu_work, 2*kfree_rcu_monitor pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=3 in-flight: 6(RESCUER):kfree_rcu_work 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 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=30 MAYDAY pending: mld_dad_work inactive: 2*mld_dad_work, 3*mld_ifc_work, 13*mld_dad_work, mld_ifc_work, 8*mld_dad_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=66 pending: mld_ifc_work inactive: mld_dad_work, mld_ifc_work, mld_dad_work, 23*mld_ifc_work, mld_dad_work, 2*mld_ifc_work, mld_dad_work, 8*mld_ifc_work, mld_dad_work, 6*mld_ifc_work, mld_dad_work, mld_ifc_work, mld_dad_work, 7*mld_ifc_work, 2*mld_dad_work, 3*mld_ifc_work, mld_dad_work, 3*mld_ifc_work workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=330 in-flight: 45:addrconf_dad_work inactive: 326*addrconf_dad_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=40 in-flight: 4221(RESCUER):batadv_nc_worker inactive: 3*batadv_nc_worker, batadv_mcast_mla_update, 8*batadv_iv_send_outstanding_bat_ogm_packet, 4*batadv_mcast_mla_update, batadv_iv_send_outstanding_bat_ogm_packet, 5*batadv_purge_orig, 6*batadv_iv_send_outstanding_bat_ogm_packet, 5*batadv_tt_purge, batadv_dat_purge, batadv_nc_worker workqueue wg-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 6552:wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=4 MAYDAY pending: wg_packet_tx_worker 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-kex-wg0: flags=0x24 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 1800:wg_packet_handshake_receive_worker workqueue wg-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=3 in-flight: 10:wg_packet_encrypt_worker 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-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=2 refcnt=3 in-flight: 9:wg_packet_tx_worker wg_packet_tx_worker 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-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 6553:wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=2 refcnt=5 MAYDAY in-flight: 6520(RESCUER):wg_packet_decrypt_worker wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_decrypt_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=0x28 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 pending: 2*wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=3 MAYDAY pending: wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg2: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=4 MAYDAY pending: wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x24 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 6536:wg_packet_handshake_receive_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=4 MAYDAY pending: wg_packet_tx_worker 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=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=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=2 refcnt=5 MAYDAY pending: wg_packet_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg0: flags=0x24 pwq 6: cpus=1 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 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x28 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_tx_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-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x28 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg2: flags=0x24 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 6534: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-kex-wg2: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 in-flight: 1953:wg_packet_handshake_send_worker ,6555:wg_packet_handshake_send_worker workqueue wg-kex-wg0: flags=0x24 pwq 6: cpus=1 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 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 in-flight: 4067:wg_packet_handshake_send_worker 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-wg1: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=3 MAYDAY pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_tx_worker, wg_packet_encrypt_worker pool 2: cpus=0 node=0 flags=0x2 nice=0 hung=0s workers=6 manager: 6554 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=56s workers=9 idle: 6535 2299 6546 6539 6538 pool 8: cpus=0-1 flags=0x6 nice=0 hung=0s workers=15 manager: 6557 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 6: task:kworker/1:1 state:R running task stack:0 pid:26 tgid:26 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:734 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 preempt_schedule_common+0xe0/0x194 kernel/sched/core.c:6947 preempt_schedule+0x60/0x80 kernel/sched/core.c:6971 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x94/0x98 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:1108 [inline] debug_check_no_obj_freed+0x454/0x470 lib/debugobjects.c:1129 free_pages_prepare mm/page_alloc.c:1269 [inline] __free_frozen_pages+0x4cc/0xd14 mm/page_alloc.c:2725 free_frozen_pages+0x14/0x20 mm/page_alloc.c:2763 __free_slab+0x110/0x1e8 mm/slub.c:2687 free_slab+0x24/0x120 mm/slub.c:2710 discard_slab+0x50/0xb8 mm/slub.c:2716 __slab_free+0x1dc/0x280 mm/slub.c:4553 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:5 state:R running task stack:0 pid:6537 tgid:6537 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:734 (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_kmalloc+0x2c/0xb4 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:260 [inline] __kmalloc_cache_noprof+0x2a4/0x3fc mm/slub.c:4358 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] nsim_fib4_rt_create drivers/net/netdevsim/fib.c:280 [inline] nsim_fib4_rt_insert drivers/net/netdevsim/fib.c:426 [inline] nsim_fib4_event drivers/net/netdevsim/fib.c:464 [inline] nsim_fib_event drivers/net/netdevsim/fib.c:884 [inline] nsim_fib_event_work+0x5f0/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:3 state:R running task stack:0 pid:6533 tgid:6533 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:734 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 preempt_schedule_common+0xe0/0x194 kernel/sched/core.c:6947 preempt_schedule+0x60/0x80 kernel/sched/core.c:6971 rcu_read_unlock_sched include/linux/rcupdate.h:955 [inline] pfn_valid+0x1f8/0x200 include/linux/mmzone.h:-1 lowmem_page_address include/linux/mm.h:2345 [inline] __kasan_unpoison_pages+0x40/0x90 mm/kasan/common.c:130 kasan_unpoison_pages include/linux/kasan.h:125 [inline] post_alloc_hook+0xe8/0x2d8 mm/page_alloc.c:1702 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x2478/0x2600 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x17c/0x318 mm/page_alloc.c:4970 alloc_pages_mpol+0x1e4/0x460 mm/mempolicy.c:2301 alloc_frozen_pages_noprof+0xe0/0x210 mm/mempolicy.c:2372 alloc_slab_page mm/slub.c:2450 [inline] allocate_slab+0xb4/0x408 mm/slub.c:2618 new_slab mm/slub.c:2672 [inline] ___slab_alloc+0x6e8/0xeb4 mm/slub.c:3858 __slab_alloc+0x74/0xd0 mm/slub.c:3948 __slab_alloc_node mm/slub.c:4023 [inline] slab_alloc_node mm/slub.c:4184 [inline] __kmalloc_cache_noprof+0x2f4/0x3fc mm/slub.c:4353 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] nsim_fib4_rt_create drivers/net/netdevsim/fib.c:280 [inline] nsim_fib4_rt_insert drivers/net/netdevsim/fib.c:426 [inline] nsim_fib4_event drivers/net/netdevsim/fib.c:464 [inline] nsim_fib_event drivers/net/netdevsim/fib.c:884 [inline] nsim_fib_event_work+0x5f0/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