syzbot


INFO: task hung in d_alloc_parallel (2)

Status: upstream: reported C repro on 2019/10/22 22:44
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+55f124a35eac76b52fb7@syzkaller.appspotmail.com
First crash: 1765d, last: 33m
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: INFO: task hung in lookup_slow (log)
Repro: C syz .config
  
Fix bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
INFO: task hung in d_alloc_parallel (2) 0 (1) 2019/10/22 22:44
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in d_alloc_parallel 85 1714d 1863d 0/3 auto-closed as invalid on 2020/01/08 20:52
linux-5.15 INFO: task hung in d_alloc_parallel origin:upstream C 22 6d06h 32d 0/3 upstream: reported C repro on 2024/04/18 05:41
linux-4.14 INFO: task hung in d_alloc_parallel C error 4 1133d 1741d 0/1 upstream: reported C repro on 2019/08/14 00:43
android-414 INFO: task hung in d_alloc_parallel 1 1673d 1673d 0/1 auto-closed as invalid on 2020/02/18 04:29
linux-4.19 INFO: task hung in d_alloc_parallel vfs C error 5 463d 1480d 0/1 upstream: reported C repro on 2020/05/01 20:49
upstream INFO: task hung in d_alloc_parallel fuse 213 1907d 2238d 0/26 closed as dup on 2018/09/08 15:40
linux-6.1 INFO: task hung in d_alloc_parallel 37 3d04h 35d 0/3 upstream: reported on 2024/04/15 03:31
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/02/06 21:55 24m retest repro upstream OK log
2023/11/28 03:27 45m retest repro upstream log
2023/09/16 17:57 19m retest repro upstream log
2023/07/04 22:07 18m retest repro upstream log
2023/07/04 22:07 21m retest repro upstream OK log

Sample crash report:
INFO: task syz-executor942:8475 blocked for more than 143 seconds.
      Not tainted 5.14.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor942 state:D stack:28984 pid: 8475 ppid:  8448 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4683 [inline]
 __schedule+0x93a/0x26f0 kernel/sched/core.c:5940
 schedule+0xd3/0x270 kernel/sched/core.c:6019
 d_wait_lookup fs/dcache.c:2562 [inline]
 d_alloc_parallel+0x105b/0x19f0 fs/dcache.c:2644
 __lookup_slow+0x193/0x480 fs/namei.c:1631
 lookup_slow fs/namei.c:1663 [inline]
 walk_component+0x40f/0x6a0 fs/namei.c:1959
 lookup_last fs/namei.c:2414 [inline]
 path_lookupat+0x1bb/0x860 fs/namei.c:2438
 filename_lookup+0x1c6/0x5b0 fs/namei.c:2467
 user_path_at include/linux/namei.h:57 [inline]
 __do_sys_chdir fs/open.c:493 [inline]
 __se_sys_chdir fs/open.c:487 [inline]
 __x64_sys_chdir+0xb7/0x260 fs/open.c:487
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x44aab9
RSP: 002b:00007f8f216cd2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00000000004cc4e0 RCX: 000000000044aab9
RDX: 00007f8f216cd700 RSI: c8d0f6fefea0521c RDI: 0000000020000040
RBP: 000000000049b0b0 R08: 00007f8f216cd700 R09: 0000000000000000
R10: 00007f8f216cd700 R11: 0000000000000246 R12: 00000000200011c0
R13: 0030656c69662f2e R14: 000000807fffffff R15: 00000000004cc4e8

Showing all locks held in the system:
1 lock held by khungtaskd/1632:
 #0: ffffffff8b979000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446
6 locks held by kswapd0/2143:
1 lock held by in:imklog/8146:
 #0: ffff8880164aadf0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974
1 lock held by syz-executor942/8465:
1 lock held by syz-executor942/8468:
1 lock held by syz-executor942/8470:
1 lock held by syz-executor942/8466:
2 locks held by syz-executor942/8460:
1 lock held by syz-executor942/8475:
 #0: ffff8880414a0210 (&type->i_mutex_dir_key#7){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline]
 #0: ffff8880414a0210 (&type->i_mutex_dir_key#7){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1662 [inline]
 #0: ffff8880414a0210 (&type->i_mutex_dir_key#7){.+.+}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1959
1 lock held by syz-executor942/8473:

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

