INFO: task syz-executor7:18012 blocked for more than 140 seconds. Not tainted 4.18.0-rc7+ #74 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor7 D23704 18012 23709 0x20020004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3501 schedule+0xfb/0x450 kernel/sched/core.c:3545 __rwsem_down_write_failed_common+0x95d/0x1630 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:715 [inline] fuse_reverse_inval_entry+0xae/0x6d0 fs/fuse/dir.c:969 fuse_notify_inval_entry fs/fuse/dev.c:1491 [inline] fuse_notify fs/fuse/dev.c:1764 [inline] fuse_dev_do_write+0x2b97/0x3700 fs/fuse/dev.c:1848 fuse_dev_write+0x19a/0x240 fs/fuse/dev.c:1928 call_write_iter include/linux/fs.h:1793 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6c6/0x9f0 fs/read_write.c:487 vfs_write+0x1f8/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __ia32_sys_write+0x71/0xb0 fs/read_write.c:607 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x34d/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7efecb9 Code: Bad RIP value. RSP: 002b:00000000f5ed90cc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 0000000020000180 RDX: 0000000000000028 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor7:18021 blocked for more than 140 seconds. Not tainted 4.18.0-rc7+ #74 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor7 D24664 18021 23709 0x20020004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3501 schedule+0xfb/0x450 kernel/sched/core.c:3545 request_wait_answer+0x4c8/0x920 fs/fuse/dev.c:463 __fuse_request_send+0x12a/0x1d0 fs/fuse/dev.c:483 fuse_request_send+0x62/0xa0 fs/fuse/dev.c:496 fuse_simple_request+0x33d/0x730 fs/fuse/dev.c:554 fuse_setxattr+0x3df/0x650 fs/fuse/xattr.c:37 fuse_xattr_set+0x3b/0x70 fs/fuse/xattr.c:192 __vfs_setxattr+0x124/0x190 fs/xattr.c:150 __vfs_setxattr_noperm+0x11d/0x410 fs/xattr.c:181 vfs_setxattr+0xd8/0x100 fs/xattr.c:224 setxattr+0x2ea/0x450 fs/xattr.c:451 path_setxattr+0x1e3/0x230 fs/xattr.c:470 __do_sys_setxattr fs/xattr.c:485 [inline] __se_sys_setxattr fs/xattr.c:481 [inline] __ia32_sys_setxattr+0xc0/0x150 fs/xattr.c:481 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x34d/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7efecb9 Code: Bad RIP value. RSP: 002b:00000000f5eb80cc EFLAGS: 00000296 ORIG_RAX: 00000000000000e2 RAX: ffffffffffffffda RBX: 0000000020000080 RCX: 0000000020000100 RDX: 0000000020000240 RSI: 000000000000002b RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/774: #0: 0000000008707c7f (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 1 lock held by rsyslogd/4330: 2 locks held by getty/4421: #0: 0000000086c31156 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000d0fa961d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4422: #0: 00000000865e84c7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000a935255d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4423: #0: 000000006d84c1db (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b794286f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4424: #0: 0000000089b85ae4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000006c2188eb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4425: #0: 000000004ba5b287 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000f9c40a8c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4426: #0: 000000008eca67f2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000007f4c01f6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4427: #0: 00000000fe4cd3d1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000004ec3f340 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor7/18012: #0: 00000000c21c5815 (&fc->killsb){++++}, at: fuse_notify_inval_entry fs/fuse/dev.c:1488 [inline] #0: 00000000c21c5815 (&fc->killsb){++++}, at: fuse_notify fs/fuse/dev.c:1764 [inline] #0: 00000000c21c5815 (&fc->killsb){++++}, at: fuse_dev_do_write+0x2b2d/0x3700 fs/fuse/dev.c:1848 #1: 000000002bb64719 (&type->i_mutex_dir_key#5){++++}, at: inode_lock include/linux/fs.h:715 [inline] #1: 000000002bb64719 (&type->i_mutex_dir_key#5){++++}, at: fuse_reverse_inval_entry+0xae/0x6d0 fs/fuse/dir.c:969 2 locks held by syz-executor7/18021: #0: 000000000be2a57b (sb_writers#16){.+.+}, at: sb_start_write include/linux/fs.h:1554 [inline] #0: 000000000be2a57b (sb_writers#16){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 000000002bb64719 (&type->i_mutex_dir_key#5){++++}, at: inode_lock include/linux/fs.h:715 [inline] #1: 000000002bb64719 (&type->i_mutex_dir_key#5){++++}, at: vfs_setxattr+0x96/0x100 fs/xattr.c:219 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 774 Comm: khungtaskd Not tainted 4.18.0-rc7+ #74 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:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x9c4/0xf80 kernel/hung_task.c:252 kthread+0x345/0x410 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 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:54