syzbot


INFO: task hung in gfs2_recover_journal

Status: auto-obsoleted due to no activity on 2025/08/01 12:08
Reported-by: syzbot+0489dbed39c6c2a4554f@syzkaller.appspotmail.com
First crash: 127d, last: 127d
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in gfs2_recover_journal 1 1 545d 545d 0/3 auto-obsoleted due to no activity on 2024/06/09 15:26
upstream INFO: task hung in gfs2_recover_journal (3) gfs2 1 1 535d 535d 0/29 auto-obsoleted due to no activity on 2024/06/09 17:03
upstream INFO: task hung in gfs2_recover_journal (2) gfs2 1 2 644d 655d 0/29 auto-obsoleted due to no activity on 2024/02/21 00:05
upstream INFO: task hung in gfs2_recover_journal gfs2 1 5 829d 1005d 0/29 auto-obsoleted due to no activity on 2023/08/20 05:04

Sample crash report:
INFO: task syz.5.719:7282 blocked for more than 143 seconds.
      Not tainted 5.15.180-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.719       state:D stack:    0 pid: 7282 ppid:  5720 flags:0x00000009
Call trace:
 __switch_to+0x308/0x588 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
 bit_wait+0x1c/0xac kernel/sched/wait_bit.c:199
 __wait_on_bit kernel/sched/wait_bit.c:49 [inline]
 out_of_line_wait_on_bit+0x208/0x33c kernel/sched/wait_bit.c:64
 wait_on_bit include/linux/wait_bit.h:76 [inline]
 gfs2_recover_journal+0xf0/0x16c fs/gfs2/recovery.c:579
 init_journal+0x1428/0x1f6c fs/gfs2/ops_fstype.c:837
 init_inodes+0xe0/0x2d8 fs/gfs2/ops_fstype.c:891
 gfs2_fill_super+0x1640/0x2010 fs/gfs2/ops_fstype.c:1249
 get_tree_bdev+0x360/0x54c fs/super.c:1325
 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1332
 vfs_get_tree+0x90/0x274 fs/super.c:1530
 do_new_mount+0x278/0x8fc fs/namespace.c:3012
 path_mount+0x594/0x101c fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540
 __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: ffff800014d41be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311
1 lock held by udevd/3644:
2 locks held by getty/3794:
 #0: ffff0000d4529098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340
 #1: ffff80001d6ce2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158
2 locks held by udevd/4018:
2 locks held by kworker/0:4/4069:
 #0: ffff0000c681f538 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283
 #1: ffff80001fd17c00 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285
2 locks held by kworker/u4:14/4728:
1 lock held by syz.5.719/7282:
 #0: ffff0000efb200e0 (&type->s_umount_key#90/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 fs/super.c:229
1 lock held by syz.1.923/8124:
 #0: ffff0000efb200e0 (&type->s_umount_key#114){.+.+}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:716
1 lock held by syz.0.1009/8478:
 #0: ffff0000efb200e0 (&type->s_umount_key#114){.+.+}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:716
1 lock held by syz.2.1269/9723:
1 lock held by syz.3.1282/9754:
 #0: ffff0000de116210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
 #0: ffff0000de116210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline]
 #0: ffff0000de116210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x80/0x1fc net/socket.c:1336
2 locks held by syz.6.1285/9770:
2 locks held by dhcpcd-run-hook/9771:

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


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/23 12:08 linux-5.15.y f7347f400572 53a8b9bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in gfs2_recover_journal
* Struck through repros no longer work on HEAD.