syzbot


INFO: task hung in gfs2_gl_hash_clear

Status: auto-closed as invalid on 2021/02/02 22:47
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+938b0fd3a48bf32ef1f1@syzkaller.appspotmail.com
First crash: 1336d, last: 1324d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task hung in gfs2_gl_hash_clear 0 (1) 2020/10/30 22:44
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in gfs2_gl_hash_clear (2) gfs2 1 745d 744d 0/27 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 1263 5h17m 325d 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 1545 5h07m 313d 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 534d 534d 0/1 upstream: reported on 2023/01/04 01:01
upstream INFO: task can't die in gfs2_gl_hash_clear (2) gfs2 3 1156d 1250d 0/27 auto-closed as invalid on 2021/07/21 03:15
upstream INFO: task hung in gfs2_gl_hash_clear (3) gfs2 C error done 80 181d 570d 26/27 fixed on 2024/01/30 15:47

Sample crash report:
INFO: task syz-executor.3:16565 blocked for more than 143 seconds.
      Not tainted 5.10.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:25720 pid:16565 ppid:  8484 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3774 [inline]
 __schedule+0x92c/0xcb0 kernel/sched/core.c:4523
 schedule+0x14b/0x200 kernel/sched/core.c:4601
 schedule_timeout+0x15c/0x250 kernel/time/timer.c:1871
 gfs2_gl_hash_clear+0x128/0x380 fs/gfs2/glock.c:1989
 gfs2_fill_super+0x2aa7/0x3db0 fs/gfs2/ops_fstype.c:1233
 get_tree_bdev+0x3e9/0x5f0 fs/super.c:1344
 gfs2_get_tree+0x4c/0x1f0 fs/gfs2/ops_fstype.c:1256
 vfs_get_tree+0x88/0x270 fs/super.c:1549
 do_new_mount fs/namespace.c:2875 [inline]
 path_mount+0x17b4/0x2a20 fs/namespace.c:3205
 do_mount fs/namespace.c:3218 [inline]
 __do_sys_mount fs/namespace.c:3426 [inline]
 __se_sys_mount+0x28c/0x320 fs/namespace.c:3403
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x46090a
Code: Unable to access opcode bytes at RIP 0x4608e0.
RSP: 002b:00007f033bf9ca88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f033bf9cb20 RCX: 000000000046090a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f033bf9cae0
RBP: 00007f033bf9cae0 R08: 00007f033bf9cb20 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020047a20

Showing all locks held in the system:
8 locks held by kworker/u4:4/1028:
1 lock held by khungtaskd/1643:
 #0: ffffffff8bae6800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151
1 lock held by in:imklog/8167:
 #0: ffff888019343c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24b/0x2e0 fs/file.c:932
1 lock held by syz-executor.3/16565:
 #0: ffff8880243680e0 (&type->s_umount_key#65/1){+.+.}-{3:3}, at: alloc_super+0x1a7/0x860 fs/super.c:229

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

NMI backtrace for cpu 0
CPU: 0 PID: 1643 Comm: khungtaskd Not tainted 5.10.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x137/0x1be lib/dump_stack.c:118
 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+0xcb0/0xcf0 kernel/hung_task.c:294
 kthread+0x36b/0x390 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4881 Comm: systemd-journal Not tainted 5.10.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rcu_lockdep_current_cpu_online+0xd8/0x100 kernel/rcu/tree.c:1156
Code: c6 70 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 ca 6b 55 00 49 23 1e 0f 95 c0 65 ff 0d e9 63 a0 7e 74 06 5b 41 5e <41> 5f c3 e8 9f c0 9e ff eb f3 48 c7 c7 20 ae ae 8b 48 89 de e8 7f
RSP: 0018:ffffc9000133fd18 EFLAGS: 00000282
RAX: 1ffffffff175d401 RBX: 0000000000000000 RCX: 0000000080000001
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8880b9d35658
RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff19dc46e
R10: fffffbfff19dc46e R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007fab182728c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fab15795020 CR3: 00000000119fc000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rcu_read_lock_held_common kernel/rcu/update.c:110 [inline]
 rcu_read_lock_sched_held+0x2c/0xb0 kernel/rcu/update.c:121
 trace_lock_acquire+0x6b/0x180 include/trace/events/lock.h:13
 lock_acquire+0x39/0x5e0 kernel/locking/lockdep.c:5407
 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:248
 rcu_read_lock include/linux/rcupdate.h:641 [inline]
 mntput_no_expire+0x7e/0xce0 fs/namespace.c:1143
 do_faccessat+0x580/0x870 fs/open.c:457
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fab1752e9c7
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:00007ffdbf3bb118 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffdbf3be030 RCX: 00007fab1752e9c7
RDX: 00007fab17f9fa00 RSI: 0000000000000000 RDI: 000055625c8ea9a3
RBP: 00007ffdbf3bb150 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffdbf3be030 R15: 00007ffdbf3bb640

