syzbot


INFO: task hung in gfs2_recover_journal

Status: auto-obsoleted due to no activity on 2023/08/20 05:04
Subsystems: gfs2
[Documentation on labels]
First crash: 537d, last: 361d
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 77d 77d 0/3 upstream: reported on 2024/03/01 15:26
upstream INFO: task hung in gfs2_recover_journal (2) gfs2 2 177d 187d 0/26 auto-obsoleted due to no activity on 2024/02/21 00:05

Sample crash report:
INFO: task syz-executor.3:4973 blocked for more than 143 seconds.
      Not tainted 6.4.0-rc2-syzkaller-00338-ge2065b8c1b01 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:24360 pid:4973  ppid:5042   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x187b/0x4900 kernel/sched/core.c:6669
 schedule+0xc3/0x180 kernel/sched/core.c:6745
 bit_wait+0x12/0xc0 kernel/sched/wait_bit.c:199
 __wait_on_bit kernel/sched/wait_bit.c:49 [inline]
 out_of_line_wait_on_bit+0x251/0x3a0 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/0x23e0 fs/gfs2/ops_fstype.c:833
 init_inodes+0xdc/0x310 fs/gfs2/ops_fstype.c:886
 gfs2_fill_super+0x1d02/0x2840 fs/gfs2/ops_fstype.c:1250
 get_tree_bdev+0x405/0x620 fs/super.c:1303
 gfs2_get_tree+0x54/0x210 fs/gfs2/ops_fstype.c:1335
 vfs_get_tree+0x8c/0x270 fs/super.c:1510
 do_new_mount+0x28f/0xae0 fs/namespace.c:3039
 do_mount fs/namespace.c:3382 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f20cd08d69a
RSP: 002b:00007f20cdeb3f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 000000000001f6c5 RCX: 00007f20cd08d69a
RDX: 000000002001f680 RSI: 000000002001f6c0 RDI: 00007f20cdeb3fe0
RBP: 00007f20cdeb4020 R08: 00007f20cdeb4020 R09: 0000000000000600
R10: 0000000000000600 R11: 0000000000000202 R12: 000000002001f680
R13: 000000002001f6c0 R14: 00007f20cdeb3fe0 R15: 00000000200000c0
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
 #0: ffffffff8cf27670 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
 #0: ffffffff8cf27a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
 #0: ffffffff8cf274a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4751:
 #0: ffff888028816098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176
2 locks held by kworker/1:16/6396:
 #0: ffff888013fc9138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
 #1: ffffc90016857d20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
1 lock held by syz-executor.3/4973:
 #0: ffff8880363860e0 (&type->s_umount_key#123/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228
1 lock held by syz-executor.3/6448:
 #0: ffff8880363860e0 (&type->s_umount_key#124){+.+.}-{3:3}, at: user_get_super+0xd7/0x250 fs/super.c:875

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

NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc2-syzkaller-00338-ge2065b8c1b01 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/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+0x187/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xec2/0xf00 kernel/hung_task.c:379
 kthread+0x2b8/0x350 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 14259 Comm: kworker/u4:11 Not tainted 6.4.0-rc2-syzkaller-00338-ge2065b8c1b01 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
Workqueue: phy7 ieee80211_iface_work
RIP: 0010:stack_trace_consume_entry+0x0/0x280 kernel/stacktrace.c:83
Code: 00 e9 5a ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 7b ff ff ff 48 89 df e8 2c b1 69 00 e9 6e ff ff ff e8 72 5e 35 09 66 90 <f3> 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48
RSP: 0018:ffffc9000bf37778 EFLAGS: 00000286
RAX: ffffffff81e3229f RBX: ffffc9000bf37780 RCX: ffffffff8f976000
RDX: ffffffff8fad8501 RSI: ffffffff81e3229f RDI: ffffc9000bf37860
RBP: ffffc9000bf37810 R08: ffffc9000bf378f0 R09: 0000000000000000
R10: ffffc9000bf377d0 R11: dffffc0000000001 R12: ffff888021cd9dc0
R13: ffffffff81799f80 R14: ffffc9000bf37860 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1ddfcadd5a CR3: 000000000cd30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 arch_stack_walk+0x105/0x140 arch/x86/kernel/stacktrace.c:27
 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4f/0x70 mm/kasan/common.c:52
 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:521
 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236
 kasan_slab_free include/linux/kasan.h:162 [inline]
 slab_free_hook mm/slub.c:1781 [inline]
 slab_free_freelist_hook mm/slub.c:1807 [inline]
 slab_free mm/slub.c:3786 [inline]
 kmem_cache_free+0x297/0x520 mm/slub.c:3808
 kfree_skb include/linux/skbuff.h:1236 [inline]
 ieee80211_iface_work+0x264/0xd00 net/mac80211/iface.c:1650
 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
 kthread+0x2b8/0x350 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/22 05:02 upstream e2065b8c1b01 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in gfs2_recover_journal
2023/04/21 15:54 upstream 2af3e53a4dc0 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in gfs2_recover_journal
2023/03/22 10:12 upstream a1effab7a3a3 8b4eb097 .config console log report info ci2-upstream-fs INFO: task hung in gfs2_recover_journal
2022/12/28 02:34 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in gfs2_recover_journal
2022/11/27 21:00 upstream faf68e3523c2 f4470a7b .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.