binder: 18027:18123 ioctl c0046209 7fffffffffffbfc returned -22 INFO: task syz-executor0:18076 blocked for more than 140 seconds. Not tainted 4.9.117-g8b21e85 #19 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D29088 18076 7890 0x00000004 ffff8801d33ae000 ffff8801cca38540 ffff8801c8354540 ffff88019da2b000 ffff8801db321c18 ffff8801a2c279c8 ffffffff839ebd0d ffffffff81235687 0000000000000000 ffff8801d33ae8c0 0000000600000007 ffff8801db3224e8 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3553 [] __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:526 [inline] [] rwsem_down_write_failed+0x598/0x990 kernel/locking/rwsem-xadd.c:555 [] call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:105 [] __down_write arch/x86/include/asm/rwsem.h:125 [inline] [] down_write_nested+0x60/0xa0 kernel/locking/rwsem.c:174 [] inode_lock_nested include/linux/fs.h:801 [inline] [] lock_rename+0x236/0x290 fs/namei.c:2857 [] SYSC_renameat2 fs/namei.c:4607 [inline] [] SyS_renameat2 fs/namei.c:4546 [inline] [] SYSC_rename fs/namei.c:4697 [inline] [] SyS_rename+0x3bd/0x800 fs/namei.c:4695 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/519: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x11c/0xa20 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336 2 locks held by rs:main Q:Reg/3670: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0xac/0xd0 fs/file.c:781 #1: (sb_writers#3){.+.+.+}, at: [] file_start_write include/linux/fs.h:2640 [inline] #1: (sb_writers#3){.+.+.+}, at: [] vfs_write+0x3ae/0x530 fs/read_write.c:556 2 locks held by getty/3768: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+...}, at: [] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2142 2 locks held by syz-executor0/18076: #0: (sb_writers#16){.+.+.+}, at: [] sb_start_write include/linux/fs.h:1573 [inline] #0: (sb_writers#16){.+.+.+}, at: [] mnt_want_write+0x3f/0xb0 fs/namespace.c:391 #1: (&type->i_mutex_dir_key#4/1){+.+.+.}, at: [] inode_lock_nested include/linux/fs.h:801 [inline] #1: (&type->i_mutex_dir_key#4/1){+.+.+.}, at: [] lock_rename+0x236/0x290 fs/namei.c:2857 1 lock held by syz-executor0/18118: #0: (&type->i_mutex_dir_key#4){++++++}, at: [] inode_lock_shared include/linux/fs.h:776 [inline] #0: (&type->i_mutex_dir_key#4){++++++}, at: [] lookup_slow+0x141/0x470 fs/namei.c:1645 1 lock held by syz-executor0/18119: #0: (&type->i_mutex_dir_key#4){++++++}, at: [] inode_lock_shared include/linux/fs.h:776 [inline] #0: (&type->i_mutex_dir_key#4){++++++}, at: [] lookup_slow+0x141/0x470 fs/namei.c:1645 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.117-g8b21e85 #19 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d85dfd08 ffffffff81eb4be9 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810b9bd0 ffff8801d85dfd40 ffffffff81ebfee7 0000000000000000 0000000000000000 0000000000000003 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x12a/0x14f 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+0x6b4/0xa20 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18057 Comm: syz-executor0 Not tainted 4.9.117-g8b21e85 #19 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88019ab63000 task.stack: ffff880199fe0000 RIP: 0010:[] c [] variable_test_bit arch/x86/include/asm/bitops.h:318 [inline] RIP: 0010:[] c [] cpumask_test_cpu include/linux/cpumask.h:317 [inline] RIP: 0010:[] c [] trace_lock_acquire include/trace/events/lock.h:12 [inline] RIP: 0010:[] c [] lock_acquire+0xe0/0x3e0 kernel/locking/lockdep.c:3755 RSP: 0018:ffff880199fe7300 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000046 RCX: 0000000000000000 RDX: ffff88019ab63000 RSI: 0000000000000000 RDI: ffff88019ab638c4 RBP: ffff880199fe7368 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801cb5d0578 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fb1c0bb2700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000209fb10 CR3: 00000001d832e000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000c ffff88019ab638c0c 0000000600000007c ffff88019ab63000c ffffffff839fc30ac ffff880199fe7498c ffff8801cb5d0560c 0000000100000046c ffff8801cb5d0560c 0000000000000296c ffff880199fe7498c ffff8801cb5d0560c Call Trace: [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:112 [inline] [] _raw_spin_lock_irqsave+0x4e/0x62 kernel/locking/spinlock.c:159 [] prepare_to_wait_event+0x6b/0x450 kernel/sched/wait.c:213 [] request_wait_answer+0x22e/0x6e0 fs/fuse/dev.c:459 [] __fuse_request_send+0x109/0x1b0 fs/fuse/dev.c:480 [] fuse_request_send+0x5d/0x70 fs/fuse/dev.c:493 [] fuse_simple_request+0x2f4/0x660 fs/fuse/dev.c:551 [] fuse_lookup_name+0x253/0x5d0 fs/fuse/dir.c:369 [] fuse_lookup+0xed/0x3a0 fs/fuse/dir.c:406 [] lookup_slow+0x23e/0x470 fs/namei.c:1668 [] walk_component+0x716/0x1bb0 fs/namei.c:1784 [] lookup_last fs/namei.c:2266 [inline] [] path_lookupat.isra.41+0x186/0x410 fs/namei.c:2283 [] filename_lookup.part.55+0x177/0x370 fs/namei.c:2317 [] filename_lookup fs/namei.c:2310 [inline] [] user_path_at_empty+0x53/0x70 fs/namei.c:2578 [] user_path_at include/linux/namei.h:55 [inline] [] vfs_fstatat+0xc6/0x170 fs/stat.c:106 [] vfs_stat fs/stat.c:123 [inline] [] SYSC_newstat+0x86/0xf0 fs/stat.c:270 [] SyS_newstat+0x1d/0x30 fs/stat.c:266 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: c00 c00 cc7 c82 cc4 c08 c00 c00 c01 c00 c00 c00 c8b c05 ca1 c30 ca1 c03 c85 cc0 c0f c8f cfb c00 c00 c00 c65 c8b c05 cb2 cb4 cdd c7e c89 cc0 c48 c0f ca3 c05 cb8 c3e ca2 c03 c<0f> c82 ca1 c00 c00 c00 cc7 c44 c24 c18 c00 c00 c00 c00 c49 c89 cd9 c4c c89 ce7 c44 c