INFO: task syz-executor1:24934 blocked for more than 120 seconds. Not tainted 4.9.101-gaef17a5 #32 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D28928 24934 3859 0x00000004 ffff8801cafc4800 0000000000000000 ffff8801ba6d4540 ffff8801cdfab000 ffff8801db321b98 ffff88019b6bfaa0 ffffffff839e39bd 1ffff100336d7f48 ffffffff85542240 0000000041b58ab3 00ffffff843c1058 ffff8801db322468 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 [] do_wait_for_common kernel/sched/completion.c:75 [inline] [] __wait_for_common kernel/sched/completion.c:93 [inline] [] wait_for_common_io kernel/sched/completion.c:107 [inline] [] wait_for_completion_io+0x203/0x2e0 kernel/sched/completion.c:155 [] submit_bio_wait+0x112/0x180 block/bio.c:885 [] blkdev_issue_flush+0x152/0x220 block/blk-flush.c:518 [] blkdev_fsync+0x85/0xb0 fs/block_dev.c:378 [] vfs_fsync_range+0x10c/0x260 fs/sync.c:195 [] vfs_fsync fs/sync.c:209 [inline] [] do_fsync+0x42/0xb0 fs/sync.c:219 [] SYSC_fsync fs/sync.c:228 [inline] [] SyS_fsync+0x16/0x20 fs/sync.c:226 [] 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 1 lock held by rsyslogd/3673: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0xac/0xd0 fs/file.c:781 2 locks held by getty/3769: #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-executor1/24984: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.101-gaef17a5 #32 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d898fd08 ffffffff81eb1009 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810b7da0 ffff8801d898fd40 ffffffff81ebc307 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: 0 Comm: swapper/1 Not tainted 4.9.101-gaef17a5 #32 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d9a6b000 task.stack: ffff8801d9a80000 RIP: 0010:[] c [] reschedule_interrupt+0x3/0xb0 arch/x86/entry/entry_64.S:670 RSP: 0018:ffff8801d9a87d68 EFLAGS: 00000046 RAX: 0000000000000007 RBX: ffffffff84c4de48 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8801d9a6b8c4 RBP: ffff8801d9a87d98 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff84c5df88 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001b28000 CR3: 00000001c8740000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff839f34c6c 0000000000000010c 0000000000000246c ffff8801d9a87d98c 0000000000000018c ffffffff81233e5dc ffff8801d9a87dd0c ffffffff839f2b05c ffff8801d9a6b000c 0000000000000000c dffffc0000000000c ffffffff84c5df88c Call Trace: [] arch_safe_halt arch/x86/include/asm/paravirt.h:104 [inline] [] default_idle+0x55/0x360 arch/x86/kernel/process.c:295 [] arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:286 [] default_idle_call+0x45/0x60 kernel/sched/idle.c:97 [] cpuidle_idle_call kernel/sched/idle.c:155 [inline] [] cpu_idle_loop kernel/sched/idle.c:248 [inline] [] cpu_startup_entry+0x2b5/0x380 kernel/sched/idle.c:303 [] start_secondary+0x323/0x400 arch/x86/kernel/smpboot.c:254 Code: c7c c01 c00 c65 c48 c0f c44 c24 c25 cd8 c7c c01 c00 c57 ce8 c41 cc5 c60 cfd ce8 cf0 c2a c00 c00 ce9 cbb ce6 cff cff c90 c66 c2e c0f c1f c84 c00 c00 c00 c00 c00 c0f c1f c00 c<68> c02 cff cff cff cfc c48 c83 cc4 c88 c4c c89 c5c c24 c30 c4c c89 c54 c24 c38 c4c c