INFO: task syz-executor.3:3160 blocked for more than 140 seconds. Not tainted 4.9.186+ #12 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D25528 3160 1 0x00000004 0000000000000083 ffff8801b1df0000 0000000000000000 ffff8801db721000 ffff8801da6b2f80 ffff8801db721018 ffff8801b1dff5b0 ffffffff8280c55e ffff8801b1dff678 ffff8801b1df0000 00ff8801b1dff500 ffff8801db7218f0 Call Trace: [<000000001013e3ef>] schedule+0x92/0x1c0 kernel/sched/core.c:3546 [<000000002bd63365>] rwsem_down_read_failed+0x258/0x3e0 kernel/locking/rwsem-xadd.c:283 [<0000000093ad8587>] call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 [<00000000335a1c54>] __down_read arch/x86/include/asm/rwsem.h:65 [inline] [<00000000335a1c54>] down_read+0x52/0xb0 kernel/locking/rwsem.c:24 [<0000000081b57f81>] inode_lock_shared include/linux/fs.h:781 [inline] [<0000000081b57f81>] lookup_slow+0x160/0x480 fs/namei.c:1686 [<000000000adcecb1>] walk_component+0x71e/0xce0 fs/namei.c:1825 [<00000000fbd156b6>] link_path_walk+0x897/0x1200 fs/namei.c:2161 [<000000003a919191>] path_openat+0x18e/0x2f60 fs/namei.c:3580 [<000000007109b675>] do_filp_open+0x1a1/0x280 fs/namei.c:3615 [<0000000093e6c970>] do_sys_open+0x2f0/0x610 fs/open.c:1078 [<000000001fe3b570>] SYSC_open fs/open.c:1096 [inline] [<000000001fe3b570>] SyS_open+0x2d/0x40 fs/open.c:1091 [<0000000047b69876>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000e46d078b>] 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: [<000000003b19d626>] check_hung_uninterruptible_tasks kernel/hung_task.c:169 [inline] #0: (rcu_read_lock){......}, at: [<000000003b19d626>] watchdog+0x14b/0xaf0 kernel/hung_task.c:263 #1: (tasklist_lock){.+.+..}, at: [<00000000f21e1fa9>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4336 2 locks held by getty/2034: #0: (&tty->ldisc_sem){++++++}, at: [<00000000965b8a65>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+...}, at: [<00000000e9b623c8>] n_tty_read+0x1fe/0x1820 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.3/3160: #0: (&type->i_mutex_dir_key#8){++++++}, at: [<0000000081b57f81>] inode_lock_shared include/linux/fs.h:781 [inline] #0: (&type->i_mutex_dir_key#8){++++++}, at: [<0000000081b57f81>] lookup_slow+0x160/0x480 fs/namei.c:1686 1 lock held by syz-executor.3/458: #0: (&type->i_mutex_dir_key#8){++++++}, at: [<0000000081b57f81>] inode_lock_shared include/linux/fs.h:781 [inline] #0: (&type->i_mutex_dir_key#8){++++++}, at: [<0000000081b57f81>] lookup_slow+0x160/0x480 fs/namei.c:1686 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 24 Comm: khungtaskd Not tainted 4.9.186+ #12 ffff8801d98d7cc8 ffffffff81b5a0b1 0000000000000000 0000000000000000 0000000000000000 ffffffff81099a01 dffffc0000000000 ffff8801d98d7d00 ffffffff81b6534c 0000000000000000 0000000000000000 0000000000000000 Call Trace: [<00000000c26e85f8>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000c26e85f8>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000006066e766>] nmi_cpu_backtrace.cold+0x47/0x87 lib/nmi_backtrace.c:99 [<000000003e759e8b>] nmi_trigger_cpumask_backtrace+0x124/0x155 lib/nmi_backtrace.c:60 [<000000004902df8d>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [<0000000046273957>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [<0000000046273957>] check_hung_task kernel/hung_task.c:126 [inline] [<0000000046273957>] check_hung_uninterruptible_tasks kernel/hung_task.c:183 [inline] [<0000000046273957>] watchdog+0x670/0xaf0 kernel/hung_task.c:263 [<00000000e1b08713>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000bc84217f>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 464 Comm: syz-executor.3 Not tainted 4.9.186+ #12 task: 0000000040fa3752 task.stack: 00000000746e4c34 RIP: 0010:[] c [<00000000070aa9dc>] mark_held_locks+0x4f/0x100 kernel/locking/lockdep.c:2648 RSP: 0018:ffff8801af5e7698 EFLAGS: 00000002 RAX: 0000000000000002 RBX: ffff8801aed52f80 RCX: 1ffff10035daa70f RDX: 1ffff10035daa705 RSI: 0000000000000001 RDI: ffff8801aed53828 RBP: ffff8801af5e76d0 R08: 0000000000000292 R09: ffff8801aed53878 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004 R13: 1ffff10035ebceeb R14: ffff8801aed52f80 R15: ffff8801af5e7840 FS: 00007f894095e700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbbaba4e000 CR3: 00000001d290c000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff811f2f8fc 00000003aed53828c ffff8801aed52f80c ffffffff8281c22ac 1ffff10035ebceebc fffffffffffffe00c ffff8801af5e7840c ffff8801af5e76f0c ffffffff8120b5c5c 0000000000000292c ffff8801cdac8318c ffff8801af5e7700c Call Trace: [<000000009354d3e6>] __trace_hardirqs_on_caller kernel/locking/lockdep.c:2689 [inline] [<000000009354d3e6>] trace_hardirqs_on_caller+0x385/0x5a0 kernel/locking/lockdep.c:2736 [<000000001b7b9807>] trace_hardirqs_on+0xd/0x10 kernel/locking/lockdep.c:2743 [<00000000a4986434>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:162 [inline] [<00000000a4986434>] _raw_spin_unlock_irqrestore+0x5a/0x70 kernel/locking/spinlock.c:191 [<00000000e6c92c28>] spin_unlock_irqrestore include/linux/spinlock.h:362 [inline] [<00000000e6c92c28>] prepare_to_wait_event+0x128/0x750 kernel/sched/wait.c:238 [<00000000dc794b6c>] request_wait_answer+0x249/0x820 fs/fuse/dev.c:477 [<000000007f36b3e8>] __fuse_request_send+0x109/0x1b0 fs/fuse/dev.c:498 [<000000007cf2f79f>] fuse_request_send+0x63/0x70 fs/fuse/dev.c:511 [<000000003646e9a8>] fuse_simple_request+0x2c4/0x660 fs/fuse/dev.c:569 [<00000000695c1051>] fuse_setxattr+0x1e6/0x320 fs/fuse/xattr.c:37 [<00000000bc57d2b1>] fuse_xattr_set+0x3c/0x70 fs/fuse/xattr.c:192 [<000000002181a230>] __vfs_setxattr+0x10e/0x170 fs/xattr.c:149 [<00000000c8d5cc51>] __vfs_setxattr_noperm+0x102/0x3c0 fs/xattr.c:180 [<0000000053fd46ae>] vfs_setxattr+0xc5/0xf0 fs/xattr.c:223 [<000000007cf84132>] setxattr+0x1cf/0x320 fs/xattr.c:449 [<000000002699c325>] path_setxattr+0x155/0x170 fs/xattr.c:468 [<000000004a0a966a>] SYSC_lsetxattr fs/xattr.c:490 [inline] [<000000004a0a966a>] SyS_lsetxattr+0x38/0x50 fs/xattr.c:486 [<0000000047b69876>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000e46d078b>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: c03 c41 c54 c53 c48 c83 cec c10 c0f cb6 c04 c02 c84 cc0 c74 c08 c3c c03 c0f c8e c99 c00 c00 c00 c41 c8b c86 ca8 c08 c00 c00 c85 cc0 c7e c7a c44 c8d c24 cb5 c00 c00 c00 c00 c<31> cdb c49 cbf c00 c00 c00 c00 c00 cfc cff cdf c41 c8d c44 c24 c03 c45 c8d c6c c24 c