syzbot


INFO: task hung in path_openat

Status: auto-closed as invalid on 2019/09/22 08:41
Reported-by: syzbot+8a9b4b3a7431fa6d9f84@syzkaller.appspotmail.com
First crash: 2418d, last: 2085d
Similar bugs (18)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in path_openat 2 1914d 1947d 0/1 auto-closed as invalid on 2020/01/11 07:40
linux-6.1 INFO: task hung in path_openat (4) C 4 7h16m 35d 0/3 upstream: reported C repro on 2024/11/04 05:51
upstream INFO: task hung in path_openat (4) fuse 1 1685d 1685d 0/28 auto-closed as invalid on 2020/07/28 10:23
upstream INFO: task hung in path_openat (3) fs 4 1844d 1961d 0/28 auto-closed as invalid on 2020/02/19 20:16
linux-6.1 INFO: task hung in path_openat (2) 1 345d 345d 0/3 auto-obsoleted due to no activity on 2024/04/08 11:39
upstream INFO: task hung in path_openat (7) fs C unreliable 4103 15h31m 795d 0/28 upstream: reported C repro on 2022/10/06 10:29
linux-5.15 INFO: task hung in path_openat (2) origin:upstream C 96 2d01h 239d 0/3 upstream: reported C repro on 2024/04/14 03:45
linux-4.19 INFO: task hung in path_openat (2) 1 1114d 1114d 0/1 auto-closed as invalid on 2022/03/21 04:47
linux-4.14 INFO: task hung in path_openat 1 1354d 1354d 0/1 auto-closed as invalid on 2021/07/23 23:26
upstream INFO: task hung in path_openat (5) fs 23 1325d 1487d 0/28 auto-closed as invalid on 2021/07/22 20:44
linux-4.19 INFO: task hung in path_openat (3) f2fs jfs 20 691d 851d 0/1 upstream: reported on 2022/08/11 13:14
upstream INFO: task hung in path_openat (6) fs 13 1061d 1211d 0/28 closed as invalid on 2022/02/07 19:19
android-414 INFO: task hung in path_openat 42 1988d 2067d 0/1 auto-closed as invalid on 2019/10/28 21:04
linux-6.1 INFO: task hung in path_openat 3 513d 615d 0/3 auto-obsoleted due to no activity on 2023/10/23 12:08
linux-6.1 INFO: task hung in path_openat (3) 28 114d 239d 0/3 auto-obsoleted due to no activity on 2024/10/25 20:43
upstream INFO: task hung in path_openat exfat 246 2153d 2443d 0/28 closed as dup on 2018/09/08 15:37
linux-5.15 INFO: task hung in path_openat C error 3 495d 607d 0/3 auto-obsoleted due to no activity on 2023/11/09 20:56
upstream INFO: task hung in path_openat (2) fs 1 2056d 2056d 0/28 closed as invalid on 2019/05/08 13:05

Sample crash report:
input: syz1 as /devices/virtual/input/input223
input: syz1 as /devices/virtual/input/input224
INFO: task syz-executor.0:32406 blocked for more than 140 seconds.
      Not tainted 4.9.165+ #27
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D28808 32406   4318 0x00000004
 ffff8801a443c740 ffff8801a011a680 ffff8801db721000 ffff8801a471df00
 ffff8801db721018 ffff8801ac71f8c0 ffffffff827fbcce ffffffff82807255
 ffff8801cc92ea48 00ff8801ac71f810 ffff8801db7218f0 1ffff100358e3f07
