BUG: workqueue lockup in update_super_work

Status: upstream: reported C repro on 2026/11/24 11:36
Subsystems: ext4
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+97fde463a8ffb9e839d2@syzkaller.appspotmail.com
First crash: 2d20h, last: 1h17m
✨ AI cause bisection: inconclusive (AI job)
✨ AI-generated root cause summary:

The workqueue watchdog detected a 35-second lockup on CPU 0's per-CPU worker pool (pool 2), where all four busy workers (update_super_work, smc_ib_port_event_work, srcu_invoke_callbacks, and wg_packet_tx_worker) are in TASK_RUNNING (state:R) and switched out at __switch_to, unable to be scheduled onto CPU 0 while CPU 1 (pool 6) continues running normally. Because srcu_invoke_callbacks and smc_ib_port_event_work (which blocked on rtnl_lock) cannot resume on CPU 0, the stall cascades to fsnotify_mark_destroy_workfn (synchronize_srcu), cfg80211_wiphy_work, reg_todo, and batadv_tt_purge. The exact code currently monopolizing CPU 0 cannot be conclusively determined from this report because show_cpu_pool_busy_workers() checks task_is_running() rather than whether a worker is actively executing on the CPU, and therefore skipped trigger_single_cpu_backtrace(0).

▶ ▼ ✨ Full AI root cause analysis
Based on kernel commit a041bdbe1f3a:

Verified Crash Mechanism

The workqueue watchdog (wq_watchdog_timer_fn() in kernel/workqueue.c) reported a 35-second stall on pool 2 (cpus=0 node=0 flags=0x0 nice=0), indicating that pool 2 had pending items on pool->worklist while neither pool->last_progress_ts nor per_cpu(wq_watchdog_touched_cpu, 0) advanced for 35 seconds. Meanwhile, CPU 1's per-CPU pool (pool 6, cpus=1) remained healthy (hung=0s).

Inspecting the four busy workers in pool 2 shows that all four are pinned to CPU 0 (cpus=0), are in TASK_RUNNING (state:R) state, and are switched out at __switch_to():

  1. kworker/0:3 (pid:1166, update_super_work -> ext4_commit_super() -> wait_on_buffer() -> io_schedule()): slept in TASK_UNINTERRUPTIBLE (calling wq_worker_sleeping()), was subsequently woken up into TASK_RUNNING, and has been waiting on CPU 0's runqueue without resuming past schedule()/wq_worker_running().
  2. kworker/0:2 (pid:1102, smc_ib_port_event_work -> ib_query_port() -> rxe_query_port() -> ib_get_eth_speed() -> rtnl_lock()): similarly slept in __mutex_lock_common(), was woken into TASK_RUNNING (potentially receiving rtnl_lock ownership via __mutex_handoff() in __mutex_unlock_slowpath()), and is waiting on CPU 0's runqueue.
  3. kworker/0:6 (pid:4854, wg_packet_tx_worker -> wg_packet_create_data_done() -> wg_timers_any_authenticated_packet_traversal() -> mod_peer_timer() -> rcu_read_unlock_bh() -> local_bh_enable()): was preempted via __local_bh_enable_ip() -> preempt_check_resched() -> preempt_schedule() -> __schedule().
  4. kworker/0:1 (pid:10, srcu_invoke_callbacks() -> local_bh_enable()): was likewise preempted at __local_bh_enable_ip() -> preempt_check_resched() -> preempt_schedule() -> __schedule().

Because pid:4854 and pid:10 were preempted while task_is_running(tsk) was true, schedule() (kernel/sched/core.c:7472) did not call sched_submit_work() / wq_worker_sleeping(). Consequently, pool 2->nr_running remained non-zero, so need_more_worker(pool) (kernel/workqueue.c:989) returned false and pool 2's three idle workers (9, 4823, 4816) were not wokenβ€”though even if woken, they are also SCHED_NORMAL (nice=0) threads bound to CPU 0.

Cascading Stalls

Because CPU 0 has not scheduled any of these TASK_RUNNING workers since t - 35s:

  • pid:10 (srcu_invoke_callbacks, in-flight 35s) cannot finish on CPU 0, stalling fsnotify_mark_destroy_workfn (fs/notify/mark.c:1187, synchronize_srcu(&fsnotify_mark_srcu), in-flight 35s on pool 8) and its flush_work waiter BAR(5280).
  • pid:1102 (smc_ib_port_event_work in rtnl_lock()) cannot resume on CPU 0, stalling rtnl_lock-dependent work in pool 8 and pool 6 (cfg80211_wiphy_work, reg_todo, and batadv_tt_purge, which triggered MAYDAY on bat_events).

