BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 43s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=8 refcnt=9 pending: vmstat_shepherd, 3*ovs_dp_masks_rebalance, 4*nsim_dev_hwstats_traffic_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=14 refcnt=15 in-flight: 24:request_firmware_work_func ,6068:nsim_fib_event_work nsim_fib_event_work ,6526:nsim_fib_event_work nsim_fib_event_work ,6529:nsim_fib_event_work nsim_fib_event_work ,6527:nsim_fib_event_work nsim_fib_event_work pending: nsim_dev_hwstats_traffic_work, 2*ovs_dp_masks_rebalance, psi_avgs_work, ovs_dp_masks_rebalance workqueue events_long: flags=0x0 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=3 refcnt=4 pending: 3*defense_work_handler 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=8 refcnt=9 in-flight: 484:nsim_dev_trap_report_work pending: flush_memcg_stats_dwork, toggle_allocation_gate, nsim_dev_trap_report_work, crng_reseed, 3*nsim_dev_trap_report_work pwq 8: cpus=0-1 flags=0x6 nice=0 active=13 refcnt=14 in-flight: 12:cfg80211_wiphy_work ,14:cfg80211_wiphy_work cfg80211_wiphy_work ,219:linkwatch_event ,45:cfg80211_wiphy_work cfg80211_wiphy_work ,2199:cfg80211_wiphy_work cfg80211_wiphy_work ,2108:cfg80211_wiphy_work ,40:cfg80211_wiphy_work cfg80211_wiphy_work pending: 2*cfg80211_wiphy_work workqueue events_power_efficient: flags=0x82 pwq 8: cpus=0-1 flags=0x6 nice=0 active=5 refcnt=6 in-flight: 2157:wg_ratelimiter_gc_entries pending: 2*neigh_managed_work, neigh_periodic_work, fb_flashcursor pwq 8: cpus=0-1 flags=0x6 nice=0 active=3 refcnt=4 pending: neigh_periodic_work, do_cache_clean, gc_worker workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 1800:vmstat_update 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=2 refcnt=5 MAYDAY in-flight: 34(RESCUER):wb_workfn pending: wb_update_bandwidth_workfn 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=82 pending: mld_ifc_work inactive: 7*mld_ifc_work, mld_dad_work, 2*mld_ifc_work, mld_dad_work, mld_ifc_work, mld_dad_work, 8*mld_ifc_work, mld_dad_work, 4*mld_ifc_work, 2*mld_dad_work, 9*mld_ifc_work, mld_dad_work, 4*mld_ifc_work, mld_dad_work, 2*mld_ifc_work, 2*mld_dad_work, 9*mld_ifc_work, mld_dad_work, 4*mld_ifc_work, 2*mld_dad_work, 8*mld_ifc_work, 2*mld_dad_work, 2*mld_ifc_work, mld_dad_work, 4*mld_ifc_work workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=400 MAYDAY in-flight: 4139(RESCUER):addrconf_dad_work inactive: 394*addrconf_dad_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=47 in-flight: 4220(RESCUER):batadv_dat_purge inactive: batadv_dat_purge, 2*batadv_bla_periodic_work, batadv_dat_purge, batadv_tt_purge, batadv_bla_periodic_work, batadv_tt_purge, batadv_dat_purge, batadv_bla_periodic_work, batadv_nc_worker, batadv_dat_purge, batadv_bla_periodic_work, 3*batadv_purge_orig, 4*batadv_mcast_mla_update, batadv_purge_orig, 7*batadv_iv_send_outstanding_bat_ogm_packet, batadv_tt_purge, 5*batadv_iv_send_outstanding_bat_ogm_packet, batadv_nc_worker, 2*batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 2*batadv_nc_worker, batadv_mcast_mla_update, batadv_tt_purge, batadv_nc_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=2 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 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=2 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_decrypt_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=1 refcnt=2 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 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=1 refcnt=2 pending: 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-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=2 pending: 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_tx_worker, wg_packet_decrypt_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=2 pending: wg_packet_tx_worker 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-wg0: 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-wg2: flags=0x28 pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2 pending: 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-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=2 pending: 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_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=1 refcnt=2 pending: wg_packet_encrypt_worker 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=0x2 nice=0 hung=10s workers=5 manager: 6528 idle: 6550 11 9 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=44s workers=9 idle: 6531 6539 6530 26 pool 8: cpus=0-1 flags=0x6 nice=0 hung=2s workers=10 manager: 6549 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 6: task:kworker/1:0 state:R running task stack:0 pid:24 tgid:24 ppid:2 task_flags:0x4288060 flags:0x00000010 Workqueue: events request_firmware_work_func 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+0x8/0xc arch/arm64/include/asm/irqflags.h:195 (P) lock_is_held include/linux/lockdep.h:249 [inline] rcu_read_lock_held+0x34/0x50 kernel/rcu/update.c:351 sock_def_readable+0x1a0/0x5b4 net/core/sock.c:3531 __netlink_sendskb net/netlink/af_netlink.c:1259 [inline] netlink_broadcast_deliver net/netlink/af_netlink.c:1390 [inline] do_one_broadcast net/netlink/af_netlink.c:1477 [inline] netlink_broadcast_filtered+0xb48/0x10c4 net/netlink/af_netlink.c:1522 netlink_broadcast+0x50/0x68 net/netlink/af_netlink.c:1546 uevent_net_broadcast_untagged lib/kobject_uevent.c:331 [inline] kobject_uevent_net_broadcast+0x33c/0x548 lib/kobject_uevent.c:410 kobject_uevent_env+0x528/0x884 lib/kobject_uevent.c:608 kobject_uevent+0x2c/0x3c lib/kobject_uevent.c:656 device_del+0x684/0x808 drivers/base/core.c:3899 fw_load_sysfs_fallback drivers/base/firmware_loader/fallback.c:124 [inline] fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:162 [inline] firmware_fallback_sysfs+0x32c/0x8b4 drivers/base/firmware_loader/fallback.c:238 _request_firmware+0xfd8/0x12d8 drivers/base/firmware_loader/main.c:941 request_firmware_work_func+0xa8/0x19c drivers/base/firmware_loader/main.c:1194 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 pool 6: task:kworker/1:2 state:R running task stack:0 pid:6068 tgid:6068 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_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_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:6526 tgid:6526 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) 0x80400005 pool 6: task:kworker/1:5 state:R running task stack:0 pid:6529 tgid:6529 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 preempt_schedule+0x0/0x80 (P) spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __slab_free+0x1d0/0x280 mm/slub.c:4551 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:4 state:R running task stack:0 pid:6527 tgid:6527 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_poison_pages+0x40/0x90 mm/kasan/common.c:141 kasan_poison_pages include/linux/kasan.h:117 [inline] free_pages_prepare mm/page_alloc.c:1284 [inline] __free_frozen_pages+0x4ec/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_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