syzbot


INFO: task hung in d_alloc_parallel

Status: auto-closed as invalid on 2020/01/08 20:52
Reported-by: syzbot+3f82142ef57b7731ce38@syzkaller.appspotmail.com
First crash: 2181d, last: 1678d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: task hung in d_alloc_parallel C error 4 1097d 1706d 0/1 upstream: reported C repro on 2019/08/14 00:43
android-414 INFO: task hung in d_alloc_parallel 1 1638d 1638d 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 427d 1444d 0/1 upstream: reported C repro on 2020/05/01 20:49
upstream INFO: task hung in d_alloc_parallel fuse 213 1871d 2203d 0/26 closed as dup on 2018/09/08 15:40
linux-6.1 INFO: task hung in d_alloc_parallel 1 6h12m 6h11m 0/3 upstream: reported on 2024/04/15 03:31
upstream INFO: task hung in d_alloc_parallel (2) fs C done error 239 2h57m 1636d 0/26 upstream: reported C repro on 2019/10/22 22:44

Sample crash report:
FAT-fs (loop2): bogus logical sector size 1792
FAT-fs (loop2): Can't find a valid FAT filesystem
INFO: task syz-executor.0:7236 blocked for more than 140 seconds.
      Not tainted 4.9.192+ #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D28552  7236  32287 0x00000000
 0000000000000087 ffff8801d5e60000 0000000000000000 ffff8801db621000
 ffffffff83031180 ffff8801db621018 ffff88018e807730 ffffffff8281ac3e
 ffffffff81569f2a ffff8801d9f950e8 00ff88018e807680 ffff8801db6218f0
Call Trace:
 [<0000000091b86ee5>] schedule+0x92/0x1c0 kernel/sched/core.c:3546
 [<000000003efcc4e8>] d_wait_lookup fs/dcache.c:2450 [inline]
 [<000000003efcc4e8>] d_alloc_parallel+0x10af/0x1720 fs/dcache.c:2532
 [<0000000055ec7bd6>] lookup_open+0x4d1/0x18d0 fs/namei.c:3259
 [<000000007cf8ff2a>] do_last fs/namei.c:3440 [inline]
 [<000000007cf8ff2a>] path_openat+0x16cf/0x2f60 fs/namei.c:3665
 [<00000000e5c59cd1>] do_filp_open+0x1a1/0x280 fs/namei.c:3699
 [<00000000b30f63bf>] do_sys_open+0x2f0/0x610 fs/open.c:1097
 [<00000000feb0e5c9>] SYSC_openat fs/open.c:1124 [inline]
 [<00000000feb0e5c9>] SyS_openat+0x30/0x40 fs/open.c:1118
 [<0000000090fa6375>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288
 [<000000005145e18a>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb

Showing all locks held in the system:
2 locks held by khungtaskd/24:
 #0:  (rcu_read_lock){......}, at: [<000000005c7be1d7>] check_hung_uninterruptible_tasks kernel/hung_task.c:169 [inline]
 #0:  (rcu_read_lock){......}, at: [<000000005c7be1d7>] watchdog+0x14b/0xaf0 kernel/hung_task.c:263
 #1:  (tasklist_lock){.+.+..}, at: [<00000000b863f87f>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336
2 locks held by rs:main Q:Reg/1901:
 #0:  (&f->f_pos_lock){+.+.+.}, at: [<00000000d4c531a6>] __fdget_pos+0xa8/0xd0 fs/file.c:782
 #1:  (sb_writers#4){.+.+.+}, at: [<000000006a4e9936>] file_start_write include/linux/fs.h:2646 [inline]
 #1:  (sb_writers#4){.+.+.+}, at: [<000000006a4e9936>] vfs_write+0x3e9/0x520 fs/read_write.c:558
1 lock held by rsyslogd/1903:
 #0:  (&f->f_pos_lock){+.+.+.}, at: [<00000000d4c531a6>] __fdget_pos+0xa8/0xd0 fs/file.c:782
2 locks held by getty/2031:
 #0:  (&tty->ldisc_sem){++++++}, at: [<00000000b0954cc2>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376
 #1:  (&ldata->atomic_read_lock){+.+...}, at: [<000000001ef0872c>] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156
3 locks held by syz-executor.1/1285:
 #0:  (sb_writers#14){.+.+.+}, at: [<000000007a5731b0>] sb_start_write include/linux/fs.h:1579 [inline]
 #0:  (sb_writers#14){.+.+.+}, at: [<000000007a5731b0>] mnt_want_write+0x3f/0xb0 fs/namespace.c:391
 #1:  (&type->i_mutex_dir_key#7){++++++}, at: [<0000000052984a9d>] inode_lock include/linux/fs.h:771 [inline]
 #1:  (&type->i_mutex_dir_key#7){++++++}, at: [<0000000052984a9d>] do_last fs/namei.c:3437 [inline]
 #1:  (&type->i_mutex_dir_key#7){++++++}, at: [<0000000052984a9d>] path_openat+0xe4b/0x2f60 fs/namei.c:3665
 #2:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.1/1481:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.1/1638:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.1/1777:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.1/2123:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.1/2905:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.1/3099:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.1/3290:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.0/7006:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor.0/7230:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<000000006511c369>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<000000006511c369>] lookup_slow+0x160/0x480 fs/namei.c:1770
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
1 lock held by syz-executor.0/7236:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] do_last fs/namei.c:3439 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<00000000b1715d43>] path_openat+0x16a8/0x2f60 fs/namei.c:3665
2 locks held by syz-executor.0/8438:
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<000000006511c369>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#7){++++++}, at: [<000000006511c369>] lookup_slow+0x160/0x480 fs/namei.c:1770
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000d90cdb61>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364

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