What Remains Inconclusive

The four backtraced workers are victims sitting on CPU 0's runqueue rather than the code currently executing on CPU 0. Under CONFIG_PREEMPT=y, four runnable SCHED_NORMAL kworkers cannot be starved for 35+ seconds unless CPU 0 is stuck in non-preemptible kernel context (such as a softirq/hardirq loop, spinlock deadlock, or local_bh_disable()/preempt_disable() loop), monopolized by a higher scheduling class (SCHED_FIFO/SCHED_RR/SCHED_DEADLINE), or stalled externally.

The exact task or interrupt/softirq context executing on CPU 0 could not be determined from this report because show_cpu_pool_busy_workers() (kernel/workqueue.c:8054) checks task_is_running(worker->task) (true for any TASK_RUNNING task on the runqueue, not only the task actively running on the CPU) to set found_running = true, and therefore skipped calling trigger_single_cpu_backtrace(0) at kernel/workqueue.c:8101. Notice also that CONFIG_CMDLINE configures watchdog_thresh=55 (110s softlockup threshold) and CONFIG_RCU_CPU_STALL_TIMEOUT=100 (100s RCU stall threshold), so the 30s default wq_watchdog_thresh fired at 35s before a softlockup or RCU CPU stall dump could capture CPU 0's active stack.

▶ ▼ ✨ AI Jobs (4)
ID Workflow Result Correct Bug Created Started Finished Revision
029ece9c repro-c Reproduced: βœ… ❓ BUG: workqueue lockup in update_super_work 2026/11/24 00:07 2026/11/24 00:07 2026/11/24 04:50 fab64d89
94e048a4 bisect-cause IsRelease: ❌ ❓ BUG: workqueue lockup in update_super_work 2026/11/23 00:32 2026/11/23 00:32 2026/11/23 00:44 b2c69459
a95daf5d bisect-cause πŸ’₯ BUG: workqueue lockup in update_super_work 2026/11/21 16:48 2026/11/21 16:48 2026/11/21 18:25 b2c69459
d2abe826 assessment-security DenialOfService: βœ… Exploitable: ❌ FilesystemTrigger: ❌ FuzzingArtifact: ❌ MemoryCorruption: ❌ NetworkNeedsSetup: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ BUG: workqueue lockup in update_super_work 2026/11/21 16:44 2026/11/21 16:44 2026/11/21 17:40 b2c69459
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ext4?] BUG: workqueue lockup in update_super_work 0 (1) 2026/11/24 11:36
▶ ▼ Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/11/24 11:20 14m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git a041bdbe1f3a8efa8a527a89c84d3771232b4942 report job log log

Sample crash report:
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 5s!
Showing busy workqueues and worker pools:
workqueue events: flags=0x100
  pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=6 refcnt=8
    in-flight: 4867:update_super_work for 6s
    pending: refresh_vm_stats BAR(5070), vmstat_shepherd, 2*nsim_dev_hwstats_traffic_work, free_obj_work
  pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
    in-flight: 24:request_firmware_work_func for 42s
workqueue mm_percpu_wq: flags=0x108
  pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
    pending: vmstat_update
workqueue kblockd: flags=0x118
  pwq 3: cpus=0 node=0 flags=0x0 nice=-20 active=2 refcnt=3
    pending: 2*blk_mq_timeout_work
pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=5s workers=5 idle: 1171 10 1104 9
pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=0s workers=6 idle: 26 4849 876 4848 4769
Showing backtraces of busy workers in stalled worker pools:
pool 2:
task:kworker/0:4     state:R  running task     stack:0     pid:4867  tgid:4867  ppid:2      task_flags:0x4208060 flags:0x00000010
Workqueue: events update_super_work
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5583 [inline]
 __schedule+0x1368/0x2b50 kernel/sched/core.c:7382
 __schedule_loop kernel/sched/core.c:7459 [inline]
 schedule+0x13c/0x20c kernel/sched/core.c:7474
 io_schedule+0x1c/0xe0 kernel/sched/core.c:8146
 bit_wait_io+0x1c/0xe8 kernel/sched/wait_bit.c:258
 __wait_on_bit+0xb8/0x178 kernel/sched/wait_bit.c:52
 out_of_line_wait_on_bit+0x130/0x184 kernel/sched/wait_bit.c:67
 wait_on_bit_io include/linux/wait_bit.h:106 [inline]
 __wait_on_buffer+0x6c/0x7c fs/buffer.c:118
 wait_on_buffer include/linux/buffer_head.h:476 [inline]
 ext4_commit_super+0x2b4/0x458 fs/ext4/super.c:6417
 update_super_work+0x2dc/0x384 fs/ext4/super.c:817
 process_one_work kernel/workqueue.c:3495 [inline]
 process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578
 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 8s!
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=-20 stuck for 3s!
Showing busy workqueues and worker pools:
workqueue events: flags=0x100
  pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=7 refcnt=9
    in-flight: 4867:update_super_work for 9s
    pending: refresh_vm_stats BAR(5070), vmstat_shepherd, 2*nsim_dev_hwstats_traffic_work, free_obj_work, psi_avgs_work
  pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
    in-flight: 24:request_firmware_work_func for 45s
