syzbot


INFO: task can't die in gfs2_gl_hash_clear

Status: auto-closed as invalid on 2020/12/07 03:08
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+08b6bdbd4c6e64e520ff@syzkaller.appspotmail.com
First crash: 1255d, last: 1248d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task can't die in gfs2_gl_hash_clear 0 (1) 2020/10/23 08:27
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task can't die in gfs2_gl_hash_clear (2) gfs2 3 1072d 1166d 0/26 auto-closed as invalid on 2021/07/21 03:15

Sample crash report:
INFO: task syz-executor.5:10185 can't die for more than 143 seconds.
task:syz-executor.5  state:D stack:25896 pid:10185 ppid:  8543 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3773 [inline]
 __schedule+0x893/0x2130 kernel/sched/core.c:4522
 schedule+0xcf/0x270 kernel/sched/core.c:4600
 schedule_timeout+0x148/0x250 kernel/time/timer.c:1876
 gfs2_gl_hash_clear+0x240/0x270 fs/gfs2/glock.c:1989
 gfs2_fill_super+0x1e81/0x23f0 fs/gfs2/ops_fstype.c:1233
 get_tree_bdev+0x421/0x740 fs/super.c:1344
 gfs2_get_tree+0x4a/0x270 fs/gfs2/ops_fstype.c:1256
 vfs_get_tree+0x89/0x2f0 fs/super.c:1549
 do_new_mount fs/namespace.c:2896 [inline]
 path_mount+0x12ae/0x1e70 fs/namespace.c:3227
 do_mount fs/namespace.c:3240 [inline]
 __do_sys_mount fs/namespace.c:3448 [inline]
 __se_sys_mount fs/namespace.c:3425 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3425
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x46089a
Code: Unable to access opcode bytes at RIP 0x460870.
RSP: 002b:00007f128fe7ba88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f128fe7bb20 RCX: 000000000046089a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f128fe7bae0
RBP: 00007f128fe7bae0 R08: 00007f128fe7bb20 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020047a20
INFO: task syz-executor.5:10185 blocked for more than 143 seconds.
      Not tainted 5.10.0-rc1-next-20201027-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:25896 pid:10185 ppid:  8543 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3773 [inline]
 __schedule+0x893/0x2130 kernel/sched/core.c:4522
 schedule+0xcf/0x270 kernel/sched/core.c:4600
 schedule_timeout+0x148/0x250 kernel/time/timer.c:1876
 gfs2_gl_hash_clear+0x240/0x270 fs/gfs2/glock.c:1989
 gfs2_fill_super+0x1e81/0x23f0 fs/gfs2/ops_fstype.c:1233
 get_tree_bdev+0x421/0x740 fs/super.c:1344
 gfs2_get_tree+0x4a/0x270 fs/gfs2/ops_fstype.c:1256
 vfs_get_tree+0x89/0x2f0 fs/super.c:1549
 do_new_mount fs/namespace.c:2896 [inline]
 path_mount+0x12ae/0x1e70 fs/namespace.c:3227
 do_mount fs/namespace.c:3240 [inline]
 __do_sys_mount fs/namespace.c:3448 [inline]
 __se_sys_mount fs/namespace.c:3425 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3425
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x46089a
Code: Unable to access opcode bytes at RIP 0x460870.
RSP: 002b:00007f128fe7ba88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f128fe7bb20 RCX: 000000000046089a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f128fe7bae0
RBP: 00007f128fe7bae0 R08: 00007f128fe7bb20 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020047a20

Showing all locks held in the system:
1 lock held by khungtaskd/1655:
 #0: ffffffff8b337d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6259
1 lock held by in:imklog/8197:
 #0: ffff888022291270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:932
1 lock held by syz-executor.5/10185:
 #0: ffff88806b4820e0 (&type->s_umount_key#53/1){+.+.}-{3:3}, at: alloc_super+0x201/0xaf0 fs/super.c:229

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

NMI backtrace for cpu 1
CPU: 1 PID: 1655 Comm: khungtaskd Not tainted 5.10.0-rc1-next-20201027-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+0x107/0x163 lib/dump_stack.c:118
 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:147 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline]
 watchdog+0xd89/0xf30 kernel/hung_task.c:339
 kthread+0x3af/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4892 Comm: systemd-journal Not tainted 5.10.0-rc1-next-20201027-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:generic_permission+0x4/0x550 fs/namei.c:347
