INFO: task syz-executor249:3900 blocked for more than 120 seconds. Not tainted 4.9.108-gb7d377b #47 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor249 D28344 3900 3897 0x00000000 ffff8801b491c800 0000000000000000 ffff8801c177da40 ffff8801d9a6b000 ffff8801db321c18 ffff8801d79f79f0 ffffffff839e8aed 0000000000000002 0000000041b58ab3 ffffffff843b9ed3 00ffffff81221500 ffff8801db3224e8 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3557 [] blk_mq_freeze_queue_wait+0x114/0x230 block/blk-mq.c:75 [] blk_freeze_queue block/blk-mq.c:92 [inline] [] blk_mq_freeze_queue+0x1d/0x20 block/blk-mq.c:101 [] loop_switch drivers/block/loop.c:599 [inline] [] loop_change_fd drivers/block/loop.c:685 [inline] [] lo_ioctl+0x722/0x1aa0 drivers/block/loop.c:1350 [] __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/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-executor249/3900: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3901: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3918: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3921: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3922: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3923: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3924: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3925: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3926: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3927: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3928: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3929: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3930: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3931: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3932: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by syz-executor249/3933: #0: (&lo->lo_ctl_mutex/1){+.+.+.}, at: [] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344 1 lock held by blkid/3946: #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.108-gb7d377b #47 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d84efd08 ffffffff81eb3e29 0000000000000000 0000000000000001 0000000000000001 0000000000000001 ffffffff810b96a0 ffff8801d84efd40 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: 3897 Comm: sshd Not tainted 4.9.108-gb7d377b #47 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801b4de3000 task.stack: ffff8801b7c58000 RIP: 0010:[] c [] __lock_acquire+0x2f8/0x4070 kernel/locking/lockdep.c:3287 RSP: 0018:ffff8801b7c5ef10 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff8801b4de3968 RCX: 0000000000000000 RDX: 1ffff100369bc72e RSI: 0000000000000397 RDI: ffff8801b4de3970 RBP: ffff8801b7c5f0b8 R08: 0000000000000001 R09: 0000000000000000 R10: ffff8801b4de3000 R11: 1ffff100369bc72c R12: 0000000000000397 R13: 0000000000000004 R14: ffff8801d3770e38 R15: 0000000000000000 FS: 00007fdaaf5267c0(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdaaafd1ff0 CR3: 00000001d88a4000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801b4de38b4c 0000000000000002c ffff8801b7c5f0d8c ffffffff812367b4c bf853b4600000002c ffff8801b5b20188c ffff8801b5b202a0c 000000013f32bdfbc 1ffff10036f8bdf9c ffff8801b5b20248c ffff8801c7d249fdc 50e18496dfde887bc Call Trace: [] lock_acquire+0x130/0x3e0 kernel/locking/lockdep.c:3756 [] __raw_spin_lock include/linux/spinlock_api_smp.h:144 [inline] [] _raw_spin_lock+0x36/0x50 kernel/locking/spinlock.c:151 [] spin_lock include/linux/spinlock.h:302 [inline] [] __dev_xmit_skb net/core/dev.c:3137 [inline] [] __dev_queue_xmit+0xb10/0x2080 net/core/dev.c:3419 [] dev_queue_xmit+0x17/0x20 net/core/dev.c:3484 [] neigh_hh_output include/net/neighbour.h:468 [inline] [] dst_neigh_output include/net/dst.h:468 [inline] [] ip_finish_output2+0xcab/0x1110 net/ipv4/ip_output.c:225 [] ip_finish_output+0x468/0xb00 net/ipv4/ip_output.c:313 [] NF_HOOK_COND include/linux/netfilter.h:246 [inline] [] ip_output+0x1cd/0x550 net/ipv4/ip_output.c:401 [] dst_output include/net/dst.h:507 [inline] [] ip_local_out+0x9b/0x180 net/ipv4/ip_output.c:124 [] ip_queue_xmit+0x897/0x1ba0 net/ipv4/ip_output.c:500 [] tcp_transmit_skb+0x168c/0x2e30 net/ipv4/tcp_output.c:1036 [] tcp_write_xmit+0x10cb/0x4c40 net/ipv4/tcp_output.c:2209 [] __tcp_push_pending_frames+0xa0/0x240 net/ipv4/tcp_output.c:2390 [] tcp_push+0x3fe/0x5e0 net/ipv4/tcp.c:688 [] tcp_sendmsg+0x1110/0x3040 net/ipv4/tcp.c:1348 [] inet_sendmsg+0x203/0x4d0 net/ipv4/af_inet.c:770 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:645 [] sock_write_iter+0x223/0x3b0 net/socket.c:843 [] 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: c2d c11 c00 c00 c0f cb7 c43 c20 c48 c8d c7b c08 c48 c89 cfa c48 cc1 cea c03 c66 c25 c00 ce0 c09 cf0 c66 c89 c43 c20 c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c80 c3c c02 c00 c<0f> c85 ce4 c2d c00 c00 c48 c8b c45 c18 c48 c8d c7b c10 c48 c89 cfa c48 cc1 cea c03 c