syzbot


INFO: task hung in freeze_super (4)

Status: auto-obsoleted due to no activity on 2023/09/30 13:36
Subsystems: gfs2
[Documentation on labels]
First crash: 466d, last: 466d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in freeze_super origin:upstream missing-backport C error 10 15d 61d 0/3 upstream: reported C repro on 2024/08/10 19:01
upstream INFO: task hung in freeze_super (3) gfs2 C error 19 511d 671d 22/28 fixed on 2023/06/08 14:41
upstream INFO: task hung in freeze_super gfs2 348 1286d 1361d 0/28 auto-closed as invalid on 2021/07/02 19:19
upstream INFO: task hung in freeze_super (2) gfs2 1 1195d 1195d 0/28 auto-closed as invalid on 2021/10/01 20:27

Sample crash report:
INFO: task kworker/1:1H:52 blocked for more than 143 seconds.
      Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:1H    state:D stack:0     pid:52    ppid:2      flags:0x00000008
Workqueue: glock_workqueue glock_work_func
Call trace:
 __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x1368/0x23b8 kernel/sched/core.c:6669
 schedule+0xc4/0x170 kernel/sched/core.c:6745
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6804
 rwsem_down_write_slowpath+0xcfc/0x1aa0 kernel/locking/rwsem.c:1178
 __down_write_common kernel/locking/rwsem.c:1306 [inline]
 __down_write kernel/locking/rwsem.c:1315 [inline]
 down_write+0xb4/0xc0 kernel/locking/rwsem.c:1574
 freeze_super+0x58/0x378 fs/super.c:1676
 freeze_go_sync+0x128/0x31c fs/gfs2/glops.c:587
 do_xmote+0x2f0/0x11c0 fs/gfs2/glock.c:706
 run_queue+0x400/0x688 fs/gfs2/glock.c:844
 glock_work_func+0x270/0x440 fs/gfs2/glock.c:1076
 process_one_work+0x788/0x12d4 kernel/workqueue.c:2405
 worker_thread+0x8e0/0xfe8 kernel/workqueue.c:2552
 kthread+0x288/0x310 kernel/kthread.c:379
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:853
INFO: task syz-executor.2:9218 blocked for more than 143 seconds.
      Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:0     pid:9218  ppid:6029   flags:0x0000000d
Call trace:
 __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x1368/0x23b8 kernel/sched/core.c:6669
 schedule+0xc4/0x170 kernel/sched/core.c:6745
 schedule_timeout+0xb8/0x348 kernel/time/timer.c:2143
 do_wait_for_common+0x30c/0x468 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+0x48/0x60 kernel/sched/completion.c:138
 __flush_workqueue+0x580/0x11c4 kernel/workqueue.c:2977
 gfs2_gl_hash_clear+0xd0/0x2e0 fs/gfs2/glock.c:2197
 gfs2_fill_super+0x1bfc/0x1fd4 fs/gfs2/ops_fstype.c:1310
 get_tree_bdev+0x360/0x54c fs/super.c:1303
 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1335
 vfs_get_tree+0x90/0x274 fs/super.c:1510
 do_new_mount+0x25c/0x8c4 fs/namespace.c:3039
 path_mount+0x590/0xe04 fs/namespace.c:3369
 do_mount fs/namespace.c:3382 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount fs/namespace.c:3568 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3568
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191
 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
 #0: ffff80008e0b16d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
 #0: ffff80008e0b1a90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/29:
 #0: ffff80008e0b1500 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:326
3 locks held by kworker/1:1H/52:
 #0: ffff0000c2a6f138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: process_one_work+0x664/0x12d4 kernel/workqueue.c:2378
 #1: ffff800092e27c20 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x12d4 kernel/workqueue.c:2380
 #2: ffff0001363200e0 (&type->s_umount_key#94){++++}-{3:3}, at: freeze_super+0x58/0x378 fs/super.c:1676
2 locks held by getty/5729:
 #0: ffff0000c1963098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340
 #1: ffff800092e602f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2176
1 lock held by syz-executor.2/9218:
 #0: ffff0001363200e0 (&type->s_umount_key#93/1){+.+.}-{3:3}, at: alloc_super+0x1b4/0x824 fs/super.c:228
1 lock held by syz-executor.5/12138:
 #0: ffff0001363200e0 (&type->s_umount_key#94){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:743

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


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/02 13:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in freeze_super
* Struck through repros no longer work on HEAD.