Code: 43 ff ff ff 48 c7 c7 78 ae e3 8a e8 f6 9d f2 ff e9 72 ff ff ff e8 6c 9e f2 ff eb b7 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 <41> 55 41 54 41 89 f4 55 48 89 fd 53 e8 9b f7 b0 ff 48 89 ea 48 b8
RSP: 0018:ffffc900014ffb68 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81bf3a25
RDX: ffff88801190cf80 RSI: 0000000000000081 RDI: ffff888020fadb20
RBP: ffff888020fadb20 R08: 0000000000000002 R09: ffff888024c9e940
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000081 R14: ffff888020fadb22 R15: 2f6c616e72756f6a
FS:  00007f3e1b6fd8c0(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3e18b18000 CR3: 00000000114c8000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_inode_permission fs/namei.c:405 [inline]
 inode_permission.part.0+0x8f/0x410 fs/namei.c:463
 inode_permission fs/namei.c:444 [inline]
 may_lookup fs/namei.c:1569 [inline]
 link_path_walk.part.0+0x1f2/0xc20 fs/namei.c:2126
 link_path_walk fs/namei.c:2112 [inline]
 path_lookupat+0xb7/0x830 fs/namei.c:2333
 filename_lookup+0x19f/0x560 fs/namei.c:2367
 user_path_at include/linux/namei.h:59 [inline]
 do_faccessat+0x129/0x820 fs/open.c:423
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f3e1a9b99c7
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:00007ffddcd75598 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffddcd785c0 RCX: 00007f3e1a9b99c7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055f888a6b9a3
RBP: 00007ffddcd756e0 R08: 000055f888a613e5 R09: 0000000000000018
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 000055f88a87e8a0 R15: 00007ffddcd75bd0

Crashes (41):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/28 03:07 linux-next 0dec50edcc92 96e03c1c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/27 23:45 linux-next 0dec50edcc92 96e03c1c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/27 23:05 linux-next 0dec50edcc92 96e03c1c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/27 22:27 linux-next 0dec50edcc92 96e03c1c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/27 12:41 linux-next 0dec50edcc92 94942294 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/27 07:50 linux-next 0dec50edcc92 8b3eaf58 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/27 07:50 linux-next 0dec50edcc92 8b3eaf58 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/27 05:58 linux-next 0dec50edcc92 8b3eaf58 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 23:39 linux-next 2ef991b5fdbe 8b3eaf58 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 23:39 linux-next 2ef991b5fdbe 8b3eaf58 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 22:08 linux-next 2ef991b5fdbe 8b3eaf58 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 13:02 linux-next 2ef991b5fdbe a7aac492 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 11:38 linux-next 2ef991b5fdbe a7aac492 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 11:38 linux-next 2ef991b5fdbe a7aac492 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 10:36 linux-next 2ef991b5fdbe a7aac492 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 03:51 linux-next 2ef991b5fdbe a1839e81 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/26 03:32 linux-next 2ef991b5fdbe a1839e81 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/24 13:45 linux-next 9695c4ff2645 a1839e81 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/24 12:47 linux-next 9695c4ff2645 a1839e81 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/23 23:01 linux-next 9695c4ff2645 2bb6666c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/23 21:24 linux-next 9695c4ff2645 2bb6666c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/23 19:47 linux-next 9695c4ff2645 2bb6666c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/23 05:29 linux-next 9695c4ff2645 4e740c00 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/23 05:28 linux-next 9695c4ff2645 4e740c00 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/23 05:01 linux-next 9695c4ff2645 4e740c00 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/23 04:49 linux-next 9695c4ff2645 4e740c00 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/22 23:07 linux-next 37b992c4486c 4e740c00 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/22 22:41 linux-next 37b992c4486c 4e740c00 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/22 07:48 linux-next 37b992c4486c be6b1582 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/22 07:04 linux-next 37b992c4486c be6b1582 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/22 06:24 linux-next 37b992c4486c be6b1582 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/22 04:59 linux-next 37b992c4486c be6b1582 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/22 02:22 linux-next 5302568121ba be6b1582 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/22 01:52 linux-next 5302568121ba be6b1582 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/21 23:36 linux-next 5302568121ba be6b1582 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/21 15:00 linux-next 5302568121ba 99c64d5c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/21 15:00 linux-next 5302568121ba 99c64d5c .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/21 07:47 linux-next 5302568121ba ff4a3345 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/21 07:45 linux-next 5302568121ba ff4a3345 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/21 05:35 linux-next 5302568121ba ff4a3345 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/21 05:35 linux-next 5302568121ba ff4a3345 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.