BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 42s! Showing busy workqueues and worker pools: workqueue events: flags=0x100 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=7 refcnt=8 in-flight: 4831:switchdev_deferred_process_work for 49s switchdev_deferred_process_work ,1034:netdev_work_proc for 49s pending: nsim_dev_hwstats_traffic_work, 3*ovs_dp_masks_rebalance pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=18 refcnt=19 in-flight: 24:nsim_fib_event_work for 47s ,26:nsim_fib_event_work for 46s pending: rht_deferred_worker, 3*nsim_dev_hwstats_traffic_work, psi_avgs_work, 4*ovs_dp_masks_rebalance, psi_avgs_work, ovs_dp_masks_rebalance, rht_deferred_worker, drm_fb_helper_damage_work, free_obj_work, 2*ovs_dp_masks_rebalance workqueue events_long: flags=0x100 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=9 refcnt=10 pending: 9*defense_work_handler 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=8 refcnt=9 in-flight: 5004:cfg80211_wiphy_work for 44s cfg80211_wiphy_work ,2642:linkwatch_event for 48s ,63:nsim_dev_trap_report_work for 11s ,12:nsim_dev_trap_report_work for 22s ,5007:nsim_dev_trap_report_work for 0s pending: nsim_dev_trap_report_work, toggle_allocation_gate pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 in-flight: 3864:cfg80211_wiphy_work for 30s cfg80211_wiphy_work workqueue events_power_efficient: flags=0x82 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 3662:neigh_periodic_work for 10s workqueue netns: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=4 in-flight: 15:cleanup_net for 50s workqueue mm_percpu_wq: flags=0x108 pwq 6: cpus=1 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 40s workqueue mld: flags=0x40108 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=98 in-flight: 4963:mld_dad_work for 42s inactive: mld_ifc_work, 2*mld_dad_work, 4*mld_ifc_work, 3*mld_dad_work, 5*mld_ifc_work, mld_dad_work, 4*mld_ifc_work, mld_dad_work, 7*mld_ifc_work, mld_dad_work, 3*mld_ifc_work, mld_dad_work, mld_ifc_work, 5*mld_dad_work, 7*mld_ifc_work, mld_dad_work, mld_ifc_work, 2*mld_dad_work, 2*mld_ifc_work, 2*mld_dad_work, mld_ifc_work, mld_dad_work, 2*mld_ifc_work, 3*mld_dad_work, 2*mld_ifc_work, mld_dad_work, 3*mld_ifc_work, 2*mld_dad_work, 6*mld_ifc_work, mld_dad_work, 7*mld_ifc_work, mld_dad_work, mld_ifc_work, mld_dad_work, 2*mld_ifc_work, 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=274 in-flight: 39:addrconf_dad_work for 49s inactive: 270*addrconf_dad_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=49 in-flight: 2851(RESCUER):batadv_tt_purge for 0s inactive: 3*batadv_tt_purge, 2*batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 2*batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_purge_orig, 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, batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 6*batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_purge_orig, 5*batadv_iv_send_outstanding_bat_ogm_packet, batadv_tt_purge workqueue wg-crypt-wg0: flags=0x128 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-crypt-wg1: flags=0x128 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=0x128 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 in-flight: 3889:wg_packet_handshake_send_worker for 3s workqueue wg-crypt-wg0: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_tx_worker workqueue wg-crypt-wg1: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg0: flags=0x124 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 5002:wg_packet_handshake_receive_worker for 1s pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-crypt-wg0: flags=0x128 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=0x124 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 9:wg_packet_handshake_receive_worker for 4s 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=0x128 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 workqueue wg-kex-wg2: flags=0x124 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 pending: 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=0x128 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 workqueue wg-kex-wg0: flags=0x124 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 5005:wg_packet_handshake_receive_worker for 3s 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=2 refcnt=3 in-flight: 1209:wg_packet_handshake_send_worker for 9s ,40:wg_packet_handshake_send_worker for 3s workqueue wg-crypt-wg0: flags=0x128 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=0x124 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 5006:wg_packet_handshake_receive_worker for 12s 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=0x128 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=0x124 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=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_decrypt_worker, wg_packet_tx_worker, wg_packet_encrypt_worker pool 2: cpus=0 node=0 flags=0x2 nice=0 hung=0s workers=7 manager: 11 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=42s workers=8 idle: 867 4838 4477 4955 4956 pool 8: cpus=0-1 flags=0x6 nice=0 hung=0s workers=14 manager: 5008 idle: 3824 Showing backtraces of busy workers in stalled worker pools: pool 6: task:kworker/1:0 state:R running task stack:0 pid:24 tgid:24 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5510 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7234 __schedule_loop kernel/sched/core.c:7311 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7326 schedule_timeout+0x13c/0x28c kernel/time/sleep_timeout.c:99 schedule_timeout_uninterruptible+0x78/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+0x5564/0x60c4 drivers/net/netdevsim/fib.c:884 nsim_fib_event_work+0x1d8/0x320 drivers/net/netdevsim/fib.c:1493 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 pool 6: task:kworker/1:7 state:R running task stack:0 pid:4963 tgid:4963 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: mld mld_dad_work Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5510 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7234 preempt_schedule_common+0xd4/0x190 kernel/sched/core.c:7413 preempt_schedule+0x60/0x78 kernel/sched/core.c:7437 __local_bh_enable_ip+0x20c/0x35c kernel/softirq.c:457 __raw_read_unlock_bh include/linux/rwlock_api_smp.h:283 [inline] _raw_read_unlock_bh+0x3c/0x4c kernel/locking/spinlock.c:288 ipv6_get_lladdr+0x284/0x3c0 net/ipv6/addrconf.c:1951 mld_newpack+0x368/0x7b0 net/ipv6/mcast.c:1803 add_grhead+0x6c/0x260 net/ipv6/mcast.c:1900 add_grec+0xf9c/0x1214 net/ipv6/mcast.c:2039 mld_send_initial_cr+0x168/0x2fc net/ipv6/mcast.c:2284 mld_dad_work+0x40/0x1d8 net/ipv6/mcast.c:2310 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 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+0x2b0/0x6e0 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5510 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7234 preempt_schedule_common+0xd4/0x190 kernel/sched/core.c:7413 preempt_schedule+0x60/0x78 kernel/sched/core.c:7437 __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:1180 [inline] debug_check_no_obj_freed+0x2c8/0x3a4 lib/debugobjects.c:1201 __free_pages_prepare mm/page_alloc.c:1413 [inline] __free_frozen_pages+0x4b8/0xbb8 mm/page_alloc.c:2950 free_frozen_pages+0x14/0x20 mm/page_alloc.c:2988 __free_slab+0x11c/0x1b4 mm/slub.c:3469 free_slab+0x2c/0x154 mm/slub.c:3503 discard_slab+0x48/0x90 mm/slub.c:3509 __slab_free+0x1a0/0x1d0 mm/slub.c:5767 ___cache_free+0x80/0x94 mm/slub.c:6477 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0xb4/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x118/0x124 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x2c/0x88 mm/kasan/common.c:350 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4612 [inline] slab_alloc_node mm/slub.c:4945 [inline] __kmalloc_cache_noprof+0x268/0x5ec mm/slub.c:5511 _kmalloc_noprof include/linux/slab.h:969 [inline] _kzalloc_noprof include/linux/slab.h:1290 [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+0xa04/0x60c4 drivers/net/netdevsim/fib.c:889 nsim_fib_event_work+0x1d8/0x320 drivers/net/netdevsim/fib.c:1493 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842