Crashes (156):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/04 22:46 upstream 4ef8451b3326 64069d48 .config console log report info ci-upstream-kasan-gce-smack-root
2020/11/04 21:27 upstream 4ef8451b3326 64069d48 .config console log report info ci-upstream-kasan-gce-root
2020/11/04 08:37 upstream 4ef8451b3326 cba33199 .config console log report info ci-upstream-kasan-gce-smack-root
2020/11/04 07:28 upstream 4ef8451b3326 cba33199 .config console log report info ci-upstream-kasan-gce-root
2020/11/03 18:40 upstream b7cbaf59f62f cba33199 .config console log report info ci-upstream-kasan-gce-smack-root
2020/11/03 17:41 upstream b7cbaf59f62f cba33199 .config console log report info ci-upstream-kasan-gce-root
2020/11/03 01:50 upstream 495023e4e49e cba33199 .config console log report info ci-upstream-kasan-gce-root
2020/11/03 00:50 upstream 495023e4e49e 8bc4594f .config console log report info ci-upstream-kasan-gce-root
2020/11/02 01:13 upstream 3cea11cd5e3b 8bc4594f .config console log report info ci-upstream-kasan-gce-smack-root
2020/11/02 00:43 upstream 3cea11cd5e3b 8bc4594f .config console log report info ci-upstream-kasan-gce-selinux-root
2020/11/01 13:32 upstream c2dc4c073fb7 8bc4594f .config console log report info ci-upstream-kasan-gce-root
2020/11/01 12:30 upstream c2dc4c073fb7 8bc4594f .config console log report info ci-upstream-kasan-gce-smack-root
2020/11/01 11:22 upstream c2dc4c073fb7 8bc4594f .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/31 22:43 upstream bb3540be73ca 8bc4594f .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/31 21:35 upstream bb3540be73ca 8bc4594f .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/31 15:33 upstream 5fc6b075e165 8bc4594f .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/31 14:03 upstream 5fc6b075e165 8bc4594f .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/31 13:06 upstream 5fc6b075e165 8bc4594f .config console log report info ci-upstream-kasan-gce-root
2020/10/31 01:08 upstream 5fc6b075e165 18e33098 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/30 23:37 upstream 5fc6b075e165 a6e3ac3b .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/30 22:15 upstream 07e088730245 a6e3ac3b .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/30 19:59 upstream 07e088730245 a6e3ac3b .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/30 12:08 upstream 07e088730245 a6e3ac3b .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/30 10:45 upstream 07e088730245 a6e3ac3b .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/30 09:57 upstream 07e088730245 a6e3ac3b .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/30 08:40 upstream 07e088730245 a0c7169a .config console log report info ci-upstream-kasan-gce-root
2020/10/30 07:40 upstream 07e088730245 a0c7169a .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/29 19:37 upstream 23859ae44402 a0c7169a .config console log report info ci-upstream-kasan-gce-root
2020/10/29 18:25 upstream 23859ae44402 a0c7169a .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/29 08:50 upstream 23859ae44402 f24824d3 .config console log report info ci-upstream-kasan-gce-root
2020/10/29 07:49 upstream 23859ae44402 f24824d3 .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/29 07:35 upstream 23859ae44402 f24824d3 .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/29 06:29 upstream 23859ae44402 f24824d3 .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/28 19:02 upstream ed8780e3f2ec f24824d3 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/28 17:35 upstream ed8780e3f2ec f24824d3 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/28 15:16 upstream ed8780e3f2ec 96e03c1c .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/28 14:13 upstream ed8780e3f2ec 96e03c1c .config console log report info ci-upstream-kasan-gce-root
2020/10/27 23:17 upstream 8c2ab803e565 96e03c1c .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/27 13:37 upstream 4525c8781ec0 94942294 .config console log report info ci-upstream-kasan-gce-root
2020/10/27 12:26 upstream 4525c8781ec0 94942294 .config console log report info ci-upstream-kasan-gce-root
2020/10/27 11:50 upstream 4525c8781ec0 94942294 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/27 11:45 upstream 4525c8781ec0 94942294 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/27 10:37 upstream 4525c8781ec0 94942294 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/27 00:32 upstream 41ba50b0572e 8b3eaf58 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/27 00:06 upstream 41ba50b0572e 8b3eaf58 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/26 23:58 upstream 41ba50b0572e 8b3eaf58 .config console log report info ci-upstream-kasan-gce-root
2020/10/26 23:58 upstream 41ba50b0572e 8b3eaf58 .config console log report info ci-upstream-kasan-gce-root
2020/10/26 22:50 upstream 41ba50b0572e 8b3eaf58 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/26 22:33 upstream 41ba50b0572e 8b3eaf58 .config console log report info ci-upstream-kasan-gce-root
2020/10/23 20:15 upstream 0adc313c4f20 2bb6666c .config console log report info ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.