syzbot


INFO: task hung in freeze_super

Status: upstream: reported C repro on 2024/08/10 19:01
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+7d9d1948a31610fcb0a8@syzkaller.appspotmail.com
First crash: 73d, last: 27d
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/09/25 linux-5.15.y (ToT) 3a5928702e71 C [report] INFO: task hung in freeze_super
2024/08/10 upstream (ToT) 5189dafa4cf9 C [report] BUG: corrupted list in gfs2_fill_super
2024/09/25 upstream (ToT) 684a64bf32b6 C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in freeze_super (3) gfs2 C error 19 522d 683d 22/28 fixed on 2023/06/08 14:41
upstream INFO: task hung in freeze_super gfs2 348 1298d 1373d 0/28 auto-closed as invalid on 2021/07/02 19:19
upstream INFO: task hung in freeze_super (2) gfs2 1 1207d 1207d 0/28 auto-closed as invalid on 2021/10/01 20:27
upstream INFO: task hung in freeze_super (4) gfs2 1 478d 478d 0/28 auto-obsoleted due to no activity on 2023/09/30 13:36
Last patch testing requests (8)
Created Duration User Patch Repo Result
2024/10/15 00:50 0m retest repro linux-5.15.y error
2024/10/15 00:50 0m retest repro linux-5.15.y error
2024/10/15 00:50 0m retest repro linux-5.15.y error
2024/10/14 22:01 0m retest repro linux-5.15.y error
2024/10/14 22:01 20m retest repro linux-5.15.y error
2024/10/14 22:01 21m retest repro linux-5.15.y error
2024/10/14 22:01 31m retest repro linux-5.15.y error
2024/10/14 22:01 31m retest repro linux-5.15.y error
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/10/15 02:00 0m fix candidate upstream error job log
2024/09/14 19:53 3m bisect fix linux-5.15.y error job log

Sample crash report:
INFO: task kworker/0:1H:227 blocked for more than 143 seconds.
      Not tainted 5.15.164-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1H    state:D stack:    0 pid:  227 ppid:     2 flags:0x00000008
Workqueue: glock_workqueue glock_work_func
Call trace:
 __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0xf10/0x1e48 kernel/sched/core.c:6376
 schedule+0x11c/0x1c8 kernel/sched/core.c:6459
 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165
 __down_write_common kernel/locking/rwsem.c:1292 [inline]
 __down_write kernel/locking/rwsem.c:1301 [inline]
 down_write+0xe8/0x12c kernel/locking/rwsem.c:1552
 freeze_super+0x5c/0x388 fs/super.c:1682
 freeze_go_sync+0x128/0x31c fs/gfs2/glops.c:587
 do_xmote+0x304/0x1054 fs/gfs2/glock.c:742
 run_queue+0x3f8/0x6bc fs/gfs2/glock.c:872
 glock_work_func+0x27c/0x470 fs/gfs2/glock.c:1039
 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310
 worker_thread+0x910/0x1034 kernel/workqueue.c:2457
 kthread+0x37c/0x45c kernel/kthread.c:334
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
INFO: task syz-executor213:4018 blocked for more than 143 seconds.
      Not tainted 5.15.164-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor213 state:D stack:    0 pid: 4018 ppid:  4017 flags:0x0000000d
Call trace:
 __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0xf10/0x1e48 kernel/sched/core.c:6376
 schedule+0x11c/0x1c8 kernel/sched/core.c:6459
 schedule_timeout+0xb8/0x344 kernel/time/timer.c:1890
 do_wait_for_common+0x214/0x388 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x4c/0x64 kernel/sched/completion.c:138
 flush_workqueue+0x580/0x11c4 kernel/workqueue.c:2882
 gfs2_gl_hash_clear+0xd4/0x2f4 fs/gfs2/glock.c:2182
 gfs2_fill_super+0x1b9c/0x2010 fs/gfs2/ops_fstype.c:1309
 get_tree_bdev+0x360/0x54c fs/super.c:1312
 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1332
 vfs_get_tree+0x90/0x274 fs/super.c:1517
 do_new_mount+0x278/0x8fc fs/namespace.c:3005
 path_mount+0x594/0x101c fs/namespace.c:3335
 do_mount fs/namespace.c:3348 [inline]
 __do_sys_mount fs/namespace.c:3556 [inline]
 __se_sys_mount fs/namespace.c:3533 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3533
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffff800014c91660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311
3 locks held by kworker/0:1H/227:
 #0: ffff0000c681f538 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283
 #1: ffff80001af67c00 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285
 #2: ffff0000da2dc0e0 (&type->s_umount_key#41){+.+.}-{3:3}, at: freeze_super+0x5c/0x388 fs/super.c:1682
2 locks held by getty/3782:
 #0: ffff0000d303e098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340
 #1: ffff800018fe62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158
1 lock held by syz-executor213/4018:
 #0: ffff0000da2dc0e0 (&type->s_umount_key#40/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 fs/super.c:229

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


Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/12 07:17 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/12 03:37 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/12 00:08 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/11 20:28 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/11 16:08 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/11 12:27 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/11 09:00 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/11 05:20 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/11 01:39 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
2024/08/10 19:00 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: task hung in freeze_super
* Struck through repros no longer work on HEAD.