NMI backtrace for cpu 0
CPU: 0 PID: 24 Comm: khungtaskd Not tainted 4.9.192+ #0
 ffff8801d98d7cc8 ffffffff81b67081 0000000000000000 0000000000000000
 0000000000000000 ffffffff81099e01 dffffc0000000000 ffff8801d98d7d00
 ffffffff81b7231c 0000000000000000 0000000000000000 0000000000000000
Call Trace:
 [<00000000f25dae6f>] __dump_stack lib/dump_stack.c:15 [inline]
 [<00000000f25dae6f>] dump_stack+0xc1/0x120 lib/dump_stack.c:51
 [<0000000049e55695>] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99
 [<00000000c5076d15>] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60
 [<00000000a5eee7da>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37
 [<000000000bf12154>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline]
 [<000000000bf12154>] check_hung_task kernel/hung_task.c:126 [inline]
 [<000000000bf12154>] check_hung_uninterruptible_tasks kernel/hung_task.c:183 [inline]
 [<000000000bf12154>] watchdog+0x670/0xaf0 kernel/hung_task.c:263
 [<00000000fa3e817f>] kthread+0x278/0x310 kernel/kthread.c:211
 [<00000000a974ab79>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at pc 0xffffffff82829d91

Crashes (85):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/10 20:51 https://android.googlesource.com/kernel/common android-4.9 bb1c7f3a1ca8 a60cb4cd .config console log report ci-android-49-kasan-gce-root
2019/07/29 04:05 https://android.googlesource.com/kernel/common android-4.9 3244efed0310 c85e1c5b .config console log report ci-android-49-kasan-gce-root
2019/02/14 17:55 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 76dd003f .config console log report ci-android-49-kasan-gce
2018/10/23 12:41 https://android.googlesource.com/kernel/common android-4.9 826f32857c23 24fa2ad8 .config console log report ci-android-49-kasan-gce-root
2018/10/02 00:00 https://android.googlesource.com/kernel/common android-4.9 1c7637ca0b04 e06f7713 .config console log report ci-android-49-kasan-gce-root
2018/08/29 00:17 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c b771b17e .config console log report ci-android-49-kasan-gce-root
2018/08/27 04:29 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 758cd203 .config console log report ci-android-49-kasan-gce-root
2018/08/26 16:36 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 758cd203 .config console log report ci-android-49-kasan-gce-root
2018/08/25 14:45 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 9be5aa1d .config console log report ci-android-49-kasan-gce-root
2018/08/25 04:41 https://android.googlesource.com/kernel/common android-4.9 6a1b5923548a 9b0f5c75 .config console log report ci-android-49-kasan-gce-root
2018/08/24 05:59 https://android.googlesource.com/kernel/common android-4.9 7fa8c15e72a4 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/23 15:47 https://android.googlesource.com/kernel/common android-4.9 8dd3fc2ed765 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/23 05:37 https://android.googlesource.com/kernel/common android-4.9 8dd3fc2ed765 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/21 23:02 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/18 07:50 https://android.googlesource.com/kernel/common android-4.9 681e57bb080a db1858f6 .config console log report ci-android-49-kasan-gce-root
2018/08/17 16:35 https://android.googlesource.com/kernel/common android-4.9 f85543ba3c54 738da825 .config console log report ci-android-49-kasan-gce-root
2018/08/15 03:16 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 0e6dcb88 .config console log report ci-android-49-kasan-gce-root
2018/08/14 14:44 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/14 09:22 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/13 01:27 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/12 22:26 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/12 21:19 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/12 14:31 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/11 13:57 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/11 06:59 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/08 14:39 https://android.googlesource.com/kernel/common android-4.9 47b77b8d01c4 ddeb9f8d .config console log report ci-android-49-kasan-gce-root
2018/08/08 13:36 https://android.googlesource.com/kernel/common android-4.9 47b77b8d01c4 ddeb9f8d .config console log report ci-android-49-kasan-gce-root
2018/08/08 00:24 https://android.googlesource.com/kernel/common android-4.9 47b77b8d01c4 1beb8136 .config console log report ci-android-49-kasan-gce-root
2018/08/07 10:52 https://android.googlesource.com/kernel/common android-4.9 47b77b8d01c4 1beb8136 .config console log report ci-android-49-kasan-gce-root
2018/08/07 01:46 https://android.googlesource.com/kernel/common android-4.9 47b77b8d01c4 1beb8136 .config console log report ci-android-49-kasan-gce-root
2018/08/06 03:16 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c 1beb8136 .config console log report ci-android-49-kasan-gce-root
2018/08/04 14:30 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c 3476a2df .config console log report ci-android-49-kasan-gce-root
2018/08/04 00:21 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c df7f6947 .config console log report ci-android-49-kasan-gce-root
2018/08/03 17:07 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c cc4f6d0a .config console log report ci-android-49-kasan-gce-root
2018/08/03 01:23 https://android.googlesource.com/kernel/common android-4.9 0137ea2134c0 5b7e23bb .config console log report ci-android-49-kasan-gce-root
2018/08/02 17:33 https://android.googlesource.com/kernel/common android-4.9 0137ea2134c0 0a7cf4ec .config console log report ci-android-49-kasan-gce-root
2018/08/02 15:39 https://android.googlesource.com/kernel/common android-4.9 0137ea2134c0 0a7cf4ec .config console log report ci-android-49-kasan-gce-root
2018/08/02 08:12 https://android.googlesource.com/kernel/common android-4.9 0137ea2134c0 0a7cf4ec .config console log report ci-android-49-kasan-gce-root
2018/08/01 12:11 https://android.googlesource.com/kernel/common android-4.9 52be322125e5 1477993e .config console log report ci-android-49-kasan-gce-root
2018/07/31 16:13 https://android.googlesource.com/kernel/common android-4.9 90e7a9002952 1a381291 .config console log report ci-android-49-kasan-gce-root
2018/07/30 23:58 https://android.googlesource.com/kernel/common android-4.9 990559158c7b 1a381291 .config console log report ci-android-49-kasan-gce-root
2018/07/30 14:33 https://android.googlesource.com/kernel/common android-4.9 990559158c7b 1a381291 .config console log report ci-android-49-kasan-gce-root
2018/07/29 15:36 https://android.googlesource.com/kernel/common android-4.9 990559158c7b 0824d7a1 .config console log report ci-android-49-kasan-gce-root
2018/07/22 11:24 https://android.googlesource.com/kernel/common android-4.9 47bbcd6bf8f9 8cc079c3 .config console log report ci-android-49-kasan-gce-root
2018/04/25 13:18 https://android.googlesource.com/kernel/common android-4.9 320d53a9d07c 73417389 .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.