syzbot


INFO: task hung in gfs2_recover_journal (2)

Status: auto-obsoleted due to no activity on 2024/02/21 00:05
Subsystems: gfs2
[Documentation on labels]
First crash: 191d, last: 180d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in gfs2_recover_journal 1 80d 80d 0/3 upstream: reported on 2024/03/01 15:26
upstream INFO: task hung in gfs2_recover_journal gfs2 5 365d 540d 0/26 auto-obsoleted due to no activity on 2023/08/20 05:04

Sample crash report:
INFO: task syz-executor.3:8552 blocked for more than 143 seconds.
      Not tainted 6.7.0-rc2-syzkaller-00029-g9b6de136b5f0 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:23472 pid:8552  tgid:8551  ppid:5098   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0x149/0x260 kernel/sched/core.c:6778
 bit_wait+0x12/0xc0 kernel/sched/wait_bit.c:199
 __wait_on_bit+0xac/0x2e0 kernel/sched/wait_bit.c:49
 out_of_line_wait_on_bit+0x1d4/0x250 kernel/sched/wait_bit.c:64
 wait_on_bit include/linux/wait_bit.h:76 [inline]
 gfs2_recover_journal+0xf2/0x150 fs/gfs2/recovery.c:577
 init_journal+0x1841/0x23f0 fs/gfs2/ops_fstype.c:831
 init_inodes+0xdc/0x310 fs/gfs2/ops_fstype.c:884
 gfs2_fill_super+0x1ebe/0x26b0 fs/gfs2/ops_fstype.c:1263
 get_tree_bdev+0x416/0x5b0 fs/super.c:1598
 gfs2_get_tree+0x54/0x210 fs/gfs2/ops_fstype.c:1341
 vfs_get_tree+0x8c/0x2a0 fs/super.c:1771
 do_new_mount+0x28f/0xae0 fs/namespace.c:3337
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f1626e7e1ea
RSP: 002b:00007f1627c8fee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f1627c8ff80 RCX: 00007f1626e7e1ea
RDX: 0000000020021140 RSI: 0000000020021180 RDI: 00007f1627c8ff40
RBP: 0000000020021140 R08: 00007f1627c8ff80 R09: 0000000000008000
R10: 0000000000008000 R11: 0000000000000202 R12: 0000000020021180
R13: 00007f1627c8ff40 R14: 000000000002117d R15: 00000000200211c0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
 #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
 #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613
2 locks held by getty/4808:
 #0: ffff8880268940a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
2 locks held by kworker/0:6/5151:
 #0: ffff888015b6c538 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline]
 #0: ffff888015b6c538 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703
 #1: ffffc900047afd20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline]
 #1: ffffc900047afd20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703
1 lock held by syz-executor.3/8552:
 #0: ffff888142a800e0 (&type->s_umount_key#81){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff888142a800e0 (&type->s_umount_key#81){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff888142a800e0 (&type->s_umount_key#81){++++}-{3:3}, at: get_tree_bdev+0x36e/0x5b0 fs/super.c:1596
1 lock held by syz-executor.5/8637:
 #0: ffff888142a800e0 (&type->s_umount_key#81){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff888142a800e0 (&type->s_umount_key#81){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117
1 lock held by syz-executor.5/8805:
 #0: ffff888142a800e0 (&type->s_umount_key#81){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff888142a800e0 (&type->s_umount_key#81){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117

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

NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc2-syzkaller-00029-g9b6de136b5f0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xfaf/0xff0 kernel/hung_task.c:379
 kthread+0x2d3/0x370 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2845 Comm: kworker/u4:8 Not tainted 6.7.0-rc2-syzkaller-00029-g9b6de136b5f0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:32 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:127 [inline]
RIP: 0010:lock_acquire+0x22d/0x530 kernel/locking/lockdep.c:5756
Code: 0f 85 a8 01 00 00 49 89 de 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 f7 e8 21 32 7d 00 48 c7 44 24 60 00 00 00 00 9c 8f 44 24 60 <42> 80 3c 2b 00 74 08 4c 89 f7 e8 64 31 7d 00 f6 44 24 61 02 0f 85
RSP: 0018:ffffc9000a05f980 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 1ffff9200140bf3c RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8b6ac0e0 RDI: ffffffff8bbdf380
RBP: ffffc9000a05fad0 R08: ffffffff90dd443f R09: 1ffffffff21ba887
R10: dffffc0000000000 R11: fffffbfff21ba888 R12: 1ffff9200140bf38
R13: dffffc0000000000 R14: ffffc9000a05f9e0 R15: 0000000000000246
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000ebd000 CR3: 000000000d730000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
 _raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:356 [inline]
 batadv_nc_purge_paths+0xe8/0x3a0 net/batman-adv/network-coding.c:442
 batadv_nc_worker+0x365/0x610 net/batman-adv/network-coding.c:722
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2703
 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2784
 kthread+0x2d3/0x370 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/23 00:01 upstream 9b6de136b5f0 03e12510 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in gfs2_recover_journal
2023/11/12 13:13 upstream 1b907d050735 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in gfs2_recover_journal
* Struck through repros no longer work on HEAD.