workqueue events_dfl_long: flags=0x2
  pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2
    pending: defense_work_handler
workqueue mm_percpu_wq: flags=0x108
  pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
    pending: vmstat_update
workqueue kblockd: flags=0x118
  pwq 3: cpus=0 node=0 flags=0x0 nice=-20 active=2 refcnt=3
    pending: 2*blk_mq_timeout_work
pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=8s workers=5 idle: 1171 10 1104 9
pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=0s workers=6 idle: 4849 26 876 4848 4769
Showing backtraces of busy workers in stalled worker pools:
pool 2:
task:kworker/0:4     state:R  running task     stack:0     pid:4867  tgid:4867  ppid:2      task_flags:0x4208060 flags:0x00000010
Workqueue: events update_super_work
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5583 [inline]
 __schedule+0x1368/0x2b50 kernel/sched/core.c:7382
 __schedule_loop kernel/sched/core.c:7459 [inline]
 schedule+0x13c/0x20c kernel/sched/core.c:7474
 io_schedule+0x1c/0xe0 kernel/sched/core.c:8146
 bit_wait_io+0x1c/0xe8 kernel/sched/wait_bit.c:258
 __wait_on_bit+0xb8/0x178 kernel/sched/wait_bit.c:52
 out_of_line_wait_on_bit+0x130/0x184 kernel/sched/wait_bit.c:67
 wait_on_bit_io include/linux/wait_bit.h:106 [inline]
 __wait_on_buffer+0x6c/0x7c fs/buffer.c:118
 wait_on_buffer include/linux/buffer_head.h:476 [inline]
 ext4_commit_super+0x2b4/0x458 fs/ext4/super.c:6417
 update_super_work+0x2dc/0x384 fs/ext4/super.c:817
 process_one_work kernel/workqueue.c:3495 [inline]
 process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578
 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854
pool 3: no worker in running state, cpu=0 is busy (nr_workers=2 nr_idle=2)
The pool might have trouble waking an idle worker.
Backtrace of last woken worker:
task:kworker/0:1H    state:R  running task     stack:0     pid:4368  tgid:4368  ppid:2      task_flags:0x4208060 flags:0x00000010
Workqueue:  0x0 (kblockd)
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5583 [inline]
 __schedule+0x1368/0x2b50 kernel/sched/core.c:7382
 __schedule_loop kernel/sched/core.c:7459 [inline]
 schedule+0x13c/0x20c kernel/sched/core.c:7474
 worker_thread+0x924/0xbd0 kernel/workqueue.c:3674
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5064 Comm: syz-executor298 Not tainted syzkaller #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
pstate: 00001000 (nzcv daif -PAN -UAO -TCO -DIT +SSBS BTYPE=--)
pc : 0000ffff92d12354
lr : 0000ffff92c64e84
sp : 0000ffffd134ccf0
x29: 0000ffffd134ccf0 x28: 0000ffff92cb3000 x27: 0000ffff92cb3000
x26: 0000ffff92cb3000 x25: 0000ffff92cb3000 x24: 0000000000000004
x23: 0000ffffd134cdd0 x22: 0000000000000001 x21: 0000ffff92d00000
x20: 0000ffffd134ce90 x19: 0000ffff92d01000 x18: 0000000001503538
x17: 0000000ca3baf921 x16: 0000000000000017 x15: 0000000000800000
x14: 0000000ca3c7df44 x13: 0000000000002490 x12: 000000007fffffff
x11: 0000000000000001 x10: 0000000000000001 x9 : 0000ffff92d0e010
x8 : 0000ffff92d0e000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000002490 x3 : 0012c684c0000000
x2 : 0000ffff92d12310 x1 : 0000ffffd134ce90 x0 : 0000000000000001
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 11s!
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=-20 stuck for 6s!
Showing busy workqueues and worker pools:
workqueue events: flags=0x100
  pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=7 refcnt=9
    in-flight: 4867:update_super_work for 12s
    pending: refresh_vm_stats BAR(5070), vmstat_shepherd, 2*nsim_dev_hwstats_traffic_work, free_obj_work, psi_avgs_work
  pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
    in-flight: 24:request_firmware_work_func for 48s
