INFO: task syz-executor5:15586 blocked for more than 140 seconds. Not tainted 4.18.0+ #191 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D25208 15586 4442 0x00000004 Call Trace: context_switch kernel/sched/core.c:2823 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3471 schedule+0xfb/0x450 kernel/sched/core.c:3515 __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:730 [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: Bad RIP value. RSP: 002b:00007f813488bc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000eb RAX: ffffffffffffffda RBX: 00007f813488c6d4 RCX: 0000000000457089 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000020000180 RBP: 0000000000930280 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d6d40 R14: 00000000004ca125 R15: 0000000000000003 Showing all locks held in the system: 1 lock held by khungtaskd/774: #0: 00000000332b1b3e (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 1 lock held by rsyslogd/4300: #0: 00000000c4d5c2a9 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/4390: #0: 00000000acbfc780 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000aba3f86f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4391: #0: 00000000020af1da (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000072dfe2fa (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4392: #0: 000000004d4cd362 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000256e4c70 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4393: #0: 0000000099b949c9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000c86fd523 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4394: #0: 000000001d2cb164 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000032794316 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4395: #0: 00000000eb897c5d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b3d25fbe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4396: #0: 00000000429bda1a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000012d1e03e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor5/15532: #0: 0000000015fef775 (sb_writers#16){.+.+}, at: sb_start_write include/linux/fs.h:1569 [inline] #0: 0000000015fef775 (sb_writers#16){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 00000000101fad77 (&sb->s_type->i_mutex_key#19){++++}, at: inode_lock include/linux/fs.h:730 [inline] #1: 00000000101fad77 (&sb->s_type->i_mutex_key#19){++++}, at: utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90 2 locks held by syz-executor5/15586: #0: 0000000015fef775 (sb_writers#16){.+.+}, at: sb_start_write include/linux/fs.h:1569 [inline] #0: 0000000015fef775 (sb_writers#16){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 00000000101fad77 (&sb->s_type->i_mutex_key#19){++++}, at: inode_lock include/linux/fs.h:730 [inline] #1: 00000000101fad77 (&sb->s_type->i_mutex_key#19){++++}, at: utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 774 Comm: khungtaskd Not tainted 4.18.0+ #191 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:196 [inline] watchdog+0x9c4/0xf80 kernel/hung_task.c:252 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:56