INFO: task syz-executor1:2103 blocked for more than 140 seconds. Not tainted 4.9.148+ #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D24792 2103 1 0x00000004 ffff8801cf63af80 0000000000000000 ffff8801db621000 ffffffff8302d180 ffff8801db621018 ffff8801ad85f5b0 ffffffff828030e6 dffffc0000000000 ffff8801ad85f588 ffffffff81206e91 00ffffff8280f1eb ffff8801db6218f0 Call Trace: [] schedule+0x92/0x1c0 kernel/sched/core.c:3553 [] rwsem_down_read_failed+0x258/0x3e0 kernel/locking/rwsem-xadd.c:260 [] call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 [] __down_read arch/x86/include/asm/rwsem.h:65 [inline] [] down_read+0x52/0xb0 kernel/locking/rwsem.c:24 [] inode_lock_shared include/linux/fs.h:778 [inline] [] lookup_slow+0x160/0x480 fs/namei.c:1686 [] walk_component+0x71e/0xce0 fs/namei.c:1825 [] link_path_walk+0x897/0x1200 fs/namei.c:2161 [] path_openat+0x18e/0x2f60 fs/namei.c:3580 [] do_filp_open+0x1a1/0x280 fs/namei.c:3615 [] do_sys_open+0x2f0/0x610 fs/open.c:1072 [] SYSC_open fs/open.c:1090 [inline] [] SyS_open+0x2d/0x40 fs/open.c:1085 [] do_syscall_64+0x1ad/0x570 arch/x86/entry/common.c:285 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/24: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x11b/0xa40 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336 2 locks held by getty/2017: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+...}, at: [] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156 1 lock held by syz-executor1/2103: #0: (&type->i_mutex_dir_key#7){++++++}, at: [] inode_lock_shared include/linux/fs.h:778 [inline] #0: (&type->i_mutex_dir_key#7){++++++}, at: [] lookup_slow+0x160/0x480 fs/namei.c:1686 2 locks held by syz-executor0/14408: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+...}, at: [] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156 1 lock held by syz-executor1/11394: #0: (&type->i_mutex_dir_key#7){++++++}, at: [] inode_lock_shared include/linux/fs.h:778 [inline] #0: (&type->i_mutex_dir_key#7){++++++}, at: [] lookup_slow+0x160/0x480 fs/namei.c:1686 1 lock held by syz-executor1/11405: #0: (&type->i_mutex_dir_key#7){++++++}, at: [] inode_lock_shared include/linux/fs.h:778 [inline] #0: (&type->i_mutex_dir_key#7){++++++}, at: [] lookup_slow+0x160/0x480 fs/namei.c:1686 1 lock held by syz-executor1/11415: #0: (&type->i_mutex_dir_key#7){++++++}, at: [] inode_lock_shared include/linux/fs.h:778 [inline] #0: (&type->i_mutex_dir_key#7){++++++}, at: [] lookup_slow+0x160/0x480 fs/namei.c:1686 1 lock held by syz-executor1/11448: #0: (&type->i_mutex_dir_key#7){++++++}, at: [] inode_lock_shared include/linux/fs.h:778 [inline] #0: (&type->i_mutex_dir_key#7){++++++}, at: [] lookup_slow+0x160/0x480 fs/namei.c:1686 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 24 Comm: khungtaskd Not tainted 4.9.148+ #3 ffff8801d9907cd0 ffffffff81b456e1 0000000000000001 0000000000000000 0000000000000001 ffffffff81097301 00000000003fffa3 ffff8801d9907d08 ffffffff81b5096c 0000000000000001 0000000000000000 0000000000000001 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x5f7/0xa40 kernel/hung_task.c:239 [] kthread+0x278/0x310 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11412 Comm: syz-executor1 Not tainted 4.9.148+ #3 task: ffff88019ed3af80 task.stack: ffff8801a3088000 RIP: 0010:[] c [] __lock_release kernel/locking/lockdep.c:3546 [inline] RIP: 0010:[] c [] lock_release+0x2ed/0xc30 kernel/locking/lockdep.c:3775 RSP: 0018:ffff8801a308f658 EFLAGS: 00000807 RAX: dffffc0000000000 RBX: ffff88019ed3b880 RCX: 0000000000000002 RDX: 1ffff10033da7714 RSI: ffff8801d53997b8 RDI: ffff88019ed3b8a4 RBP: ffff8801a308f700 R08: 0000000000000292 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff88019ed3b858 R14: 0000000000000002 R15: ffff88019ed3b8a2 FS: 00007f849fb6f700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c42a686038 CR3: 00000001d4a34000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Stack: 0000000000000046c ffff88019ed3af80c 0000000000000000c 0000000000000000c 0000000000000000c ffff8801a308f6f8c 0000000000000046c 0000000000000000c ffffffff811eec2fc ffff88019ed3b828c ffff88019ed3b830c 0000000000000046c Call Trace: [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] [] _raw_spin_unlock_irqrestore+0x1f/0x70 kernel/locking/spinlock.c:191 [] spin_unlock_irqrestore include/linux/spinlock.h:362 [inline] [] prepare_to_wait_event+0x128/0x750 kernel/sched/wait.c:238 [] request_wait_answer+0x249/0x820 fs/fuse/dev.c:477 [] __fuse_request_send+0x109/0x1b0 fs/fuse/dev.c:498 [] fuse_request_send+0x63/0x70 fs/fuse/dev.c:511 [] fuse_simple_request+0x2c4/0x660 fs/fuse/dev.c:569 [] fuse_setxattr+0x1e6/0x320 fs/fuse/xattr.c:37 [] fuse_xattr_set+0x3c/0x70 fs/fuse/xattr.c:192 [] __vfs_setxattr+0x10e/0x170 fs/xattr.c:149 [] __vfs_setxattr_noperm+0x102/0x3c0 fs/xattr.c:180 [] vfs_setxattr+0xc5/0xf0 fs/xattr.c:223 [] setxattr+0x1cf/0x320 fs/xattr.c:449 [] path_setxattr+0x155/0x170 fs/xattr.c:468 [] SYSC_lsetxattr fs/xattr.c:490 [inline] [] SyS_lsetxattr+0x38/0x50 fs/xattr.c:486 [] do_syscall_64+0x1ad/0x570 arch/x86/entry/common.c:285 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: c05 c00 c00 c49 c83 ced c28 c4c c89 cfb ce9 c24 cff cff cff c4c c8d c7b c22 c44 c89 cf1 c48 c8d c7b c24 c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c48 c89 cfa c48 cc1 cea c03 c<0f> cb6 c14 c02 c48 c89 cf8 c83 ce0 c07 c83 cc0 c03 c38 cd0 c7c c0f c84 cd2 c74 c0b c