INFO: task syz-executor1:7665 blocked for more than 120 seconds. Not tainted 4.9.110-g00a0bcb #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D28536 7665 3874 0x00000004 ffff8801d903b000 ffff8801b6f39f80 ffff8801bf749a40 ffff8801d8d71800 ffff8801db321c18 ffff88019fc9f898 ffffffff839e6ded ffffffff812355f7 0000000000000000 ffff8801d903b8c0 0000000600000007 ffff8801db3224e8 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3557 [] __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_two_nondirectories+0xb8/0xf0 fs/inode.c:983 [] vfs_rename2+0x42a/0x18f0 fs/namei.c:4473 [] SYSC_renameat2 fs/namei.c:4657 [inline] [] SyS_renameat2 fs/namei.c:4546 [inline] [] SYSC_rename fs/namei.c:4697 [inline] [] SyS_rename+0x612/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 kworker/u4:2/89: #0: ("writeback"){.+.+.+}, at: [] work_static include/linux/workqueue.h:186 [inline] #0: ("writeback"){.+.+.+}, at: [] set_work_data kernel/workqueue.c:617 [inline] #0: ("writeback"){.+.+.+}, at: [] set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ("writeback"){.+.+.+}, at: [] process_one_work+0x6ee/0x1500 kernel/workqueue.c:2085 #1: ((&(&wb->dwork)->work)){+.+.+.}, at: [] process_one_work+0x728/0x1500 kernel/workqueue.c:2089 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 getty/3777: #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:2133 3 locks held by syz-executor1/7665: #0: (sb_writers#12){.+.+.+}, at: [] sb_start_write include/linux/fs.h:1573 [inline] #0: (sb_writers#12){.+.+.+}, at: [] mnt_want_write+0x3f/0xb0 fs/namespace.c:391 #1: (&sb->s_type->i_mutex_key#15/1){+.+.+.}, at: [] inode_lock_nested include/linux/fs.h:801 [inline] #1: (&sb->s_type->i_mutex_key#15/1){+.+.+.}, at: [] lock_rename+0x236/0x290 fs/namei.c:2857 #2: (&sb->s_type->i_mutex_key#15/4){+.+.+.}, at: [] inode_lock_nested include/linux/fs.h:801 [inline] #2: (&sb->s_type->i_mutex_key#15/4){+.+.+.}, at: [] lock_two_nondirectories+0xb8/0xf0 fs/inode.c:983 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 519 Comm: khungtaskd Not tainted 4.9.110-g00a0bcb #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d9067d08 ffffffff81eb2329 0000000000000000 0000000000000001 0000000000000001 0000000000000001 ffffffff810b9580 ffff8801d9067d40 ffffffff81ebd627 0000000000000001 0000000000000000 0000000000000002 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7612 Comm: syz-executor1 Not tainted 4.9.110-g00a0bcb #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801a069b000 task.stack: ffff8801c1b58000 RIP: 0010:[] c [] __sanitizer_cov_trace_pc+0x4/0x50 kernel/kcov.c:93 RSP: 0018:ffff8801c1b5f778 EFLAGS: 00000202 RAX: 0000000000000246 RBX: 0000000000000001 RCX: ffffc900072f6000 RDX: 0000000000040000 RSI: ffffffff816241c1 RDI: ffff8801cbfe9700 RBP: ffff8801c1b5f778 R08: ffff8801a069b960 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff100340d3727 R12: ffffea000672491c R13: ffffea0006724900 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f1c7ab48700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5bef79b140 CR3: 00000001ce8e4000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801c1b5f7c8c ffffffff816241d6c 0000020006724900c 0000000000000041c ffff8801cbfe9700c 0000000000000001c ffffea000672491cc ffffea0006724900c 0000000000000200c dffffc0000000000c ffff8801c1b5f868c ffffffff816251e9c Call Trace: [] arch_local_irq_disable arch/x86/include/asm/paravirt.h:773 [inline] [] lookup_bh_lru fs/buffer.c:1325 [inline] [] __find_get_block+0x36/0x4c0 fs/buffer.c:1356 [] __getblk_slow fs/buffer.c:1101 [inline] [] __getblk_gfp+0x189/0x710 fs/buffer.c:1386 [] __bread_gfp+0x2d/0x270 fs/buffer.c:1420 [] sb_bread include/linux/buffer_head.h:300 [inline] [] __fat_write_inode+0x2ab/0x980 fs/fat/inode.c:844 [] fat_write_inode+0x79/0x170 fs/fat/inode.c:893 [] write_inode fs/fs-writeback.c:1180 [inline] [] __writeback_single_inode+0x86d/0x1020 fs/fs-writeback.c:1379 [] writeback_single_inode+0x24f/0x440 fs/fs-writeback.c:1433 [] sync_inode fs/fs-writeback.c:2458 [inline] [] sync_inode_metadata+0xac/0xe0 fs/fs-writeback.c:2478 [] __generic_file_fsync+0x141/0x1a0 fs/libfs.c:985 [] generic_file_fsync+0x77/0x110 fs/libfs.c:1011 [] fat_file_fsync+0x77/0x170 fs/fat/file.c:165 [] vfs_fsync_range+0x10c/0x260 fs/sync.c:195 [] generic_write_sync include/linux/fs.h:2607 [inline] [] generic_file_write_iter+0x442/0x610 mm/filemap.c:2897 [] new_sync_write fs/read_write.c:496 [inline] [] __vfs_write+0x3e0/0x580 fs/read_write.c:509 [] vfs_write+0x187/0x530 fs/read_write.c:557 [] SYSC_write fs/read_write.c:604 [inline] [] SyS_write+0xd9/0x1c0 fs/read_write.c:596 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: c4c c89 cff ce8 c4f cd2 c1d c00 ce9 c5f cff cff cff c48 c89 cdf ce8 ca2 cd1 c1d c00 ce9 cf9 cfe cff cff c66 c2e c0f c1f c84 c00 c00 c00 c00 c00 c0f c1f c00 c55 c48 c89 ce5 c<65> c48 c8b c04 c25 cc0 c7d c01 c00 c65 c8b c15 cfc c93 ccb c7e c81 ce2 c00 c01 c1f c