workqueue events_unbound: flags=0x2
  pwq 8: cpus=0-1 flags=0x4 nice=0 active=3 refcnt=4
    pending: nsim_dev_trap_report_work, toggle_allocation_gate, nsim_dev_trap_report_work
workqueue mm_percpu_wq: flags=0x108
  pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
    pending: vmstat_update
workqueue kblockd: flags=0x118
  pwq 3: cpus=0 node=0 flags=0x0 nice=-20 active=2 refcnt=3
    pending: 2*blk_mq_timeout_work
pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=11s workers=5 idle: 1171 10 1104 9
pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=0s workers=6 idle: 4849 26 876 4848 4769
Showing backtraces of busy workers in stalled worker pools:
pool 2:
task:kworker/0:4     state:R  running task     stack:0     pid:4867  tgid:4867  ppid:2      task_flags:0x4208060 flags:0x00000010
Workqueue: events update_super_work
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5583 [inline]
 __schedule+0x1368/0x2b50 kernel/sched/core.c:7382
 __schedule_loop kernel/sched/core.c:7459 [inline]
 schedule+0x13c/0x20c kernel/sched/core.c:7474
 io_schedule+0x1c/0xe0 kernel/sched/core.c:8146
 bit_wait_io+0x1c/0xe8 kernel/sched/wait_bit.c:258
 __wait_on_bit+0xb8/0x178 kernel/sched/wait_bit.c:52
 out_of_line_wait_on_bit+0x130/0x184 kernel/sched/wait_bit.c:67
 wait_on_bit_io include/linux/wait_bit.h:106 [inline]
 __wait_on_buffer+0x6c/0x7c fs/buffer.c:118
 wait_on_buffer include/linux/buffer_head.h:476 [inline]
 ext4_commit_super+0x2b4/0x458 fs/ext4/super.c:6417
 update_super_work+0x2dc/0x384 fs/ext4/super.c:817
 process_one_work kernel/workqueue.c:3495 [inline]
 process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578
 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854
pool 3: no worker in running state, cpu=0 is busy (nr_workers=2 nr_idle=2)
The pool might have trouble waking an idle worker.
Backtrace of last woken worker:
task:kworker/0:1H    state:R  running task     stack:0     pid:4368  tgid:4368  ppid:2      task_flags:0x4208060 flags:0x00000010
Workqueue:  0x0 (kblockd)
Call trace:
 __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T)
 context_switch kernel/sched/core.c:5583 [inline]
 __schedule+0x1368/0x2b50 kernel/sched/core.c:7382
 __schedule_loop kernel/sched/core.c:7459 [inline]
 schedule+0x13c/0x20c kernel/sched/core.c:7474
 worker_thread+0x924/0xbd0 kernel/workqueue.c:3674
 kthread+0x304/0x3d4 kernel/kthread.c:436
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5064 Comm: syz-executor298 Not tainted syzkaller #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
pstate: 00001000 (nzcv daif -PAN -UAO -TCO -DIT +SSBS BTYPE=--)
pc : 0000ffff92d12364
lr : 0000ffff92c64e84
sp : 0000ffffd134ccf0
x29: 0000ffffd134ccf0 x28: 0000ffff92cb3000 x27: 0000ffff92cb3000
x26: 0000ffff92cb3000 x25: 0000ffff92cb3000 x24: 0000000000000004
x23: 0000ffffd134cdd0 x22: 0000000000000001 x21: 0000ffff92d00000
x20: 0000ffffd134ce90 x19: 0000ffff92d01000 x18: 0000000001503538
x17: 0000000d5ab774a1 x16: 0000000000000017 x15: 0000000000800000
x14: 0000000d5ac496d8 x13: 00000000000026f6 x12: 000000007fffffff
x11: 0000000000000001 x10: 0000ffffd134ccf0 x9 : 0000ffff92d0e010
x8 : 0000ffff92d0e000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 00000000000026f6 x3 : 0014dc9380000000
x2 : 0000ffff92d12310 x1 : 0000ffffd134ce90 x0 : 0000000000000001

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/24 11:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git a041bdbe1f3a b2c69459 .config console log report C ci-upstream-gce-arm64 BUG: workqueue lockup in update_super_work
2026/11/21 16:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a041bdbe1f3a b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: workqueue lockup in update_super_work
* Struck through repros no longer work on HEAD.