Call Trace:
 [<ffffffff827fd5a2>] schedule+0x92/0x1c0 kernel/sched/core.c:3546
 [<ffffffff82807263>] __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:533 [inline]
 [<ffffffff82807263>] rwsem_down_write_failed+0x3a3/0x750 kernel/locking/rwsem-xadd.c:562
 [<ffffffff81b7d1c7>] call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:105
 [<ffffffff8280616c>] __down_write arch/x86/include/asm/rwsem.h:125 [inline]
 [<ffffffff8280616c>] down_write+0x5c/0xa0 kernel/locking/rwsem.c:54
 [<ffffffff8154267b>] inode_lock include/linux/fs.h:768 [inline]
 [<ffffffff8154267b>] do_last fs/namei.c:3353 [inline]
 [<ffffffff8154267b>] path_openat+0xe4b/0x2f60 fs/namei.c:3581
 [<ffffffff81547571>] do_filp_open+0x1a1/0x280 fs/namei.c:3615
 [<ffffffff8150bb00>] do_sys_open+0x2f0/0x610 fs/open.c:1072
 [<ffffffff8150bec7>] SYSC_open fs/open.c:1090 [inline]
 [<ffffffff8150bec7>] SyS_open fs/open.c:1085 [inline]
 [<ffffffff8150bec7>] SYSC_creat fs/open.c:1110 [inline]
 [<ffffffff8150bec7>] SyS_creat+0x27/0x30 fs/open.c:1108
 [<ffffffff810056bd>] do_syscall_64+0x1ad/0x570 arch/x86/entry/common.c:285
 [<ffffffff8280c153>] 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: [<ffffffff8131d3fc>] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline]
 #0:  (rcu_read_lock){......}, at: [<ffffffff8131d3fc>] watchdog+0x13c/0xae0 kernel/hung_task.c:239
 #1:  (tasklist_lock){.+.+..}, at: [<ffffffff8140072f>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336
2 locks held by getty/2040:
 #0:  (&tty->ldisc_sem){++++++}, at: [<ffffffff8280a233>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
 #1:  (&ldata->atomic_read_lock){+.+...}, at: [<ffffffff81d3d9fe>] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156
2 locks held by syz-executor.0/32406:
 #0:  (sb_writers#4){.+.+.+}, at: [<ffffffff8157b4df>] sb_start_write include/linux/fs.h:1575 [inline]
 #0:  (sb_writers#4){.+.+.+}, at: [<ffffffff8157b4df>] mnt_want_write+0x3f/0xb0 fs/namespace.c:391
 #1:  (&type->i_mutex_dir_key#3){++++++}, at: [<ffffffff8154267b>] inode_lock include/linux/fs.h:768 [inline]
 #1:  (&type->i_mutex_dir_key#3){++++++}, at: [<ffffffff8154267b>] do_last fs/namei.c:3353 [inline]
 #1:  (&type->i_mutex_dir_key#3){++++++}, at: [<ffffffff8154267b>] path_openat+0xe4b/0x2f60 fs/namei.c:3581

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

NMI backtrace for cpu 1
CPU: 1 PID: 24 Comm: khungtaskd Not tainted 4.9.165+ #27
 ffff8801d98d7cc8 ffffffff81b4ba01 0000000000000001 0000000000000000
 0000000000000001 ffffffff81097401 dffffc0000000000 ffff8801d98d7d00
 ffffffff81b56c8c 0000000000000001 0000000000000000 0000000000000001
