INFO: task syz-executor0:12514 blocked for more than 120 seconds. Not tainted 4.9.107-gdb2c520 #46 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D28424 12514 1 0x00000004 ffff88017abce000 0000000000000000 ffff8801d4f2f480 ffff8801cffb3000 ffff8801db321c18 ffff88018662fb40 ffffffff839e8c1d 0000000000000002 0000000041b58ab3 ffffffff843b9ea3 00ffffff81221500 ffff8801db3224e8 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3557 [] 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/520: #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/3775: #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 1 lock held by syz-executor0/12514: #0: (&type->s_umount_key#38){+.+...}, at: [] deactivate_super+0x89/0xd0 fs/super.c:340 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 520 Comm: khungtaskd Not tainted 4.9.107-gdb2c520 #46 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d916fd08 ffffffff81eb3da9 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810b96a0 ffff8801d916fd40 ffffffff81ebf0a7 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: 4112 Comm: kworker/u4:4 Not tainted 4.9.107-gdb2c520 #46 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfnc (flush-7:0)c task: ffff8801cffb3000 task.stack: ffff8801cfbb0000 RIP: 0010:[] c [] lock_is_held+0xdd/0x140 kernel/locking/lockdep.c:3795 RSP: 0018:ffff8801cfbb7560 EFLAGS: 00000807 RAX: dffffc0000000000 RBX: 0000000000000246 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff846defa0 RDI: ffff8801cffb38c4 RBP: ffff8801cfbb7578 R08: ffff8801cffb3960 R09: 0000000000000001 R10: ffff8801cffb3000 R11: 1ffff10039ff6727 R12: ffff8801cffb3000 R13: 0000000000000001 R14: 0000000000000000 R15: ffff8801d5d93188 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000703914 CR3: 00000001d926e000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffea0007327040c ffff88017dc018f0c dffffc0000000000c ffff8801cfbb7588c ffffffff8127c114c ffff8801cfbb75f0c ffffffff81438dfbc ffffffff81438ab0c ffffed0039ff6718c ffff8801cffb38c8c 0000000000000001c ffff8801d5d93190c Call Trace: [] rcu_read_lock_held+0xa4/0xc0 kernel/rcu/update.c:297 [] radix_tree_deref_slot include/linux/radix-tree.h:199 [inline] [] find_get_entry+0x34b/0x540 mm/filemap.c:1097 [] 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_clusters_flush+0x111/0x380 fs/fat/misc.c:69 [] fat_write_inode+0xf2/0x170 fs/fat/inode.c:890 [] 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: cff cff c65 c4c c8b c24 c25 cc0 c7d c01 c00 c49 c8d cbc c24 cc4 c08 c00 c00 c41 c89 cc5 c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c48 c89 cfa c48 cc1 cea c03 c0f cb6 c14 c02 c<48> c89 cf8 c83 ce0 c07 c83 cc0 c03 c38 cd0 c7c c04 c84 cd2 c75 c3a c41 cc7 c84 c24 c