syzbot


INFO: task hung in utimes_common

Status: auto-closed as invalid on 2019/02/25 22:39
First crash: 2326d, last: 2275d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in utimes_common fs 23 2228d 2326d 0/28 closed as dup on 2018/07/18 11:44
linux-4.14 INFO: task hung in utimes_common 1 2028d 2028d 0/1 auto-closed as invalid on 2019/10/25 08:48

Sample crash report:
INFO: task syz-executor7:28920 blocked for more than 140 seconds.
      Not tainted 4.9.124-g09eb2ba #31
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor7   D29704 28920   3867 0x00000004
 ffff88019b788000 ffff8801bdcb64c0 ffff8801bb75f9c0 ffff8801d9409800
 ffff8801db221c18 ffff88019b3bf978 ffffffff839f0afd ffffffff81237da7
 0000000000000000 ffff88019b7888c0 0000000600000007 ffff8801db2224e8
Call Trace:
 [<ffffffff839f20ff>] schedule+0x7f/0x1b0 kernel/sched/core.c:3553
 [<ffffffff839fd738>] __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:526 [inline]
 [<ffffffff839fd738>] rwsem_down_write_failed+0x598/0x990 kernel/locking/rwsem-xadd.c:555
 [<ffffffff81eed907>] call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:105
 [<ffffffff839fb50c>] __down_write arch/x86/include/asm/rwsem.h:125 [inline]
 [<ffffffff839fb50c>] down_write+0x5c/0xa0 kernel/locking/rwsem.c:54
 [<ffffffff81620081>] inode_lock include/linux/fs.h:766 [inline]
 [<ffffffff81620081>] utimes_common.isra.1+0x2d1/0x5e0 fs/utimes.c:93
 [<ffffffff8162052e>] do_utimes+0x19e/0x2c0 fs/utimes.c:159
 [<ffffffff81620bed>] SYSC_futimesat fs/utimes.c:214 [inline]
 [<ffffffff81620bed>] SyS_futimesat fs/utimes.c:189 [inline]
 [<ffffffff81620bed>] SYSC_utimes fs/utimes.c:220 [inline]
 [<ffffffff81620bed>] SyS_utimes+0x13d/0x1b0 fs/utimes.c:217
 [<ffffffff81006316>] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 [<ffffffff83a019d3>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb

Showing all locks held in the system:
2 locks held by khungtaskd/519:
 #0:  (rcu_read_lock){......}, at: [<ffffffff813689dc>] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline]
 #0:  (rcu_read_lock){......}, at: [<ffffffff813689dc>] watchdog+0x11c/0xa20 kernel/hung_task.c:239
 #1:  (tasklist_lock){.+.+..}, at: [<ffffffff81428248>] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336
1 lock held by rsyslogd/3679:
 #0:  (&f->f_pos_lock){+.+.+.}, at: [<ffffffff815dc7ec>] __fdget_pos+0xac/0xd0 fs/file.c:781
2 locks held by getty/3775:
 #0:  (&tty->ldisc_sem){++++++}, at: [<ffffffff839ffba2>] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367
 #1:  (&ldata->atomic_read_lock){+.+...}, at: [<ffffffff82125402>] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2142
2 locks held by syz-executor7/28847:
 #0:  (sb_writers#18){.+.+.+}, at: [<ffffffff815e50cf>] sb_start_write include/linux/fs.h:1573 [inline]
 #0:  (sb_writers#18){.+.+.+}, at: [<ffffffff815e50cf>] mnt_want_write+0x3f/0xb0 fs/namespace.c:391
 #1:  (&sb->s_type->i_mutex_key#23){++++++}, at: [<ffffffff81620081>] inode_lock include/linux/fs.h:766 [inline]
 #1:  (&sb->s_type->i_mutex_key#23){++++++}, at: [<ffffffff81620081>] utimes_common.isra.1+0x2d1/0x5e0 fs/utimes.c:93
2 locks held by syz-executor7/28920:
 #0:  (sb_writers#18){.+.+.+}, at: [<ffffffff815e50cf>] sb_start_write include/linux/fs.h:1573 [inline]
 #0:  (sb_writers#18){.+.+.+}, at: [<ffffffff815e50cf>] mnt_want_write+0x3f/0xb0 fs/namespace.c:391
 #1:  (&sb->s_type->i_mutex_key#23){++++++}, at: [<ffffffff81620081>] inode_lock include/linux/fs.h:766 [inline]
 #1:  (&sb->s_type->i_mutex_key#23){++++++}, at: [<ffffffff81620081>] utimes_common.isra.1+0x2d1/0x5e0 fs/utimes.c:93

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

NMI backtrace for cpu 1
CPU: 1 PID: 519 Comm: khungtaskd Not tainted 4.9.124-g09eb2ba #31
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d870fd08 ffffffff81eb95e9 0000000000000000 0000000000000001
 0000000000000001 0000000000000001 ffffffff810b9fa0 ffff8801d870fd40
 ffffffff81ec4927 0000000000000001 0000000000000000 0000000000000003
Call Trace:
 [<ffffffff81eb95e9>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81eb95e9>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff81ec4927>] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99
 [<ffffffff81ec48ba>] nmi_trigger_cpumask_backtrace+0x12a/0x14f lib/nmi_backtrace.c:60
 [<ffffffff810ba0a4>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37
 [<ffffffff81368f74>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline]
 [<ffffffff81368f74>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff81368f74>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff81368f74>] watchdog+0x6b4/0xa20 kernel/hung_task.c:239
 [<ffffffff8119f3cd>] kthread+0x26d/0x300 kernel/kthread.c:211
 [<ffffffff83a01b9c>] 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 0xffffffff83a00606

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/29 22:37 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 4937cb2b .config console log report ci-android-49-kasan-gce-root
2018/08/28 22:29 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c b771b17e .config console log report ci-android-49-kasan-gce-root
2018/08/28 01:24 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 7ef1de9e .config console log report ci-android-49-kasan-gce-root
2018/08/21 20:10 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/19 05:18 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 de20bcbb .config console log report ci-android-49-kasan-gce-root
2018/08/17 08:44 https://android.googlesource.com/kernel/common android-4.9 f85543ba3c54 9ccc1d45 .config console log report ci-android-49-kasan-gce-root
2018/08/12 17:20 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/11 11:42 https://android.googlesource.com/kernel/common android-4.9 9dc978d43ec7 7a88b141 .config console log report ci-android-49-kasan-gce-root
2018/08/10 06:42 https://android.googlesource.com/kernel/common android-4.9 92e87041ed2d 1fb62d58 .config console log report ci-android-49-kasan-gce-root
2018/08/07 07:17 https://android.googlesource.com/kernel/common android-4.9 47b77b8d01c4 1beb8136 .config console log report ci-android-49-kasan-gce-root
2018/07/31 10:36 https://android.googlesource.com/kernel/common android-4.9 8956c50bdcd3 1a381291 .config console log report ci-android-49-kasan-gce-root
2018/07/20 02:50 https://android.googlesource.com/kernel/common android-4.9 47bbcd6bf8f9 49f35839 .config console log report ci-android-49-kasan-gce-root
2018/07/19 03:48 https://android.googlesource.com/kernel/common android-4.9 47bbcd6bf8f9 49f35839 .config console log report ci-android-49-kasan-gce-root
2018/07/09 21:32 https://android.googlesource.com/kernel/common android-4.9 03c70feafdb2 f25e5770 .config console log report ci-android-49-kasan-gce-root
2018/07/09 17:02 https://android.googlesource.com/kernel/common android-4.9 03c70feafdb2 f25e5770 .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.