syzbot


INFO: task can't die in gfs2_gl_hash_clear (2)

Status: auto-closed as invalid on 2021/07/21 03:15
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+79629401bd610baf168d@syzkaller.appspotmail.com
First crash: 1198d, last: 1100d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task can't die in gfs2_gl_hash_clear gfs2 41 1276d 1281d 0/26 auto-closed as invalid on 2020/12/07 03:08
upstream INFO: task hung in gfs2_gl_hash_clear (2) gfs2 1 689d 687d 0/26 auto-closed as invalid on 2022/09/04 20:20
linux-5.15 INFO: task hung in gfs2_gl_hash_clear origin:lts-only C inconclusive 334 36m 269d 0/3 upstream: reported C repro on 2023/08/01 02:35
linux-6.1 INFO: task hung in gfs2_gl_hash_clear missing-backport origin:lts-only C done 481 3h01m 256d 0/3 upstream: reported C repro on 2023/08/13 12:57
linux-4.19 INFO: task hung in gfs2_gl_hash_clear gfs2 1 478d 478d 0/1 upstream: reported on 2023/01/04 01:01
upstream INFO: task hung in gfs2_gl_hash_clear (3) gfs2 C error done 80 125d 514d 26/26 fixed on 2024/01/30 15:47
upstream INFO: task hung in gfs2_gl_hash_clear gfs2 156 1268d 1273d 0/26 auto-closed as invalid on 2021/02/02 22:47

Sample crash report:
INFO: task syz-executor.2:11050 can't die for more than 143 seconds.
task:syz-executor.2  state:D stack:25632 pid:11050 ppid:  8451 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4353 [inline]
 __schedule+0x90c/0x2150 kernel/sched/core.c:5103
 schedule+0xcf/0x270 kernel/sched/core.c:5182
 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/0x1fa0 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:0x46748a
RSP: 002b:00007f4f38ac6fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046748a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f4f38ac7000
RBP: 00007f4f38ac7040 R08: 00007f4f38ac7040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000
R13: 0000000020000100 R14: 00007f4f38ac7000 R15: 0000000020047a20

Showing all locks held in the system:
1 lock held by khungtaskd/1640:
 #0: ffffffff8bf74360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6332
3 locks held by kworker/0:1H/2148:
 #0: ffff8880179e1138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff8880179e1138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff8880179e1138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff8880179e1138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff8880179e1138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff8880179e1138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2246
 #1: ffffc90008087da8 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2250
 #2: ffff88805bb620e0 (&type->s_umount_key#62){+.+.}-{3:3}, at: freeze_super+0x41/0x330 fs/super.c:1664
1 lock held by in:imklog/8124:
1 lock held by syz-executor.2/11050:
 #0: ffff88805bb620e0 (&type->s_umount_key#61/1){+.+.}-{3:3}, at: alloc_super+0x1dd/0xab0 fs/super.c:229

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


Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/11 09:38 linux-next b01d57bfdc41 c2ca1f2a .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in gfs2_gl_hash_clear
2021/04/22 03:14 upstream 16fc44d6387e 2bc8999a .config console log report info ci-upstream-kasan-gce-root INFO: task hung in gfs2_gl_hash_clear
2021/01/14 02:56 linux-next aa515cdce7a1 269d24e8 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.