syzbot


INFO: task hung in freeze_super

Status: auto-closed as invalid on 2021/07/02 19:19
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+e45cf80926482af211a0@syzkaller.appspotmail.com
First crash: 1197d, last: 1107d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task hung in freeze_super 0 (1) 2021/01/18 08:18
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in freeze_super (3) gfs2 C error 19 332d 493d 22/26 fixed on 2023/06/08 14:41
upstream INFO: task hung in freeze_super (2) gfs2 1 1016d 1016d 0/26 auto-closed as invalid on 2021/10/01 20:27
upstream INFO: task hung in freeze_super (4) gfs2 1 287d 287d 0/26 auto-obsoleted due to no activity on 2023/09/30 13:36

Sample crash report:
INFO: task kworker/0:1H:2016 blocked for more than 143 seconds.
      Not tainted 5.12.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1H    state:D stack:27920 pid: 2016 ppid:     2 flags:0x00004000
Workqueue: glock_workqueue glock_work_func
Call Trace:
 context_switch kernel/sched/core.c:4322 [inline]
 __schedule+0x911/0x21b0 kernel/sched/core.c:5073
 schedule+0xcf/0x270 kernel/sched/core.c:5152
 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106
 __down_write_common kernel/locking/rwsem.c:1261 [inline]
 __down_write_common kernel/locking/rwsem.c:1258 [inline]
 __down_write kernel/locking/rwsem.c:1270 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1407
 freeze_super+0x41/0x330 fs/super.c:1664
 freeze_go_sync+0x1e2/0x330 fs/gfs2/glops.c:574
 do_xmote+0x2ff/0xbc0 fs/gfs2/glock.c:630
 run_queue+0x323/0x680 fs/gfs2/glock.c:767
 glock_work_func+0xff/0x3f0 fs/gfs2/glock.c:934
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
INFO: task syz-executor.3:12451 blocked for more than 143 seconds.
      Not tainted 5.12.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:25632 pid:12451 ppid:  8401 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4322 [inline]
 __schedule+0x911/0x21b0 kernel/sched/core.c:5073
 schedule+0xcf/0x270 kernel/sched/core.c:5152
 schedule_timeout+0x1db/0x250 kernel/time/timer.c:1868
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x168/0x270 kernel/sched/completion.c:138
 flush_workqueue+0x3ff/0x13e0 kernel/workqueue.c:2838
 gfs2_gl_hash_clear+0xc8/0x270 fs/gfs2/glock.c:1998
 gfs2_fill_super+0x2005/0x2680 fs/gfs2/ops_fstype.c:1254
 get_tree_bdev+0x440/0x760 fs/super.c:1292
 gfs2_get_tree+0x4a/0x270 fs/gfs2/ops_fstype.c:1277
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:2903 [inline]
 path_mount+0x132a/0x1f90 fs/namespace.c:3233
 do_mount fs/namespace.c:3246 [inline]
 __do_sys_mount fs/namespace.c:3454 [inline]
 __se_sys_mount fs/namespace.c:3431 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3431
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x46797a
RSP: 002b:00007f78e02edfa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046797a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f78e02ee000
RBP: 00007f78e02ee040 R08: 00007f78e02ee040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000
R13: 0000000020000100 R14: 00007f78e02ee000 R15: 0000000020047a20

Showing all locks held in the system:
1 lock held by khungtaskd/1624:
 #0: ffffffff8bf74320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6327
3 locks held by kworker/0:1H/2016:
 #0: ffff888017698138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888017698138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff888017698138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff888017698138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff888017698138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff888017698138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2246
 #1: ffffc900074a7da8 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2250
 #2: ffff88801ce020e0 (&type->s_umount_key#62){+.+.}-{3:3}, at: freeze_super+0x41/0x330 fs/super.c:1664
1 lock held by in:imklog/8085:
 #0: ffff8880117e4370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:961
1 lock held by syz-executor.3/12451:
 #0: ffff88801ce020e0 (&type->s_umount_key#61/1){+.+.}-{3:3}, at: alloc_super+0x1dd/0xab0 fs/super.c:229

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

