INFO: task syz-executor6:30814 blocked for more than 140 seconds. Not tainted 4.18.0-rc7+ #169 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor6 D23352 30814 4428 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_nested+0xae/0x130 kernel/locking/rwsem.c:194 inode_lock_nested include/linux/fs.h:750 [inline] filename_create+0x1b2/0x5b0 fs/namei.c:3645 user_path_create fs/namei.c:3703 [inline] do_mknodat+0x1c6/0x510 fs/namei.c:3765 __do_sys_mknod fs/namei.c:3805 [inline] __se_sys_mknod fs/namei.c:3803 [inline] __x64_sys_mknod+0x7b/0xb0 fs/namei.c:3803 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x456a09 Code: Bad RIP value. RSP: 002b:00007fb5fed85c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007fb5fed866d4 RCX: 0000000000456a09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d1600 R14: 00000000004c6de5 R15: 0000000000000000 INFO: task syz-executor6:30821 blocked for more than 140 seconds. Not tainted 4.18.0-rc7+ #169 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor6 D22920 30821 4428 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 fuse_atomic_open+0x214/0x350 fs/fuse/dir.c:499 atomic_open fs/namei.c:3054 [inline] lookup_open+0xdb1/0x1b40 fs/namei.c:3190 do_last fs/namei.c:3311 [inline] path_openat+0x207d/0x4e10 fs/namei.c:3540 do_filp_open+0x255/0x380 fs/namei.c:3574 do_open_execat+0x1fe/0x670 fs/exec.c:853 __do_execve_file.isra.36+0x177f/0x25e0 fs/exec.c:1754 do_execveat_common fs/exec.c:1865 [inline] do_execve fs/exec.c:1882 [inline] __do_sys_execve fs/exec.c:1963 [inline] __se_sys_execve fs/exec.c:1958 [inline] __x64_sys_execve+0x8f/0xc0 fs/exec.c:1958 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x456a09 Code: Bad RIP value. RSP: 002b:00007fb5fed64c78 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00007fb5fed656d4 RCX: 0000000000456a09 RDX: 0000000020000800 RSI: 0000000020000780 RDI: 0000000020000600 RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004ca9b8 R14: 00000000004c26c9 R15: 0000000000000001 Showing all locks held in the system: 1 lock held by khungtaskd/773: #0: 000000008662b523 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 1 lock held by rsyslogd/4285: 2 locks held by getty/4375: #0: 00000000a3466f53 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000008aadc0d5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4376: #0: 00000000af7c2664 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000067bcb0fe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4377: #0: 000000009a123f28 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000020236377 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4378: #0: 00000000a04e3996 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000d9c33d2e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4379: #0: 00000000ac8b6815 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000008e993f32 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4380: #0: 000000004c7c7cf7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000393b3b7e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4381: #0: 00000000ef5ef52c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000049c01bf5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor6/30814: #0: 00000000a20ceb50 (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1554 [inline] #0: 00000000a20ceb50 (sb_writers#15){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 00000000168c7114 (&type->i_mutex_dir_key#5/1){+.+.}, at: inode_lock_nested include/linux/fs.h:750 [inline] #1: 00000000168c7114 (&type->i_mutex_dir_key#5/1){+.+.}, at: filename_create+0x1b2/0x5b0 fs/namei.c:3645 3 locks held by syz-executor6/30821: #0: 000000007189ede4 (&sig->cred_guard_mutex){+.+.}, at: prepare_bprm_creds+0x53/0x120 fs/exec.c:1403 #1: 00000000168c7114 (&type->i_mutex_dir_key#6){++++}, at: inode_lock_shared include/linux/fs.h:725 [inline] #1: 00000000168c7114 (&type->i_mutex_dir_key#6){++++}, at: do_last fs/namei.c:3310 [inline] #1: 00000000168c7114 (&type->i_mutex_dir_key#6){++++}, at: path_openat+0x204c/0x4e10 fs/namei.c:3540 #2: 000000007db64e53 (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:363 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 773 Comm: khungtaskd Not tainted 4.18.0-rc7+ #169 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