INFO: task syz-executor5:16857 blocked for more than 140 seconds. Not tainted 4.18.0+ #188 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D23544 16857 4431 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: 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:00007f2589afac78 EFLAGS: 00000246 ORIG_RAX: 00000000000000eb RAX: ffffffffffffffda RBX: 00007f2589afb6d4 RCX: 0000000000457089 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000020000180 RBP: 00000000009301e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d68d0 R14: 00000000004c9f6a R15: 0000000000000002 Showing all locks held in the system: 1 lock held by khungtaskd/770: #0: 00000000d6571bd7 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 2 locks held by rs:main Q:Reg/4287: #0: 000000008dd2d56e (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 000000006ac2a039 (sb_writers#6){.+.+}, at: file_start_write include/linux/fs.h:2752 [inline] #1: 000000006ac2a039 (sb_writers#6){.+.+}, at: vfs_write+0x452/0x560 fs/read_write.c:548 1 lock held by rsyslogd/4289: #0: 000000001b3b5b63 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/4379: #0: 00000000b84c68dc (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000008aac3233 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4380: #0: 0000000053e4ac2f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000fafe46f1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4381: #0: 000000005440b3ef (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000f278094a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4382: #0: 0000000050615264 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000004b192d9d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4383: #0: 00000000f9acbcfd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000062d96cf6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4384: #0: 00000000e1e06ddc (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000aa4f9c67 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4385: #0: 0000000098d06f5d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000089c220ad (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor5/16791: #0: 00000000181537b2 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1569 [inline] #0: 00000000181537b2 (sb_writers#15){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 00000000c3d890fa (&sb->s_type->i_mutex_key#19){++++}, at: inode_lock include/linux/fs.h:730 [inline] #1: 00000000c3d890fa (&sb->s_type->i_mutex_key#19){++++}, at: utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90 2 locks held by syz-executor5/16857: #0: 00000000181537b2 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1569 [inline] #0: 00000000181537b2 (sb_writers#15){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 00000000c3d890fa (&sb->s_type->i_mutex_key#19){++++}, at: inode_lock include/linux/fs.h:730 [inline] #1: 00000000c3d890fa (&sb->s_type->i_mutex_key#19){++++}, at: utimes_common.isra.1+0x45c/0x8e0 fs/utimes.c:90 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 770 Comm: khungtaskd Not tainted 4.18.0+ #188 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.4+0x19/0xce lib/nmi_backtrace.c:103 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 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:56