NMI backtrace for cpu 1
CPU: 1 PID: 1624 Comm: khungtaskd Not tainted 5.12.0-rc5-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+0x141/0x1d7 lib/dump_stack.c:120
 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0xd48/0xfb0 kernel/hung_task.c:294
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11555 Comm: kworker/0:12 Not tainted 5.12.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events toggle_allocation_gate
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline]
RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline]
RIP: 0010:PageReserved include/linux/page-flags.h:354 [inline]
RIP: 0010:__text_poke+0x12a/0x8c0 arch/x86/kernel/alternative.c:877
Code: 3b ff 0f 84 99 06 00 00 be 08 00 00 00 48 89 df e8 cb 54 8e 00 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 cf 06 00 00 48 8b 03 f6 c4 10 0f 84 76 06 00 00 49 81 fe 00
RSP: 0018:ffffc90001a5fa48 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffea000006dcc0 RCX: ffffffff81294a35
RDX: 1ffffd400000db98 RSI: 0000000000000008 RDI: ffffea000006dcc0
RBP: 0000000000000005 R08: 0000000000000000 R09: ffffea000006dcc7
R10: fffff9400000db98 R11: 000000000000003f R12: ffffffff81b73823
R13: 0000000000000001 R14: 0000000000000824 R15: ffffffff8f35c290
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f443741f000 CR3: 000000000bc8e000 CR4: 0000000000350ef0
Call Trace:
 text_poke_bp_batch+0x3c5/0x550 arch/x86/kernel/alternative.c:1257
 text_poke_flush arch/x86/kernel/alternative.c:1347 [inline]
 text_poke_flush arch/x86/kernel/alternative.c:1344 [inline]
 text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1354
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:126
 jump_label_update+0x1da/0x400 kernel/jump_label.c:825
 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207
 static_key_disable+0x16/0x20 kernel/jump_label.c:215
 toggle_allocation_gate mm/kfence/core.c:626 [inline]
 toggle_allocation_gate+0x23a/0x2e0 mm/kfence/core.c:601
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (348):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/03 19:00 upstream 57fbdb15ec42 6a81331a .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/04/03 17:56 upstream 57fbdb15ec42 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/04/03 03:04 upstream d93a0d43e3d0 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/04/02 14:44 upstream 1678e493d530 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/04/02 12:15 upstream 1678e493d530 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/04/01 22:45 upstream ffd9fb546d49 6a81331a .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/04/01 21:12 upstream ffd9fb546d49 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/04/01 19:01 upstream ffd9fb546d49 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/04/01 06:54 upstream d19cc4bfbff1 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/04/01 05:54 upstream d19cc4bfbff1 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/04/01 04:42 upstream d19cc4bfbff1 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/31 16:36 upstream 5e46d1b78a03 6a81331a .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/31 14:24 upstream 5e46d1b78a03 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/31 12:40 upstream 5e46d1b78a03 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/31 02:09 upstream 2bb25b3a748a 6a81331a .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/31 00:44 upstream 2bb25b3a748a 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/30 23:11 upstream 2bb25b3a748a 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/30 22:08 upstream 2bb25b3a748a 6a81331a .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/29 22:46 upstream 1e43c377a79f 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/29 21:26 upstream 1e43c377a79f 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/29 14:46 upstream a5e13c6df0e4 a8529b82 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/29 13:31 upstream a5e13c6df0e4 a8529b82 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/28 22:53 upstream 81b1d39fd39a a8529b82 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/28 21:02 upstream 36a14638f7c0 a8529b82 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/27 10:35 upstream 0f4498cef9f5 a8529b82 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/27 09:06 upstream 0f4498cef9f5 a8529b82 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/27 08:04 upstream 0f4498cef9f5 a8529b82 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/26 18:39 upstream db24726bfefa a8529b82 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/26 18:31 upstream db24726bfefa a8529b82 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/26 09:41 upstream db24726bfefa 6a383ecf .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/26 08:39 upstream db24726bfefa 6a383ecf .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/26 07:02 upstream db24726bfefa 6a383ecf .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/25 19:28 upstream e138138003eb 6a383ecf .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/25 18:15 upstream e138138003eb 6a383ecf .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/25 17:09 upstream e138138003eb 607e3baf .config console log report info ci-upstream-kasan-gce-root INFO: task hung in freeze_super
2021/03/25 00:50 upstream 4ee998b0ef8b 607e3baf .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/24 23:13 upstream 4ee998b0ef8b 607e3baf .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/24 21:28 upstream 4ee998b0ef8b 607e3baf .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/24 15:33 upstream 7acac4b3196c 607e3baf .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/24 15:13 upstream 7acac4b3196c 607e3baf .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/24 13:39 upstream 7acac4b3196c 607e3baf .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/23 20:21 upstream 7acac4b3196c e613994b .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/23 19:02 upstream 7acac4b3196c e613994b .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/23 17:43 upstream 84196390620a e613994b .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/23 15:50 upstream 84196390620a e613994b .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in freeze_super
2021/03/22 22:26 upstream 84196390620a 8092f30d .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/22 20:41 upstream 84196390620a 8092f30d .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in freeze_super
2021/03/05 02:01 upstream cee407c5cc42 f89ed068 .config console log report info ci-qemu2-arm64-compat INFO: task hung in freeze_super
2021/03/13 13:11 linux-next d98f554b318f 4a003785 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in freeze_super
2021/01/18 04:17 linux-next b3a3cbdec55b fd103621 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in freeze_super
2021/01/17 14:23 linux-next b3a3cbdec55b 813be542 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/14 08:13 linux-next 9152a993930d 269d24e8 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/04 06:02 linux-next 766eff5a4f6c 79264ae3 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.