INFO: task syz-executor5:3872 blocked for more than 140 seconds. Not tainted 4.9.113-g47bbcd6 #10 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D27720 3872 1 0x00000004 ffff8801d94dc800 0000000000000000 ffff8801bd08d500 ffff8801d9a39800 ffff8801db321c18 ffff88019f88fb40 ffffffff839e909d 0000000000000002 0000000041b58ab3 ffffffff843bbae3 00ffffff81221550 ffff8801db3224e8 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3553 [] wb_wait_for_completion+0x149/0x1b0 fs/fs-writeback.c:221 [] __writeback_inodes_sb_nr+0x207/0x300 fs/fs-writeback.c:2310 [] writeback_inodes_sb_nr fs/fs-writeback.c:2327 [inline] [] writeback_inodes_sb+0x27/0x30 fs/fs-writeback.c:2342 [] __sync_filesystem fs/sync.c:35 [inline] [] sync_filesystem+0x93/0x240 fs/sync.c:63 [] generic_shutdown_super+0x75/0x300 fs/super.c:423 [] kill_block_super+0x9f/0x120 fs/super.c:1127 [] deactivate_locked_super+0x75/0xd0 fs/super.c:310 [] deactivate_super+0x91/0xd0 fs/super.c:341 [] cleanup_mnt+0xb2/0x160 fs/namespace.c:1134 [] __cleanup_mnt+0x16/0x20 fs/namespace.c:1141 [] task_work_run+0x10c/0x180 kernel/task_work.c:116 [] tracehook_notify_resume include/linux/tracehook.h:191 [inline] [] exit_to_usermode_loop+0xfc/0x120 arch/x86/entry/common.c:161 [] prepare_exit_to_usermode arch/x86/entry/common.c:191 [inline] [] syscall_return_slowpath arch/x86/entry/common.c:260 [inline] [] do_syscall_64+0x364/0x490 arch/x86/entry/common.c:287 [] 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 getty/3774: #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 1 lock held by syz-executor5/3872: #0: (&type->s_umount_key#47){+.+...}, at: [] deactivate_super+0x89/0xd0 fs/super.c:340 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.113-g47bbcd6 #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d97bfd08 ffffffff81eb32a9 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810b9bd0 ffff8801d97bfd40 ffffffff81ebe5a7 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: 4851 Comm: kworker/u4:5 Not tainted 4.9.113-g47bbcd6 #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfnc (flush-7:5)c task: ffff8801b6703000 task.stack: ffff88019ac00000 RIP: 0010:[] c [] __lock_acquire+0xa09/0x4070 kernel/locking/lockdep.c:3372 RSP: 0018:ffff88019ac07458 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000246 RCX: 0000000000000000 RDX: 1ffff10036ce0718 RSI: ffff8801b6703918 RDI: 0000000000000000 RBP: ffff88019ac074c8 R08: ffff8801b6703938 R09: 0000000000000001 R10: ffff8801b6703000 R11: 1ffff10036ce0722 R12: ffff8801b6703000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa405680348 CR3: 000000000461e000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8123ac90c 0000000000000000c ffffffff81438be0c ffff880100000000c 0000000000000000c ffff88019ac074f0c ffffffff81ec2ed7c 0000000000000000c 00000000846defa0c ffff8801cbfd94c8c 0000000000000001c dffffc0000000000c Call Trace: [] rcu_lock_acquire include/linux/rcupdate.h:493 [inline] [] rcu_read_lock include/linux/rcupdate.h:875 [inline] [] find_get_entry+0x4a/0x540 mm/filemap.c:1092 [] pagecache_get_page+0x4b/0x720 mm/filemap.c:1203 [] find_get_page_flags include/linux/pagemap.h:264 [inline] [] __find_get_block_slow+0xc2/0x330 fs/buffer.c:212 [] __find_get_block+0x23e/0x4c0 fs/buffer.c:1360 [] __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_sb_inodes+0x4ac/0xe70 fs/fs-writeback.c:1584 [] wb_writeback+0x2cf/0xbd0 fs/fs-writeback.c:1760 [] wb_do_writeback fs/fs-writeback.c:1894 [inline] [] wb_workfn+0x20e/0xdb0 fs/fs-writeback.c:1930 [] process_one_work+0x7e1/0x1500 kernel/workqueue.c:2092 [] worker_thread+0xd6/0x10a0 kernel/workqueue.c:2226 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Code: c00 c00 c00 c44 c89 cc8 c48 c8b c8c c24 c78 c01 c00 c00 c65 c48 c33 c0c c25 c28 c00 c00 c00 c0f c85 c17 c27 c00 c00 c48 c8d c65 cd8 c5b c41 c5c c41 c5d c41 c5e c41 c5f c5d c c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c4c c89 cf2 c48 cc1 cea c03 c80 c3c c02 c