INFO: task syz-executor3:11801 blocked for more than 140 seconds. Not tainted 4.18.0-next-20180824+ #47 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D24616 11801 4473 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x87c/0x1df0 kernel/sched/core.c:3473 schedule+0xfb/0x450 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0x98b/0x1650 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+0xaa/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:765 [inline] utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90 do_utimes+0x1f7/0x380 fs/utimes.c:156 do_futimesat+0x249/0x350 fs/utimes.c:212 __do_sys_utimes fs/utimes.c:225 [inline] __se_sys_utimes fs/utimes.c:222 [inline] __x64_sys_utimes+0x59/0x80 fs/utimes.c:222 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457089 Code: 08 e8 3b a9 fb ff 48 8b 44 24 20 48 8b 4c 24 18 48 8b 54 24 38 48 8b 7c 24 48 eb 8d 48 8b 6c 24 50 48 83 c4 58 c3 48 89 04 24 <48> 89 5c 24 08 e8 0d a9 fb ff 48 8b 44 24 40 48 8b 4c 24 48 48 8b RSP: 002b:00007f3e00e3dc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000eb RAX: ffffffffffffffda RBX: 00007f3e00e3e6d4 RCX: 0000000000457089 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000180 RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d6d40 R14: 00000000004ca125 R15: 0000000000000001 Showing all locks held in the system: 1 lock held by khungtaskd/776: #0: 00000000dd66c267 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4436 1 lock held by rsyslogd/4329: #0: 0000000048a25a28 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/4420: #0: 0000000050e135b9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000c3354eab (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4421: #0: 00000000db7b7a3a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000097ece5d7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4422: #0: 00000000c6bcf0d4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000094ac2017 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4423: #0: 00000000edf7297f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000ad68e093 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4424: #0: 00000000190e4abc (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000007a21c132 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4425: #0: 000000006cfe57cc (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000005b7cbac0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4426: #0: 00000000e06b7ded (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000866a1b93 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor3/11708: #0: 000000004163c720 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1598 [inline] #0: 000000004163c720 (sb_writers#15){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 00000000c33c9a34 (&sb->s_type->i_mutex_key#20){++++}, at: inode_lock include/linux/fs.h:765 [inline] #1: 00000000c33c9a34 (&sb->s_type->i_mutex_key#20){++++}, at: utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90 2 locks held by syz-executor3/11801: #0: 000000004163c720 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1598 [inline] #0: 000000004163c720 (sb_writers#15){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 00000000c33c9a34 (&sb->s_type->i_mutex_key#20){++++}, at: inode_lock include/linux/fs.h:765 [inline] #1: 00000000c33c9a34 (&sb->s_type->i_mutex_key#20){++++}, at: utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 776 Comm: khungtaskd Not tainted 4.18.0-next-20180824+ #47 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+0x1c9/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x48/0x88 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x151/0x192 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+0xb39/0x1040 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.18.0-next-20180824+ #47 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:167 [inline] RIP: 0010:atomic_add_return include/asm-generic/atomic-instrumented.h:294 [inline] RIP: 0010:rcu_dynticks_eqs_exit+0x31/0x60 kernel/rcu/tree.c:311 Code: 48 c7 c3 e0 36 02 00 65 48 03 1d 62 6c 9a 7e 4c 8d 63 10 be 04 00 00 00 4c 89 e7 e8 19 ea 54 00 b8 02 00 00 00 f0 0f c1 43 10 01 75 05 5b 41 5c 5d c3 be 04 00 00 00 4c 89 e7 e8 f9 e9 54 00 RSP: 0018:ffff8801db107bb8 EFLAGS: 00000006 RAX: 00000000000a587c RBX: ffff8801db1236e0 RCX: ffffffff816714e7 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8801db1236f0 RBP: ffff8801db107bc8 R08: ffffed003b6246df R09: ffffed003b6246de R10: ffffed003b6246de R11: ffff8801db1236f3 R12: ffff8801db1236f0 R13: ffff8801db1236e0 R14: 0000000000000001 R15: ffff8801db107c88 FS: 0000000000000000(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001b262a000 CR4: 00000000001406e0 Call Trace: rcu_nmi_enter+0x219/0x2d0 kernel/rcu/tree.c:952 rcu_irq_enter+0xd8/0x110 kernel/rcu/tree.c:992 irq_enter+0x13/0xd0 kernel/softirq.c:346 scheduler_ipi+0x3a9/0xa50 kernel/sched/core.c:1770 smp_reschedule_interrupt+0xfd/0x5e0 arch/x86/kernel/smp.c:278 reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:891 RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:56 Code: c7 48 89 45 d8 e8 2a 25 05 fb 48 8b 45 d8 e9 d2 fe ff ff 48 89 df e8 19 25 05 fb eb 8a 90 90 90 90 90 90 90 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 90 90 90 90 90 RSP: 0018:ffff8801d9f27c30 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff02 RAX: dffffc0000000000 RBX: 1ffff1003b3e4f8a RCX: 0000000000000000 RDX: 1ffffffff0fe3790 RSI: 0000000000000001 RDI: ffffffff87f1bc80 RBP: ffff8801d9f27c30 R08: ffff8801d9f1a380 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8801d9f27cf0 R14: 0000000000000001 R15: 0000000000000000 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0xc2/0x410 arch/x86/kernel/process.c:498 arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:489 default_idle_call+0x6d/0x90 kernel/sched/idle.c:93 cpuidle_idle_call kernel/sched/idle.c:153 [inline] do_idle+0x3aa/0x580 kernel/sched/idle.c:262 cpu_startup_entry+0x10c/0x120 kernel/sched/idle.c:368 start_secondary+0x433/0x5d0 arch/x86/kernel/smpboot.c:271 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242