syzbot


INFO: task hung in utimes_common

Status: closed as dup on 2018/07/18 11:44
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+3a0570f93c0d6ca388f5@syzkaller.appspotmail.com
First crash: 2117d, last: 2019d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in flush_work v9fs C error 306 2071d 2180d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task hung in utimes_common 2 (3) 2018/07/18 11:44
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in utimes_common 15 2066d 2117d 0/3 auto-closed as invalid on 2019/02/25 22:39
linux-4.14 INFO: task hung in utimes_common 1 1819d 1819d 0/1 auto-closed as invalid on 2019/10/25 08:48

Sample crash report:
RBP: 000000000072bf00 R08: 0000000000100820 R09: 00000000fbad8001
R10: 00000000200001c0 R11: 0000000000000246 R12: 00007f00dea806d4
R13: 00000000004c4a1e R14: 00000000004d7d88 R15: 0000000000000003
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
INFO: task syz-executor0:23531 blocked for more than 140 seconds.
      Not tainted 4.19.0-rc8+ #285
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor0   D25400 23531   5371 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2825 [inline]
 __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473
 schedule+0xfe/0x460 kernel/sched/core.c:3517
 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0xa5/0x130 kernel/locking/rwsem.c:72
 inode_lock include/linux/fs.h:738 [inline]
 utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90
 do_utimes+0x1f7/0x380 fs/utimes.c:156
 __do_sys_utime fs/utimes.c:35 [inline]
 __se_sys_utime fs/utimes.c:24 [inline]
 __x64_sys_utime+0x1df/0x290 fs/utimes.c:24
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457569
Code: 83 c4 18 c3 e8 d8 64 00 00 48 8b 04 24 48 8b 4c 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d 2a 60 09 <01> 87 01 8b 05 22 60 09 01 83 f8 01 0f 85 8a 00 00 00 b8 01 00 00
RSP: 002b:00007fc5878fec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000084
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000020000100
RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc5878ff6d4
R13: 00000000004c4f36 R14: 00000000004d84d8 R15: 00000000ffffffff
INFO: task syz-executor0:23553 blocked for more than 140 seconds.
      Not tainted 4.19.0-rc8+ #285
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor0   D23736 23553   5371 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2825 [inline]
 __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473
 schedule+0xfe/0x460 kernel/sched/core.c:3517
 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0xa5/0x130 kernel/locking/rwsem.c:72
 inode_lock include/linux/fs.h:738 [inline]
 lock_mount+0x8c/0x2e0 fs/namespace.c:2027
 do_add_mount+0x27/0x370 fs/namespace.c:2404
 do_new_mount fs/namespace.c:2471 [inline]
 do_mount+0x19cd/0x31f0 fs/namespace.c:2787
 ksys_mount+0x12d/0x140 fs/namespace.c:3003
 __do_sys_mount fs/namespace.c:3017 [inline]
 __se_sys_mount fs/namespace.c:3014 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3014
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457569
Code: 83 c4 18 c3 e8 d8 64 00 00 48 8b 04 24 48 8b 4c 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d 2a 60 09 <01> 87 01 8b 05 22 60 09 01 83 f8 01 0f 85 8a 00 00 00 b8 01 00 00
RSP: 002b:00007fc5878bcc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457569
RDX: 0000000020000900 RSI: 0000000020000000 RDI: 0000000000000000
RBP: 000000000072c220 R08: 0000000020000840 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc5878bd6d4
R13: 00000000004c28a1 R14: 00000000004d3c90 R15: 00000000ffffffff

Showing all locks held in the system:
1 lock held by khungtaskd/984:
 #0: 0000000095ed89b5 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4435
1 lock held by rsyslogd/5242:
 #0: 00000000728e854e (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766
