syzbot


INFO: task hung in fuse_lookup

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+88eb3a0a6fa86f8a2b2e@syzkaller.appspotmail.com
First crash: 2096d, last: 1617d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: task hung in fuse_lookup 4 1655d 1808d 0/1 auto-closed as invalid on 2020/01/29 21:30
linux-4.19 INFO: task hung in fuse_lookup reiserfs C error 12 426d 1703d 0/1 upstream: reported C repro on 2019/08/14 05:24
linux-4.14 INFO: task hung in fuse_lookup (3) 1 819d 819d 0/1 auto-closed as invalid on 2022/05/15 00:47
linux-6.1 INFO: task hung in fuse_lookup origin:upstream syz 3 11d 310d 0/3 upstream: reported syz repro on 2023/06/07 05:32
upstream INFO: task hung in fuse_lookup (3) fuse C done error 44 10d 1703d 0/26 upstream: reported C repro on 2019/08/14 09:48
linux-5.15 INFO: task hung in fuse_lookup origin:upstream syz error 2 290d 311d 0/3 upstream: reported syz repro on 2023/06/07 02:49
linux-4.14 INFO: task hung in fuse_lookup (4) reiserfs C 2 431d 486d 0/1 upstream: reported C repro on 2022/12/13 09:09
linux-4.14 INFO: task hung in fuse_lookup (2) 1 1489d 1489d 0/1 auto-closed as invalid on 2020/07/13 23:30
upstream INFO: task hung in fuse_lookup fuse 16 2048d 2099d 0/26 closed as invalid on 2018/09/05 12:51
upstream INFO: task hung in fuse_lookup (2) fuse C 13 1882d 2041d 0/26 closed as dup on 2018/09/10 08:43

Sample crash report:
INFO: task syz-executor238:2151 blocked for more than 140 seconds.
      Not tainted 4.9.189+ #22
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor238 D28632  2151   2149 0x00000000
 0000000000000083 ffff8801cc8baf80 0000000000000000 ffff8801db721000
 ffff8801da6b2f80 ffff8801db721018 ffff8801cb6bf4b8 ffffffff8281887e
 ffffffff82e2f0f8 ffffffff8120cd80 00ffffff83c84a80 ffff8801db7218f0
