syzbot


BUG: workqueue lockup

Status: upstream: reported on 2025/06/17 05:08
Reported-by: syzbot+1fbf3f633f815f423a8c@syzkaller.appspotmail.com
First crash: 1d02h, last: 1d02h
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: workqueue lockup (4) block C 47 2039d 2445d 15/28 fixed on 2019/12/13 00:31
linux-5.15 BUG: workqueue lockup missing-backport origin:upstream C done 589 1d23h 829d 0/3 upstream: reported C repro on 2023/03/11 08:51
android-5-15 BUG: workqueue lockup origin:upstream missing-backport C error 3364 1d00h 726d 0/2 upstream: reported C repro on 2023/06/22 22:19
upstream BUG: workqueue lockup (2) C 406 2595d 2753d 5/28 fixed on 2018/05/13 10:02
linux-4.14 BUG: workqueue lockup C 282 840d 2241d 0/1 upstream: reported C repro on 2019/04/29 11:26
upstream BUG: workqueue lockup C 172 2776d 2786d 3/28 fixed on 2017/11/11 01:37
upstream BUG: workqueue lockup (5) wireguard arm C done 12640 1h01m 1981d 0/28 upstream: reported C repro on 2020/01/14 22:04
android-5-10 BUG: workqueue lockup (2) C error 8494 35m 835d 0/2 upstream: reported C repro on 2023/03/05 21:10
upstream BUG: workqueue lockup (3) C 1215 2539d 2592d 8/28 fixed on 2018/07/09 18:05
android-6-1 BUG: workqueue lockup origin:upstream missing-backport C error 3525 4h49m 695d 0/2 upstream: reported C repro on 2023/07/23 17:25
android-414 BUG: workqueue lockup C 114 2104d 2260d 0/1 public: reported C repro on 2019/04/11 00:00
linux-4.19 BUG: workqueue lockup C error 41 834d 2248d 0/1 upstream: reported C repro on 2019/04/22 20:37
android-5-10 BUG: workqueue lockup C error 25 1234d 1332d 0/2 closed as invalid on 2022/02/22 17:18
android-49 BUG: workqueue lockup C 69 2028d 2259d 0/3 public: reported C repro on 2019/04/11 08:44
linux-6.1 BUG: workqueue lockup origin:upstream missing-backport C unreliable 302 19h33m 833d 0/3 upstream: reported C repro on 2023/03/07 17:51

Sample crash report:
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 179s!
BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 179s!
BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=-20 stuck for 175s!
Showing busy workqueues and worker pools:
workqueue events: flags=0x0
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=13/256 refcnt=14
    pending: 2*nsim_dev_hwstats_traffic_work, kvmclock_update_fn, 4*psi_avgs_work, 3*ovs_dp_masks_rebalance, kfree_rcu_monitor, l2cap_chan_timeout, rht_deferred_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=14/256 refcnt=15
    pending: 7*nsim_dev_hwstats_traffic_work, psi_avgs_work, kfree_rcu_monitor, vmstat_shepherd, 2*ovs_dp_masks_rebalance, delayed_vfree_work, switchdev_deferred_process_work
workqueue events_long: flags=0x0
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=2/256 refcnt=3
    pending: defense_work_handler, br_fdb_cleanup
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=6/256 refcnt=7
    pending: 4*defense_work_handler, br_fdb_cleanup, br_multicast_gc_work
workqueue events_unbound: flags=0x2
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=10/512 refcnt=11
    pending: 3*cfg80211_wiphy_work, toggle_allocation_gate, crng_reseed, macvlan_process_broadcast, idle_cull_fn, 3*macvlan_process_broadcast
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=21/512 refcnt=22
    pending: 9*nsim_dev_trap_report_work, 5*cfg80211_wiphy_work, flush_memcg_stats_dwork, 2*idle_cull_fn, 3*macvlan_process_broadcast, idle_cull_fn
workqueue events_freezable: flags=0x4
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: update_balloon_stats_func
workqueue events_power_efficient: flags=0x80
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=8/256 refcnt=9
    pending: wg_ratelimiter_gc_entries, 2*neigh_managed_work, 2*neigh_periodic_work, device_uncache_fw_images_work, do_cache_clean, gc_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: check_lifetime
workqueue rcu_gp: flags=0x8
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wait_rcu_exp_gp
workqueue mm_percpu_wq: flags=0x8
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: vmstat_update
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: vmstat_update
workqueue writeback: flags=0x4a
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2
    pending: wb_workfn
workqueue kblockd: flags=0x18
  pwq 3: cpus=1 node=0 flags=0x0 nice=-20 active=1/256 refcnt=2
    pending: blk_mq_requeue_work
workqueue dm_bufio_cache: flags=0x8
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: work_fn
workqueue ipv6_addrconf: flags=0x40008
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/1 refcnt=4
    pending: addrconf_verify_work
    inactive: 2*addrconf_verify_work
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/1 refcnt=3
    pending: addrconf_verify_work
    inactive: addrconf_verify_work
workqueue bat_events: flags=0xe000a
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=39
    pending: batadv_nc_worker
    inactive: 3*batadv_nc_worker, 4*batadv_mcast_mla_update, 2*batadv_purge_orig, batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_purge_orig, 11*batadv_iv_send_outstanding_bat_ogm_packet, 4*batadv_tt_purge, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, 2*batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge
workqueue wg-crypt-wg0: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-crypt-wg1: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-crypt-wg2: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-kex-wg0: flags=0x6
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2
    pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg0: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-kex-wg1: flags=0x6
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2
    pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg1: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-kex-wg2: flags=0x6
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2
    pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg2: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-crypt-wg0: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-crypt-wg1: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-crypt-wg2: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue hci4: flags=0xa0012
  pwq 5: cpus=0-1 node=0 flags=0x4 nice=-20 active=1/1 refcnt=4
    in-flight: 338:hci_cmd_sync_work
workqueue wg-kex-wg0: flags=0x6
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2
    pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg0: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-kex-wg1: flags=0x6
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2
    pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg1: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
workqueue wg-kex-wg2: flags=0x6
  pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2
    pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg2: flags=0x28
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: wg_packet_encrypt_worker
pool 5: cpus=0-1 node=0 flags=0x4 nice=-20 hung=0s workers=4 idle: 22863 355 27301
Showing backtraces of running workers in stalled CPU-bound worker pools:

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/17 05:08 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: workqueue lockup
* Struck through repros no longer work on HEAD.