Call Trace:
 [<ffffffff81b4ba01>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81b4ba01>] dump_stack+0xc1/0x120 lib/dump_stack.c:51
 [<ffffffff81b56c8c>] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99
 [<ffffffff81b56c14>] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60
 [<ffffffff81097594>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37
 [<ffffffff8131d921>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline]
 [<ffffffff8131d921>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8131d921>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8131d921>] watchdog+0x661/0xae0 kernel/hung_task.c:239
 [<ffffffff81142298>] kthread+0x278/0x310 kernel/kthread.c:211
 [<ffffffff8280c31c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at pc 0xffffffff8280ad42

Crashes (64):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/26 08:40 https://android.googlesource.com/kernel/common android-4.9 de12cfe6e937 55684ce1 .config console log report ci-android-49-kasan-gce-root
2018/11/26 13:52 https://android.googlesource.com/kernel/common android-4.9 f44ed2c9232d ac912200 .config console log report ci-android-49-kasan-gce-root
2018/11/01 06:25 https://android.googlesource.com/kernel/common android-4.9 4ba3f69128be 1f38e9ae .config console log report ci-android-49-kasan-gce-root
2018/08/28 22:34 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c b771b17e .config console log report ci-android-49-kasan-gce-root
2018/08/28 13:36 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 7ef1de9e .config console log report ci-android-49-kasan-gce-root
2018/08/28 00:44 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 7ef1de9e .config console log report ci-android-49-kasan-gce-root
2018/08/27 20:05 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 758cd203 .config console log report ci-android-49-kasan-gce-root
2018/08/27 08:28 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 758cd203 .config console log report ci-android-49-kasan-gce-root
2018/08/26 19:53 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 758cd203 .config console log report ci-android-49-kasan-gce-root
2018/08/24 08:10 https://android.googlesource.com/kernel/common android-4.9 520d10d31ca4 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/23 16:13 https://android.googlesource.com/kernel/common android-4.9 8dd3fc2ed765 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/23 08:52 https://android.googlesource.com/kernel/common android-4.9 8dd3fc2ed765 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/23 01:21 https://android.googlesource.com/kernel/common android-4.9 8dd3fc2ed765 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/22 13:41 https://android.googlesource.com/kernel/common android-4.9 8dd3fc2ed765 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/21 12:08 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/21 06:09 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/18 14:43 https://android.googlesource.com/kernel/common android-4.9 681e57bb080a db1858f6 .config console log report ci-android-49-kasan-gce-root
2018/08/16 22:37 https://android.googlesource.com/kernel/common android-4.9 f85543ba3c54 9ccc1d45 .config console log report ci-android-49-kasan-gce-root
2018/08/15 20:00 https://android.googlesource.com/kernel/common android-4.9 f85543ba3c54 9ccc1d45 .config console log report ci-android-49-kasan-gce-root
2018/08/15 09:25 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 0e6dcb88 .config console log report ci-android-49-kasan-gce-root
2018/08/15 05:22 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 0e6dcb88 .config console log report ci-android-49-kasan-gce-root
2018/08/14 04:48 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/13 22:53 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/13 18:54 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/11 14:43 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:10 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/10 10:34 https://android.googlesource.com/kernel/common android-4.9 92e87041ed2d 1fb62d58 .config console log report ci-android-49-kasan-gce-root
2018/08/10 06:08 https://android.googlesource.com/kernel/common android-4.9 92e87041ed2d 1fb62d58 .config console log report ci-android-49-kasan-gce-root
2018/08/09 17:21 https://android.googlesource.com/kernel/common android-4.9 92e87041ed2d 1fb62d58 .config console log report ci-android-49-kasan-gce-root
2018/08/09 05:00 https://android.googlesource.com/kernel/common android-4.9 856452b4f22e 2eeda842 .config console log report ci-android-49-kasan-gce-root
2018/08/08 10:02 https://android.googlesource.com/kernel/common android-4.9 47b77b8d01c4 ddeb9f8d .config console log report ci-android-49-kasan-gce-root
2018/08/06 06:54 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c 1beb8136 .config console log report ci-android-49-kasan-gce-root
2018/08/06 05:59 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c 1beb8136 .config console log report ci-android-49-kasan-gce-root
2018/08/03 20:37 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c cc4f6d0a .config console log report ci-android-49-kasan-gce-root
2018/08/03 19:39 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c cc4f6d0a .config console log report ci-android-49-kasan-gce-root
2018/08/03 08:53 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c 5b7e23bb .config console log report ci-android-49-kasan-gce-root
2018/08/02 13:25 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:21 https://android.googlesource.com/kernel/common android-4.9 0137ea2134c0 0a7cf4ec .config console log report ci-android-49-kasan-gce-root
2018/08/02 03:04 https://android.googlesource.com/kernel/common android-4.9 0137ea2134c0 0a7cf4ec .config console log report ci-android-49-kasan-gce-root
2018/08/01 00:14 https://android.googlesource.com/kernel/common android-4.9 90e7a9002952 1477993e .config console log report ci-android-49-kasan-gce-root
2018/07/30 00:57 https://android.googlesource.com/kernel/common android-4.9 990559158c7b 1a381291 .config console log report ci-android-49-kasan-gce-root
2018/07/23 20:22 https://android.googlesource.com/kernel/common android-4.9 47bbcd6bf8f9 912c93d7 .config console log report ci-android-49-kasan-gce-root
2018/07/23 07:08 https://android.googlesource.com/kernel/common android-4.9 47bbcd6bf8f9 8cc079c3 .config console log report ci-android-49-kasan-gce-root
2018/04/27 08:56 https://android.googlesource.com/kernel/common android-4.9 71fce1edd26d 73417389 .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.