2 locks held by getty/5332:
 #0: 00000000bfce803e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000007724ba29 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5333:
 #0: 00000000cc7a30a7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000bd45fc40 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5334:
 #0: 00000000a13165d2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 0000000032164a1c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5335:
 #0: 0000000070948a1b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000009492fcd9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5336:
 #0: 00000000cf6fc446 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000007bdf902b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5337:
 #0: 00000000afa417a8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000cf7829a6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5338:
 #0: 0000000037f6d946 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000005d29d143 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by syz-executor0/23528:
 #0: 00000000e52febdb (sb_writers#18){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline]
 #0: 00000000e52febdb (sb_writers#18){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360
 #1: 00000000734d5c7a (&sb->s_type->i_mutex_key#26){+.+.}, at: inode_lock include/linux/fs.h:738 [inline]
 #1: 00000000734d5c7a (&sb->s_type->i_mutex_key#26){+.+.}, at: chown_common+0x3a9/0x730 fs/open.c:629
2 locks held by syz-executor0/23531:
 #0: 00000000e52febdb (sb_writers#18){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline]
 #0: 00000000e52febdb (sb_writers#18){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360
 #1: 00000000734d5c7a (&sb->s_type->i_mutex_key#26){+.+.}, at: inode_lock include/linux/fs.h:738 [inline]
 #1: 00000000734d5c7a (&sb->s_type->i_mutex_key#26){+.+.}, at: utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90
1 lock held by syz-executor0/23553:
 #0: 00000000734d5c7a (&sb->s_type->i_mutex_key#26){+.+.}, at: inode_lock include/linux/fs.h:738 [inline]
 #0: 00000000734d5c7a (&sb->s_type->i_mutex_key#26){+.+.}, at: lock_mount+0x8c/0x2e0 fs/namespace.c:2027

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

NMI backtrace for cpu 1
CPU: 1 PID: 984 Comm: khungtaskd Not tainted 4.19.0-rc8+ #285
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c4/0x2b4 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:144 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline]
 watchdog+0xb3e/0x1050 kernel/hung_task.c:265
 kthread+0x35a/0x420 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/10/15 21:50 upstream f0a7d1883d9f 8cd30605 .config console log report ci-upstream-kasan-gce-root
2018/10/15 16:11 upstream 35a7f35ad1b1 caf12900 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/15 12:44 upstream 35a7f35ad1b1 caf12900 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/13 23:53 upstream 7ec21823634d caf12900 .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/13 04:24 upstream 6b3944e42e2e caf12900 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/08 12:18 upstream 0238df646e62 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/05 18:05 upstream befad944e231 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/05 05:19 upstream d2467adb6610 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/01 07:07 upstream 17b57b1883c1 41e4b329 .config console log report ci-upstream-kasan-gce-smack-root
2018/08/27 19:50 upstream 5b394b2ddf03 758cd203 .config console log report ci-upstream-kasan-gce-root
2018/08/16 07:28 upstream dafa5f6577a9 9ccc1d45 .config console log report ci-upstream-kasan-gce-root
2018/08/14 21:47 upstream 10f3e23f07cb 5084a625 .config console log report ci-upstream-kasan-gce-root
2018/08/14 19:36 upstream 10f3e23f07cb 5084a625 .config console log report ci-upstream-kasan-gce-root
2018/08/07 16:43 upstream 1236568ee3cb 1beb8136 .config console log report ci-upstream-kasan-gce-root
2018/07/21 19:22 upstream 48e5aee81f32 8cc079c3 .config console log report ci-upstream-kasan-gce-root
2018/08/25 16:12 linux-next e27bc174c9c6 9be5aa1d .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/25 07:58 linux-next e27bc174c9c6 9be5aa1d .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/25 07:29 linux-next e27bc174c9c6 9be5aa1d .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/21 02:17 linux-next 812667578394 95b5c82b .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/15 19:47 linux-next e5a7da82ad77 9ccc1d45 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/06 11:01 linux-next 116b181bb646 1beb8136 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/14 17:01 linux-next 483d835c8189 92a49505 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/09 21:34 linux-next d00d6d9a339d f25e5770 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.