INFO: task syz-executor769:3850 blocked for more than 120 seconds. Not tainted 4.9.109-g7143cbf #55 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor769 D27768 3850 3847 0x00000000 ffff8801d807b000 0000000000000000 ffff8801b7f88a80 ffff8801d9a6b000 ffff8801db321c18 ffff8801d7dcf9c8 ffffffff839e8a3d ffff8801d807b8c8 ffffed003b00f718 ffff8801d807b000 00fffc0000000000 ffff8801db3224e8 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3557 [] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3590 [] __mutex_lock_common kernel/locking/mutex.c:582 [inline] [] mutex_lock_nested+0x326/0x870 kernel/locking/mutex.c:621 [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 [] __blkdev_driver_ioctl block/ioctl.c:294 [inline] [] blkdev_ioctl+0x7b6/0x1a70 block/ioctl.c:590 [] block_ioctl+0xde/0x120 fs/block_dev.c:1688 [] vfs_ioctl fs/ioctl.c:43 [inline] [] file_ioctl fs/ioctl.c:493 [inline] [] do_vfs_ioctl+0x1ac/0x11a0 fs/ioctl.c:677 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] 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/3771: #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-executor769/3850: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3852: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3853: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3855: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3856: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3857: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3858: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3859: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3860: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3861: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3862: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3863: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3864: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3865: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3866: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor769/3867: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 519 Comm: khungtaskd Not tainted 4.9.109-g7143cbf #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d96ffd08 ffffffff81eb3e29 0000000000000000 0000000000000001 0000000000000001 0000000000000001 ffffffff810b9580 ffff8801d96ffd40 ffffffff81ebf127 0000000000000001 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3849 Comm: syz-executor769 Not tainted 4.9.109-g7143cbf #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801b541c800 task.stack: ffff8801d7cf8000 RIP: 0010:[] c [] arch_local_irq_restore arch/x86/include/asm/paravirt.h:768 [inline] RIP: 0010:[] c [] lock_acquire+0x173/0x3e0 kernel/locking/lockdep.c:3759 RSP: 0018:ffff8801d7cffae8 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 0000000000000246 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8801b541d0f0 RDI: 0000000000000246 RBP: ffff8801d7cffb50 R08: ffff8801b541d110 R09: 0000000000000001 R10: ffff8801b541c800 R11: 0000000000000001 R12: ffff8801b541c800 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000001a07880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7558ff3000 CR3: 00000001da216000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000c ffffffff814c0704c 0000000000000000c 0000000000000000c ffff8801cb028b88c ffff8801d7cffb50c 0000000000000000c 0000000183e2b820c ffff8801b541c800c ffffffff83e2b7c0c 0000000000000071c ffff8801d7cffcd0c Call Trace: [] __might_fault+0x14a/0x1d0 mm/memory.c:4014 [] __copy_from_user arch/x86/include/asm/uaccess_64.h:113 [inline] [] copy_page_from_iter_iovec lib/iov_iter.c:267 [inline] [] copy_page_from_iter+0x199/0x610 lib/iov_iter.c:618 [] pipe_write+0x722/0xd60 fs/pipe.c:391 [] 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: c03 c0f cb6 c14 c02 c48 c89 cf8 c83 ce0 c07 c83 cc0 c03 c38 cd0 c7c c08 c84 cd2 c0f c85 cc8 c01 c00 c00 c41 cc7 c84 c24 cc4 c08 c00 c00 c00 c00 c00 c00 c48 c89 cdf c57 c9d c<0f> c1f c44 c00 c00 c48 c83 cc4 c40 c5b c41 c5c c41 c5d c41 c5e c41 c5f c5d cc3 c4c c