INFO: task syz-executor5:25388 blocked for more than 140 seconds. Not tainted 4.18.0-rc6+ #167 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D23352 25388 4457 0x00000004 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] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x456919 Code: 24 20 89 01 48 8b 6c 24 28 48 83 c4 30 c3 e8 ae 35 00 00 eb 9c cc cc cc cc cc cc cc cc cc cc cc cc 48 8b 44 24 08 48 8d 88 40 <01> 00 00 84 01 48 8b 88 48 01 00 00 48 ff c9 48 89 88 48 01 00 00 RSP: 002b:00007f857499bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f857499c6d4 RCX: 0000000000456919 RDX: 0000000000000026 RSI: 0000000020000040 RDI: 0000000000000013 RBP: 000000000072be80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d5dd8 R14: 00000000004c93d3 R15: 0000000000000000 INFO: task syz-executor5:25461 blocked for more than 140 seconds. Not tainted 4.18.0-rc6+ #167 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D24072 25461 4457 0x00000004 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_lookup_name+0x3ee/0x830 fs/fuse/dir.c:323 fuse_lookup+0xf9/0x4c0 fs/fuse/dir.c:360 __lookup_slow+0x2b5/0x540 fs/namei.c:1630 lookup_slow+0x57/0x80 fs/namei.c:1647 walk_component+0x94a/0x2630 fs/namei.c:1769 lookup_last fs/namei.c:2237 [inline] path_lookupat.isra.45+0x202/0xbf0 fs/namei.c:2287 filename_lookup+0x264/0x510 fs/namei.c:2321 user_path_at_empty+0x40/0x50 fs/namei.c:2584 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x129/0x210 fs/stat.c:185 vfs_stat include/linux/fs.h:3102 [inline] __do_sys_newstat+0x8f/0x110 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x54/0x80 fs/stat.c:333 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x456919 Code: 24 20 89 01 48 8b 6c 24 28 48 83 c4 30 c3 e8 ae 35 00 00 eb 9c cc cc cc cc cc cc cc cc cc cc cc cc 48 8b 44 24 08 48 8d 88 40 <01> 00 00 84 01 48 8b 88 48 01 00 00 48 ff c9 48 89 88 48 01 00 00 RSP: 002b:00007f857497ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 00007f857497b6d4 RCX: 0000000000456919 RDX: 0000000000000000 RSI: 00000000200005c0 RDI: 0000000020000640 RBP: 000000000072bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d51a8 R14: 00000000004db47b R15: 0000000000000001 Showing all locks held in the system: 1 lock held by khungtaskd/774: #0: 00000000144054d8 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 2 locks held by rsyslogd/4314: #0: 000000000b9ee7c5 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 00000000f06e58db (&rq->lock){-.-.}, at: is_bpf_text_address+0x0/0x170 kernel/bpf/core.c:530 2 locks held by getty/4405: #0: 000000008d23e79a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000f7768b38 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4406: #0: 00000000d31254d0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000d008f875 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4407: #0: 00000000c06ccef8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000dfb9b3f2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4408: #0: 000000000b40ba92 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000ddd7e28a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4409: #0: 00000000e3514322 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000f3f0425f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4410: #0: 00000000b40431e7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b31f4150 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by kworker/0:3/4846: #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1ba0 kernel/workqueue.c:2124 #1: 0000000020e70cca ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9b/0x1ba0 kernel/workqueue.c:2128 2 locks held by kworker/0:4/4849: #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1ba0 kernel/workqueue.c:2124 #1: 0000000098273c6e ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9b/0x1ba0 kernel/workqueue.c:2128 2 locks held by kworker/0:5/13368: #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1ba0 kernel/workqueue.c:2124 #1: 00000000d952ed61 ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9b/0x1ba0 kernel/workqueue.c:2128 2 locks held by kworker/0:1/4210: #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000001e24c1df ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1ba0 kernel/workqueue.c:2124 #1: 000000008b486a8a ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9b/0x1ba0 kernel/workqueue.c:2128 2 locks held by getty/23123: #0: 0000000030795944 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000ff0a3e3f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor5/25388: #0: 000000007959ac75 (&fc->killsb){++++}, at: fuse_notify_inval_entry fs/fuse/dev.c:1488 [inline] #0: 000000007959ac75 (&fc->killsb){++++}, at: fuse_notify fs/fuse/dev.c:1764 [inline] #0: 000000007959ac75 (&fc->killsb){++++}, at: fuse_dev_do_write+0x2b2d/0x3700 fs/fuse/dev.c:1848 #1: 000000007282657f (&type->i_mutex_dir_key#5){++++}, at: inode_lock include/linux/fs.h:715 [inline] #1: 000000007282657f (&type->i_mutex_dir_key#5){++++}, at: fuse_reverse_inval_entry+0xae/0x6d0 fs/fuse/dir.c:969 2 locks held by syz-executor5/25461: #0: 000000007282657f (&type->i_mutex_dir_key#5){++++}, at: inode_lock_shared include/linux/fs.h:725 [inline] #0: 000000007282657f (&type->i_mutex_dir_key#5){++++}, at: lookup_slow+0x49/0x80 fs/namei.c:1646 #1: 0000000077f9339b (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:363 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 774 Comm: khungtaskd Not tainted 4.18.0-rc6+ #167 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 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54