NMI backtrace for cpu 1
CPU: 1 PID: 1632 Comm: khungtaskd Not tainted 5.14.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105
 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:210 [inline]
 watchdog+0xd0a/0xfc0 kernel/hung_task.c:295
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8466 Comm: syz-executor942 Not tainted 5.14.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:mapping_get_entry mm/filemap.c:1778 [inline]
RIP: 0010:pagecache_get_page+0x19f/0x18d0 mm/filemap.c:1839
Code: 48 81 fd 02 04 00 00 74 cc e8 dd 83 db ff 48 85 ed 0f 84 68 0c 00 00 e8 cf 83 db ff 41 89 ee 31 ff 41 83 e6 01 48 89 6c 24 20 <44> 89 f6 e8 69 8b db ff 45 84 f6 0f 85 5d 0c 00 00 e8 ab 83 db ff
RSP: 0018:ffffc900018f7398 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88802ed1c2c0 RSI: ffffffff81994d01 RDI: 0000000000000000
RBP: ffffea000183a840 R08: 0000000000000002 R09: 0000000000000000
R10: ffffffff83f42f86 R11: 0000000000000000 R12: 0000000000000002
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000007
FS:  00007f8f216ee700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbb54cb9028 CR3: 000000003a9c8000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 find_or_create_page include/linux/pagemap.h:420 [inline]
 grow_dev_page fs/buffer.c:949 [inline]
 grow_buffers fs/buffer.c:1014 [inline]
 __getblk_slow+0x217/0xb70 fs/buffer.c:1041
 __getblk_gfp fs/buffer.c:1334 [inline]
 __bread_gfp+0x275/0x3c0 fs/buffer.c:1379
 sb_bread include/linux/buffer_head.h:303 [inline]
 get_branch fs/minix/itree_common.c:46 [inline]
 get_block+0x293/0x1450 fs/minix/itree_common.c:166
 minix_get_block+0xbb/0x110 fs/minix/inode.c:397
 block_read_full_page+0x28d/0xdf0 fs/buffer.c:2284
 do_read_cache_page+0x8e8/0x13c0 mm/filemap.c:3348
 read_mapping_page include/linux/pagemap.h:515 [inline]
 dir_get_page fs/minix/dir.c:70 [inline]
 minix_find_entry+0x203/0x7e0 fs/minix/dir.c:170
 minix_inode_by_name+0x6d/0x460 fs/minix/dir.c:454
 minix_lookup fs/minix/namei.c:30 [inline]
 minix_lookup+0x103/0x190 fs/minix/namei.c:22
 __lookup_slow+0x24c/0x480 fs/namei.c:1646
 lookup_slow fs/namei.c:1663 [inline]
 walk_component+0x40f/0x6a0 fs/namei.c:1959
 lookup_last fs/namei.c:2414 [inline]
 path_lookupat+0x1bb/0x860 fs/namei.c:2438
 filename_lookup+0x1c6/0x5b0 fs/namei.c:2467
 user_path_at include/linux/namei.h:57 [inline]
 __do_sys_chdir fs/open.c:493 [inline]
 __se_sys_chdir fs/open.c:487 [inline]
 __x64_sys_chdir+0xb7/0x260 fs/open.c:487
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x44aab9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8f216ee2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00000000004cc4d0 RCX: 000000000044aab9
RDX: 00007f8f216ee700 RSI: c8d0f6fa9ea0521c RDI: 0000000020000040
RBP: 000000000049b0b0 R08: 00007f8f216ee700 R09: 0000000000000000
R10: 00007f8f216ee700 R11: 0000000000000246 R12: 00000000200011c0
R13: 0030656c69662f2e R14: 000000807fffffff R15: 00000000004cc4d8
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.006 msecs

Crashes (606):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/03 06:59 upstream c500bee1c5b2 6c236867 .config console log report syz C ci-upstream-kasan-gce-selinux-root INFO: task hung in d_alloc_parallel
2019/10/20 00:35 upstream 998d75510e37 8c88c9c1 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2024/05/20 22:46 upstream daa121128a2d c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/20 17:18 upstream eb6a9339efeb c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/20 13:20 upstream eb6a9339efeb c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/20 12:22 upstream eb6a9339efeb c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/20 03:39 upstream 61307b7be41a c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/19 23:58 upstream 61307b7be41a c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/19 01:32 upstream 4b377b4868ef c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in d_alloc_parallel
2024/05/19 00:30 upstream 4b377b4868ef c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/18 23:25 upstream 4b377b4868ef c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/18 12:40 upstream 7ee332c9f12b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/18 11:24 upstream 7ee332c9f12b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/18 10:04 upstream 7ee332c9f12b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/18 07:51 upstream 7ee332c9f12b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/17 22:53 upstream ff2632d7d08e a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/17 18:00 upstream ea5f6ad9ad96 a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/17 08:10 upstream ea5f6ad9ad96 c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in d_alloc_parallel
2024/05/16 19:46 upstream 3c999d1ae3c7 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in d_alloc_parallel
2024/05/16 15:33 upstream 3c999d1ae3c7 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in d_alloc_parallel
2024/05/16 09:58 upstream 8c06da67d0bd ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/16 09:27 upstream 8c06da67d0bd ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/16 01:02 upstream 1b294a1f3561 0b3dad46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in d_alloc_parallel
2024/05/15 16:50 upstream b850dc206a57 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/14 23:56 upstream a5131c3fdf26 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/14 12:39 upstream 8815da98e06a fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/14 11:28 upstream 8815da98e06a fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/14 09:18 upstream cd97950cbcab fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/14 04:52 upstream cd97950cbcab fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in d_alloc_parallel
2024/05/13 15:15 upstream a38297e3fb01 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/13 01:31 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/12 21:26 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/12 21:25 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/12 20:03 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/12 15:20 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in d_alloc_parallel
2024/05/12 13:53 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in d_alloc_parallel
2024/05/12 06:57 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/12 01:29 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/12 01:07 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in d_alloc_parallel
2024/05/11 15:14 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/11 12:10 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in d_alloc_parallel
2024/05/11 09:49 upstream f4345f05c0df 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/11 06:15 upstream f4345f05c0df f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2024/05/11 01:02 upstream f4345f05c0df f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in d_alloc_parallel
2021/03/04 18:36 upstream f69d02e37a85 d7e4e604 .config console log report info ci-upstream-kasan-gce INFO: task hung in d_alloc_parallel
2021/02/11 23:05 upstream 291009f656e8 a5f86b15 .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in d_alloc_parallel
2024/05/20 02:05 linux-next c75962170e49 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/19 03:55 linux-next c75962170e49 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/18 15:47 linux-next c75962170e49 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/14 20:59 linux-next 26dd54d03cd9 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/12 12:47 linux-next 75fa778d74b7 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in d_alloc_parallel
2024/05/15 23:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c 0b3dad46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in d_alloc_parallel
2024/05/14 01:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in d_alloc_parallel
2021/01/15 05:57 upstream 146620506274 65a7a854 .config console log report info ci-upstream-kasan-gce-selinux-root
2019/07/21 13:08 upstream c6dd78fcb8ee 1656845f .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.