syzbot


INFO: task hung in gfs2_make_fs_ro

Status: auto-closed as invalid on 2021/10/02 10:38
Subsystems: gfs2
[Documentation on labels]
First crash: 1027d, last: 1027d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in gfs2_make_fs_ro (2) gfs2 1 898d 898d 0/26 closed as invalid on 2022/02/08 09:40
upstream INFO: task hung in gfs2_make_fs_ro (3) gfs2 6 538d 547d 0/26 auto-obsoleted due to no activity on 2023/02/14 04:47

Sample crash report:
INFO: task syz-executor.0:27868 blocked for more than 143 seconds.
      Tainted: G        W         5.13.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:24320 pid:27868 ppid:  3391 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4683 [inline]
 __schedule+0xc07/0x11f0 kernel/sched/core.c:5940
 schedule+0x14b/0x210 kernel/sched/core.c:6019
 schedule_timeout+0x98/0x2f0 kernel/time/timer.c:1868
 do_wait_for_common+0x2da/0x480 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
 kthread_stop+0xfb/0x200 kernel/kthread.c:648
 gfs2_make_fs_ro+0x14e/0x5e0 fs/gfs2/super.c:598
 signal_our_withdraw fs/gfs2/util.c:166 [inline]
 gfs2_withdraw+0x7da/0x17f0 fs/gfs2/util.c:342
 gfs2_meta_check_ii+0x70/0x80 fs/gfs2/util.c:498
 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline]
 gfs2_quota_init+0xccc/0x1030 fs/gfs2/quota.c:1387
 gfs2_make_fs_rw+0x713/0x8b0 fs/gfs2/super.c:190
 gfs2_fill_super+0x3496/0x4650 fs/gfs2/ops_fstype.c:1224
 get_tree_bdev+0x406/0x630 fs/super.c:1293
 gfs2_get_tree+0x50/0x200 fs/gfs2/ops_fstype.c:1274
 vfs_get_tree+0x86/0x270 fs/super.c:1498
 do_new_mount fs/namespace.c:2905 [inline]
 path_mount+0x196f/0x2be0 fs/namespace.c:3235
 do_mount fs/namespace.c:3248 [inline]
 __do_sys_mount fs/namespace.c:3456 [inline]
 __se_sys_mount+0x2f9/0x3b0 fs/namespace.c:3433
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x467afa
RSP: 002b:00007fa009d75fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 0000000000467afa
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fa009d76000
RBP: 00007fa009d76040 R08: 00007fa009d76040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 00007fa009d76000 R15: 0000000020047a20
INFO: task gfs2_quotad:27897 blocked for more than 143 seconds.
      Tainted: G        W         5.13.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:gfs2_quotad     state:D stack:26688 pid:27897 ppid:     2 flags:0x00004000
Call Trace:
 context_switch kernel/sched/core.c:4683 [inline]
 __schedule+0xc07/0x11f0 kernel/sched/core.c:5940
 schedule+0x14b/0x210 kernel/sched/core.c:6019
 bit_wait+0xe/0xc0 kernel/sched/wait_bit.c:199
 __wait_on_bit+0xbd/0x190 kernel/sched/wait_bit.c:49
 out_of_line_wait_on_bit+0x1c3/0x240 kernel/sched/wait_bit.c:64
 wait_on_bit include/linux/wait_bit.h:76 [inline]
 gfs2_glock_dq+0x998/0xa70 fs/gfs2/glock.c:1488
 gfs2_glock_dq_uninit+0x24/0xe0 fs/gfs2/glock.c:1534
 gfs2_statfs_sync+0x965/0x9e0 fs/gfs2/super.c:376
 quotad_check_timeo fs/gfs2/quota.c:1500 [inline]
 gfs2_quotad+0x47b/0xcd0 fs/gfs2/quota.c:1562
 kthread+0x453/0x480 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 PID: 1603 Comm: khungtaskd Tainted: G        W         5.13.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack_lvl+0x1d3/0x29f lib/dump_stack.c:96
 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline]
 watchdog+0xd06/0xd50 kernel/hung_task.c:294
 kthread+0x453/0x480 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4846 Comm: systemd-journal Tainted: G        W         5.13.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:46 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:342 [inline]
RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:352 [inline]
RIP: 0010:unwind_next_frame+0x1231/0x1fa0 arch/x86/kernel/unwind_orc.c:587
Code: 48 0f bf 2b 49 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 30 00 74 05 e8 4e 54 90 00 4d 8b 65 08 49 8d 7d 10 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 05 e8 33 54 90 00 48 8b 14 24 48 01 ea 49 8b 5d
RSP: 0018:ffffc900013bf6e0 EFLAGS: 00000a06
RAX: 1ffff92000277ef6 RBX: ffffffff8eb99620 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000001 RDI: ffffc900013bf7b0
RBP: fffffffffffffff0 R08: dffffc0000000000 R09: ffffc900013bf7f0
R10: fffff52000277f00 R11: 0000000000000000 R12: ffffc900013b8000
R13: ffffc900013bf7a0 R14: dffffc0000000000 R15: 1ffff92000277ef4
FS:  00007f1b43a528c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1b3c3b1000 CR3: 0000000028b58000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:121
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track+0x3d/0x70 mm/kasan/common.c:46
 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
 ____kasan_slab_free+0x109/0x150 mm/kasan/common.c:366
 kasan_slab_free include/linux/kasan.h:229 [inline]
 slab_free_hook mm/slub.c:1639 [inline]
 slab_free_freelist_hook+0x1d8/0x290 mm/slub.c:1664
 slab_free mm/slub.c:3224 [inline]
 kmem_cache_free+0x85/0x170 mm/slub.c:3240
 putname fs/namei.c:259 [inline]
 filename_lookup+0x50c/0x6e0 fs/namei.c:2464
 user_path_at include/linux/namei.h:60 [inline]
 do_faccessat+0x408/0x910 fs/open.c:425
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f1b42d0d9c7
Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe36cf2b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffe36cf5b50 RCX: 00007f1b42d0d9c7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055b1b1c4a9a3
RBP: 00007ffe36cf2c70 R08: 000055b1b1c403e5 R09: 0000000000000018
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 000055b1b24f38a0 R15: 00007ffe36cf3160

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/04 10:32 upstream 3dbdb38e2869 55aa55c2 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in gfs2_make_fs_ro
* Struck through repros no longer work on HEAD.