syzbot


INFO: task hung in reiserfs_sync_fs

Status: fixed on 2024/03/20 11:33
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+4dadbee41d087d9c6234@syzkaller.appspotmail.com
Fix commit: 6f861765464f fs: Block writes to mounted block devices
First crash: 583d, last: 200d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [reiserfs?] INFO: task hung in reiserfs_sync_fs 1 (3) 2024/03/10 00:57
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: task hung in reiserfs_sync_fs reiserfs C 2 506d 596d 0/1 upstream: reported C repro on 2022/12/05 01:39
linux-4.19 INFO: task hung in reiserfs_sync_fs reiserfs C error 5 505d 572d 0/1 upstream: reported C repro on 2022/12/28 10:53
linux-5.15 INFO: task hung in reiserfs_sync_fs 1 454d 454d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:04
Last patch testing requests (11)
Created Duration User Patch Repo Result
2024/01/19 13:10 36m retest repro upstream OK log
2024/01/19 13:10 25m retest repro upstream OK log
2024/01/18 20:19 1h32m retest repro upstream OK log
2023/12/20 07:32 17m retest repro upstream report log
2023/11/24 23:37 21m retest repro upstream OK log
2023/11/24 23:37 22m retest repro upstream OK log
2023/11/24 21:58 25m retest repro linux-next OK log
2023/10/07 03:31 23m retest repro upstream report log
2023/09/03 12:04 22m retest repro upstream report log
2023/09/03 12:04 16m retest repro upstream report log
2023/01/04 00:31 14m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/02/26 15:17 5h18m bisect fix upstream OK (1) job log
2023/11/06 15:10 2h37m bisect fix upstream OK (0) job log log
2023/07/28 22:26 1h39m bisect fix upstream OK (0) job log log
2023/03/13 22:47 38m bisect fix upstream OK (0) job log log

Sample crash report:
INFO: task kworker/0:0:7 blocked for more than 143 seconds.
      Not tainted 6.7.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0     state:D stack:28336 pid:7     tgid:7     ppid:2      flags:0x00004000
Workqueue: events_long flush_old_commits

Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xedb/0x5af0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xe9/0x270 kernel/sched/core.c:6778
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747
 reiserfs_write_lock+0x79/0x100 fs/reiserfs/lock.c:27
 reiserfs_sync_fs+0x95/0x140 fs/reiserfs/super.c:76
 flush_old_commits+0xf5/0x1f0 fs/reiserfs/super.c:111
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
 process_scheduled_works kernel/workqueue.c:2700 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
INFO: task kworker/0:1:8 blocked for more than 146 seconds.
      Not tainted 6.7.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1     state:D
 stack:26384 pid:8     tgid:8     ppid:2      flags:0x00004000
Workqueue: events_long flush_old_commits

Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xedb/0x5af0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xe9/0x270 kernel/sched/core.c:6778
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747
 reiserfs_write_lock+0x79/0x100 fs/reiserfs/lock.c:27
 reiserfs_sync_fs+0x95/0x140 fs/reiserfs/super.c:76
 flush_old_commits+0xf5/0x1f0 fs/reiserfs/super.c:111
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
 process_scheduled_works kernel/workqueue.c:2700 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
INFO: task kworker/1:0:22 blocked for more than 148 seconds.
      Not tainted 6.7.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0     state:D
 stack:25488 pid:22    tgid:22    ppid:2      flags:0x00004000
Workqueue: events_long flush_old_commits

Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xedb/0x5af0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xe9/0x270 kernel/sched/core.c:6778
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747
 reiserfs_write_lock+0x79/0x100 fs/reiserfs/lock.c:27
 reiserfs_sync_fs+0x95/0x140 fs/reiserfs/super.c:76
 flush_old_commits+0xf5/0x1f0 fs/reiserfs/super.c:111
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
 process_scheduled_works kernel/workqueue.c:2700 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
INFO: task kworker/0:2:778 blocked for more than 151 seconds.
      Not tainted 6.7.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:2     state:D stack:27968 pid:778   tgid:778   ppid:2      flags:0x00004000
Workqueue: events_long flush_old_commits
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xedb/0x5af0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xe9/0x270 kernel/sched/core.c:6778
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747
 reiserfs_write_lock+0x79/0x100 fs/reiserfs/lock.c:27
 reiserfs_sync_fs+0x95/0x140 fs/reiserfs/super.c:76
 flush_old_commits+0xf5/0x1f0 fs/reiserfs/super.c:111
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
 process_scheduled_works kernel/workqueue.c:2700 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
 kthread+0x2c6/0x3a0 kernel/kthread.c:388

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/25 03:52 upstream 861deac3b092 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root INFO: task hung in reiserfs_sync_fs
2023/12/21 08:48 upstream 1a44b0073b92 4f9530a3 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root INFO: task hung in reiserfs_sync_fs
2023/06/24 12:15 upstream 61dabacdad4e 09ffe269 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/06/20 18:28 upstream 692b7dc87ca6 09ffe269 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root INFO: task hung in reiserfs_sync_fs
2023/01/28 09:18 upstream 83abd4d4c4be 9dfcf09c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2022/12/17 13:08 upstream 77856d911a8c 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/11/10 18:35 linux-next e27090b1413f 45e9b83e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2024/01/04 20:18 upstream ac865f00af29 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2024/01/02 11:13 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in reiserfs_sync_fs
2023/12/06 06:44 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/11/28 14:22 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/06/20 14:41 upstream 692b7dc87ca6 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in reiserfs_sync_fs
2023/05/22 20:37 upstream 44c026a73be8 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/04/25 22:27 upstream 173ea743bf7a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/04/14 17:33 upstream 44149752e998 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in reiserfs_sync_fs
2023/03/25 11:39 upstream 65aca32efdcb fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/02/11 20:24 upstream 47e9aa14ce5a 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in reiserfs_sync_fs
2023/02/06 04:34 upstream 837c07cf68fe be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/01/14 03:09 upstream d9fc1511728c 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/05/05 23:18 linux-next 83e5775d7afd 4cec9341 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/05/03 15:16 linux-next 92e815cf07ed b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in reiserfs_sync_fs
2023/03/25 11:35 linux-next e5dbf24e8b9e fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in reiserfs_sync_fs
* Struck through repros no longer work on HEAD.