INFO: task syz-executor2:27203 blocked for more than 120 seconds. Not tainted 4.9.107-g42a730a #48 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D28928 27203 3879 0x00000004 ffff880190ab8000 ffff8801cb1f4fc0 ffff8801cb1f79c0 ffff8801bc68e000 ffff8801db321c18 ffff8801d6daf890 ffffffff839e8c1d 1ffff1003adb5f06 ffffffff85550f68 0000000041b58ab3 00ffffff843c2390 ffff8801db3224e8 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3557 [] schedule_timeout+0x861/0xf70 kernel/time/timer.c:1768 [] io_schedule_timeout+0x1ba/0x390 kernel/sched/core.c:5180 [] io_schedule include/linux/sched.h:460 [inline] [] bit_wait_io+0x19/0xa0 kernel/sched/wait.c:582 [] __wait_on_bit_lock+0xce/0x1c0 kernel/sched/wait.c:421 [] __lock_page+0xff/0x160 mm/filemap.c:934 [] lock_page include/linux/pagemap.h:454 [inline] [] pagecache_get_page+0x409/0x720 mm/filemap.c:1216 [] find_lock_page include/linux/pagemap.h:284 [inline] [] truncate_inode_pages_range+0xca6/0x1290 mm/truncate.c:320 [] blkdev_fallocate+0x21d/0x440 fs/block_dev.c:1817 [] vfs_fallocate+0x359/0x600 fs/open.c:329 [] SYSC_fallocate fs/open.c:352 [inline] [] SyS_fallocate+0x53/0x90 fs/open.c:346 [] 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 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:2133 1 lock held by syz-executor2/27203: #0: (sb_writers){.+.+.+}, at: [] sb_start_write include/linux/fs.h:1573 [inline] #0: (sb_writers){.+.+.+}, at: [] vfs_fallocate+0x2fb/0x600 fs/open.c:328 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.107-g42a730a #48 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d96e7d08 ffffffff81eb42a9 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810b96a0 ffff8801d96e7d40 ffffffff81ebf5a7 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: 3676 Comm: rs:main Q:Reg Not tainted 4.9.107-g42a730a #48 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801b5c1b000 task.stack: ffff8801c6d88000 RIP: 0010:[] c [] match_held_lock+0x2d/0x570 kernel/locking/lockdep.c:3405 RSP: 0018:ffff8801c6d8f498 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff85c406a0 RCX: ffff8801b5c1b000 RDX: 1ffff10036b8372a RSI: ffffffff85c406a0 RDI: ffff8801b5c1b950 RBP: ffff8801c6d8f4c8 R08: ffff8801b5c1b960 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff10036b83727 R12: dffffc0000000000 R13: ffff8801b5c1b940 R14: ffff8801b5c1b918 R15: 0000000000000003 FS: 00007fec48091700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6a10d6c140 CR3: 00000001cc275000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801cfefbb80c ffffffff85c406a0c dffffc0000000000c ffff8801b5c1b940c ffff8801b5c1b918c 0000000000000003c ffff8801c6d8f580c ffffffff8123b6a5c 0000000000000046c ffff8801b5c1b000c 0000000000000000c 0000000000000000c Call Trace: [] __lock_release kernel/locking/lockdep.c:3536 [inline] [] lock_release+0x275/0xb80 kernel/locking/lockdep.c:3775 [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] [] _raw_spin_unlock_irqrestore+0x1f/0x70 kernel/locking/spinlock.c:191 [] __debug_check_no_obj_freed lib/debugobjects.c:733 [inline] [] debug_check_no_obj_freed+0x2ec/0x930 lib/debugobjects.c:749 [] free_pages_prepare mm/page_alloc.c:1073 [inline] [] free_pcp_prepare mm/page_alloc.c:1087 [inline] [] free_hot_cold_page+0x1ca/0x840 mm/page_alloc.c:2473 [] __put_single_page mm/swap.c:78 [inline] [] __put_page+0x6b/0xa0 mm/swap.c:102 [] put_page include/linux/mm.h:785 [inline] [] ext4_da_write_begin+0x749/0x1020 fs/ext4/inode.c:3021 [] generic_perform_write+0x301/0x510 mm/filemap.c:2740 [] __generic_file_write_iter+0x352/0x540 mm/filemap.c:2865 [] ext4_file_write_iter+0x463/0xd90 fs/ext4/file.c:165 [] 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: c00 c00 c00 c00 c00 cfc cff cdf c55 c48 c89 ce5 c41 c57 c41 c56 c41 c55 c49 c89 cfd c48 c83 cc7 c10 c48 c89 cfa c41 c54 c48 cc1 cea c03 c53 c48 c83 cec c08 c80 c3c c02 c00 c<0f> c85 c51 c04 c00 c00 c49 c39 c75 c10 c0f c84 cf5 c01 c00 c00 c49 c8d c7d c22 c48 c