Call Trace:
 [<0000000027161c54>] schedule+0x92/0x1c0 kernel/sched/core.c:3546
 [<0000000033a686e7>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3579
 [<00000000699916dd>] __mutex_lock_common kernel/locking/mutex.c:582 [inline]
 [<00000000699916dd>] mutex_lock_nested+0x38d/0x920 kernel/locking/mutex.c:621
 [<00000000c3d8fdf3>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
 [<000000000e65b894>] fuse_lookup+0x89/0x3b0 fs/fuse/dir.c:406
 [<00000000af432572>] lookup_slow+0x24b/0x480 fs/namei.c:1709
 [<00000000350bb589>] walk_component+0x71e/0xce0 fs/namei.c:1825
 [<0000000074472230>] link_path_walk+0x8b4/0x1210 fs/namei.c:2161
 [<00000000c5a67406>] path_openat+0x18e/0x2f60 fs/namei.c:3580
 [<00000000870ccc93>] do_filp_open+0x1a1/0x280 fs/namei.c:3615
 [<00000000e83c734f>] do_sys_open+0x2f0/0x610 fs/open.c:1097
 [<00000000126ed05a>] SYSC_open fs/open.c:1115 [inline]
 [<00000000126ed05a>] SyS_open+0x2d/0x40 fs/open.c:1110
 [<00000000386d08fb>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288
 [<000000001a97ce56>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb

Showing all locks held in the system:
2 locks held by init/1:
 #0:  (&type->i_mutex_dir_key#6){++++++}, at: [<00000000c82f3755>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#6){++++++}, at: [<00000000c82f3755>] lookup_slow+0x160/0x480 fs/namei.c:1686
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000c3d8fdf3>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by khungtaskd/24:
 #0:  (rcu_read_lock){......}, at: [<00000000fad4536d>] check_hung_uninterruptible_tasks kernel/hung_task.c:169 [inline]
 #0:  (rcu_read_lock){......}, at: [<00000000fad4536d>] watchdog+0x14b/0xaf0 kernel/hung_task.c:263
 #1:  (tasklist_lock){.+.+..}, at: [<000000001710e430>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336
2 locks held by cron/1945:
 #0:  (&type->i_mutex_dir_key#6){++++++}, at: [<00000000c82f3755>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#6){++++++}, at: [<00000000c82f3755>] lookup_slow+0x160/0x480 fs/namei.c:1686
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000c3d8fdf3>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by getty/2021:
 #0:  (&tty->ldisc_sem){++++++}, at: [<0000000070cd5aff>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
 #1:  (&ldata->atomic_read_lock){+.+...}, at: [<00000000ea98a4ba>] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156
2 locks held by syz-executor238/2151:
 #0:  (&type->i_mutex_dir_key#6){++++++}, at: [<00000000c82f3755>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#6){++++++}, at: [<00000000c82f3755>] lookup_slow+0x160/0x480 fs/namei.c:1686
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000c3d8fdf3>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364
2 locks held by syz-executor238/2156:
 #0:  (&type->i_mutex_dir_key#6){++++++}, at: [<00000000c82f3755>] inode_lock_shared include/linux/fs.h:781 [inline]
 #0:  (&type->i_mutex_dir_key#6){++++++}, at: [<00000000c82f3755>] lookup_slow+0x160/0x480 fs/namei.c:1686
 #1:  (&fi->mutex){+.+.+.}, at: [<00000000c3d8fdf3>] fuse_lock_inode+0xad/0xe0 fs/fuse/inode.c:364

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

NMI backtrace for cpu 1
CPU: 1 PID: 24 Comm: khungtaskd Not tainted 4.9.189+ #22
 ffff8801d98d7cc8 ffffffff81b65c01 0000000000000001 0000000000000000
 0000000000000001 ffffffff81099a01 dffffc0000000000 ffff8801d98d7d00
 ffffffff81b70e9c 0000000000000001 0000000000000000 0000000000000001
Call Trace:
 [<00000000d7ce4678>] __dump_stack lib/dump_stack.c:15 [inline]
 [<00000000d7ce4678>] dump_stack+0xc1/0x120 lib/dump_stack.c:51
 [<0000000057a4a560>] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99
 [<000000003c53ab43>] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60
 [<0000000054114b31>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37
 [<00000000e6b9a75e>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline]
 [<00000000e6b9a75e>] check_hung_task kernel/hung_task.c:126 [inline]
 [<00000000e6b9a75e>] check_hung_uninterruptible_tasks kernel/hung_task.c:183 [inline]
 [<00000000e6b9a75e>] watchdog+0x670/0xaf0 kernel/hung_task.c:263
 [<00000000360f3295>] kthread+0x278/0x310 kernel/kthread.c:211
 [<000000000c9c0db1>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at pc 0xffffffff828279d1

Crashes (112):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/14 02:36 https://android.googlesource.com/kernel/common android-4.9 288506e674e2 ef801a3e .config console log report syz C ci-android-49-kasan-gce-root
2019/02/17 02:10 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba f42dee6d .config console log report syz C ci-android-49-kasan-gce-root
2019/11/08 20:06 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 1e35461e .config console log report ci-android-49-kasan-gce-root
2019/11/03 07:51 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 a41ca8fa .config console log report ci-android-49-kasan-gce-root
2019/09/16 02:35 https://android.googlesource.com/kernel/common android-4.9 bb1c7f3a1ca8 32d59357 .config console log report ci-android-49-kasan-gce-root
2019/08/20 20:57 https://android.googlesource.com/kernel/common android-4.9 9e50cb052183 cfc9868f .config console log report ci-android-49-kasan-gce-root
2019/08/11 01:54 https://android.googlesource.com/kernel/common android-4.9 62dc1f1d7c81 acb51638 .config console log report ci-android-49-kasan-gce-root
2019/08/10 01:41 https://android.googlesource.com/kernel/common android-4.9 62dc1f1d7c81 acb51638 .config console log report ci-android-49-kasan-gce-root
2019/08/09 05:40 https://android.googlesource.com/kernel/common android-4.9 62dc1f1d7c81 ede31a9b .config console log report ci-android-49-kasan-gce-root
2019/08/06 11:17 https://android.googlesource.com/kernel/common android-4.9 712595fe9d6c 6affd8e8 .config console log report ci-android-49-kasan-gce-root
2019/07/29 01:52 https://android.googlesource.com/kernel/common android-4.9 3244efed0310 c85e1c5b .config console log report ci-android-49-kasan-gce-root
2019/07/28 21:18 https://android.googlesource.com/kernel/common android-4.9 3244efed0310 c85e1c5b .config console log report ci-android-49-kasan-gce-root
2019/07/01 04:08 https://android.googlesource.com/kernel/common android-4.9 ab758e1039d6 699d6448 .config console log report ci-android-49-kasan-gce-root
2019/06/29 15:11 https://android.googlesource.com/kernel/common android-4.9 ab758e1039d6 7509bf36 .config console log report ci-android-49-kasan-gce-root
2019/06/19 02:53 https://android.googlesource.com/kernel/common android-4.9 cb0eff478ea9 e3f76baa .config console log report ci-android-49-kasan-gce-root
2019/04/30 20:16 https://android.googlesource.com/kernel/common android-4.9 3383326b935d 618456b4 .config console log report ci-android-49-kasan-gce-root
2019/03/27 05:53 https://android.googlesource.com/kernel/common android-4.9 e8bdeec66d86 55684ce1 .config console log report ci-android-49-kasan-gce-root
2019/03/27 04:15 https://android.googlesource.com/kernel/common android-4.9 cbbb29d81d4b 55684ce1 .config console log report ci-android-49-kasan-gce-root
2019/03/26 21:12 https://android.googlesource.com/kernel/common android-4.9 cbbb29d81d4b 55684ce1 .config console log report ci-android-49-kasan-gce-root
2019/03/26 06:58 https://android.googlesource.com/kernel/common android-4.9 de12cfe6e937 55684ce1 .config console log report ci-android-49-kasan-gce-root
2019/03/25 16:38 https://android.googlesource.com/kernel/common android-4.9 72b54df9a5ef 2c86e0a5 .config console log report ci-android-49-kasan-gce-root
2019/03/25 15:20 https://android.googlesource.com/kernel/common android-4.9 72b54df9a5ef 2c86e0a5 .config console log report ci-android-49-kasan-gce-root
2019/03/21 12:56 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 427ea487 .config console log report ci-android-49-kasan-gce-root
2019/03/20 23:50 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba a664c187 .config console log report ci-android-49-kasan-gce-root
2019/03/20 08:01 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 2458c1c6 .config console log report ci-android-49-kasan-gce-root
2019/03/19 08:48 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 46264c32 .config console log report ci-android-49-kasan-gce-root
2019/03/17 22:08 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba ba18afea .config console log report ci-android-49-kasan-gce-root
2019/03/17 01:35 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba bab43553 .config console log report ci-android-49-kasan-gce-root
2019/03/16 20:22 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba bab43553 .config console log report ci-android-49-kasan-gce-root
2019/03/16 14:48 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba bab43553 .config console log report ci-android-49-kasan-gce-root
2019/03/16 10:55 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba bab43553 .config console log report ci-android-49-kasan-gce-root
2019/03/16 04:06 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba bab43553 .config console log report ci-android-49-kasan-gce-root
2019/03/15 06:39 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba d72db19b .config console log report ci-android-49-kasan-gce-root
2019/03/15 04:34 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba d72db19b .config console log report ci-android-49-kasan-gce-root
2019/03/14 05:03 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 2881fc25 .config console log report ci-android-49-kasan-gce-root
2019/03/12 19:39 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba a71bfb62 .config console log report ci-android-49-kasan-gce-root
2019/03/12 12:26 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 12365b99 .config console log report ci-android-49-kasan-gce-root
2019/03/12 05:58 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 12365b99 .config console log report ci-android-49-kasan-gce-root
2019/03/11 23:55 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 12365b99 .config console log report ci-android-49-kasan-gce-root
2019/03/11 21:46 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 12365b99 .config console log report ci-android-49-kasan-gce-root
2019/03/11 20:20 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 12365b99 .config console log report ci-android-49-kasan-gce-root
2019/03/11 16:24 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 12365b99 .config console log report ci-android-49-kasan-gce-root
2019/03/11 13:13 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 12365b99 .config console log report ci-android-49-kasan-gce-root
2019/03/11 11:06 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba 12365b99 .config console log report ci-android-49-kasan-gce-root
2018/07/18 02:50 https://android.googlesource.com/kernel/common android-4.9 f540ce029f50 6d5bd5b5 .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.