syzbot


INFO: task hung in flush_delayed_work

Status: upstream: reported C repro on 2024/11/06 08:07
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+ab509d831d9b0222f5fd@syzkaller.appspotmail.com
First crash: 564d, last: 5d00h
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] INFO: task hung in flush_delayed_work 0 (1) 2024/11/06 08:07
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in flush_delayed_work 1 312d 312d 0/3 auto-obsoleted due to no activity on 2024/12/07 07:17
linux-6.1 INFO: task hung in flush_delayed_work 1 256d 256d 0/3 auto-obsoleted due to no activity on 2025/01/31 15:23
Last patch testing requests (4)
Created Duration User Patch Repo Result
2025/06/06 09:10 24m retest repro upstream report log
2025/05/17 03:36 20m retest repro upstream report log
2025/02/05 23:08 33m retest repro upstream OK log
2025/02/05 11:19 21m retest repro upstream OK log

Sample crash report:
INFO: task syz-executor302:5337 blocked for more than 143 seconds.
      Not tainted 6.15.0-rc7-syzkaller-00082-g5cdb2c77c4c3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor302 state:D stack:25672 pid:5337  tgid:5337  ppid:5334   task_flags:0x400140 flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767
 __schedule_loop kernel/sched/core.c:6845 [inline]
 schedule+0x165/0x360 kernel/sched/core.c:6860
 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common kernel/sched/completion.c:116 [inline]
 wait_for_common kernel/sched/completion.c:127 [inline]
 wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:148
 __flush_work+0x9b9/0xbc0 kernel/workqueue.c:4244
 flush_work kernel/workqueue.c:4265 [inline]
 flush_delayed_work+0x13e/0x190 kernel/workqueue.c:4287
 invalidate_dquots fs/quota/dquot.c:576 [inline]
 dquot_disable+0x762/0x1bc0 fs/quota/dquot.c:2296
 ocfs2_disable_quotas+0xfa/0x220 fs/ocfs2/super.c:967
 ocfs2_dismount_volume+0x1ba/0x8d0 fs/ocfs2/super.c:1818
 generic_shutdown_super+0x135/0x2c0 fs/super.c:642
 kill_block_super+0x44/0x90 fs/super.c:1710
 deactivate_locked_super+0xb9/0x130 fs/super.c:473
 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1431
 task_work_run+0x1d1/0x260 kernel/task_work.c:227
 resume_user_mode_work+0x5e/0x80 include/linux/resume_user_mode.h:50
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x9a/0x120 kernel/entry/common.c:218
 do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f16e3e7d397
RSP: 002b:00007ffcc57de688 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 000000000002e085 RCX: 00007f16e3e7d397
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcc57de740
RBP: 00007ffcc57de740 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffcc57df7f0
R13: 0000555574939700 R14: 431bde82d7b634db R15: 00007ffcc57df794
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8df3dee0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8df3dee0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
 #0: ffffffff8df3dee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764
2 locks held by kworker/u4:4/57:
2 locks held by getty/5110:
 #0: ffff88801c2c90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000018e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
1 lock held by syz-executor302/5337:
 #0: ffff88803f06e0e0 (&type->s_umount_key#42){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88803f06e0e0 (&type->s_umount_key#42){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff88803f06e0e0 (&type->s_umount_key#42){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505
2 locks held by syz-executor302/7234:

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 27 Comm: khungtaskd Not tainted 6.15.0-rc7-syzkaller-00082-g5cdb2c77c4c3 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
 watchdog+0xfee/0x1030 kernel/hung_task.c:437
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (462):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/23 08:20 upstream 5cdb2c77c4c3 fa44301a .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (corrupt fs)] ci-snapshot-upstream-root INFO: task hung in flush_delayed_work
2025/04/29 19:12 upstream ca91b9500108 9e704644 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2] ci-snapshot-upstream-root INFO: task hung in flush_delayed_work
2025/03/25 23:18 upstream 2df0c02dab82 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in flush_delayed_work
2025/01/19 14:08 upstream fda5e3f28400 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in flush_delayed_work
2025/01/15 15:04 upstream 619f0b6fad52 7315a7cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in flush_delayed_work
2024/11/06 08:06 upstream 2e1b3cc9d7f7 3a465482 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root INFO: task hung in flush_delayed_work
2024/10/08 13:56 upstream 87d6aab2389e 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in flush_delayed_work
2024/10/04 23:12 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in flush_delayed_work
2024/07/26 07:19 upstream 1722389b0d86 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in flush_delayed_work
2024/07/20 08:15 upstream d7e78951a8b8 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in flush_delayed_work
2024/06/23 20:08 upstream 7c16f0a4ed1c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in flush_delayed_work
2025/01/22 10:57 upstream c4b9570cfb63 da72ac06 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root INFO: task hung in flush_delayed_work
2025/07/02 09:39 linux-next 1343433ed389 ffe4b334 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/07/02 09:04 linux-next 1343433ed389 ffe4b334 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/02 07:35 linux-next 1343433ed389 ffe4b334 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/02 06:13 linux-next 1343433ed389 ffe4b334 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/07/02 04:56 linux-next 1343433ed389 ffe4b334 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/07/02 02:32 linux-next 1343433ed389 ffe4b334 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/02 01:10 linux-next 1343433ed389 ffe4b334 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 23:18 linux-next 1343433ed389 ffe4b334 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/07/01 22:03 linux-next 1343433ed389 ffe4b334 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 20:24 linux-next 1343433ed389 ffe4b334 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/07/01 19:17 linux-next 1343433ed389 ffe4b334 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/07/01 18:32 linux-next 1343433ed389 ffe4b334 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 16:09 linux-next 1343433ed389 6e83b42d .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 13:29 linux-next 1343433ed389 6e83b42d .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 12:24 linux-next 1343433ed389 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 09:11 linux-next 1343433ed389 6e83b42d .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 09:04 linux-next 1343433ed389 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/07/01 07:33 linux-next 1343433ed389 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 06:21 linux-next 1343433ed389 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 05:13 linux-next 1343433ed389 6e83b42d .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/07/01 03:37 linux-next 1343433ed389 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 02:25 linux-next 1343433ed389 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/07/01 00:48 linux-next 1343433ed389 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/06/30 20:35 linux-next 1343433ed389 6e83b42d .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/30 19:24 linux-next 1343433ed389 fc9d8ee5 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/30 18:20 linux-next 1343433ed389 fc9d8ee5 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/30 17:05 linux-next 1343433ed389 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/06/30 15:50 linux-next 1343433ed389 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/06/30 14:44 linux-next 1343433ed389 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/06/30 12:42 linux-next 1343433ed389 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/30 10:06 linux-next 1343433ed389 fc9d8ee5 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/06/30 08:40 linux-next 1343433ed389 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/30 07:04 linux-next 2aeda9592360 fc9d8ee5 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/30 05:50 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/30 05:17 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/06/30 03:59 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/30 02:44 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/06/30 00:51 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/29 22:34 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/29 20:27 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/29 19:15 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2025/06/29 17:22 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in flush_delayed_work
2025/06/29 16:51 linux-next 2aeda9592360 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in flush_delayed_work
2024/11/16 09:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 887407160d72 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in flush_delayed_work
* Struck through repros no longer work on HEAD.