INFO: task syz-executor1:11123 blocked for more than 120 seconds. Not tainted 4.15.0-rc1-mm1+ #29 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D23888 11123 3387 0x00000004 Call Trace: context_switch kernel/sched/core.c:2800 [inline] __schedule+0x8eb/0x2060 kernel/sched/core.c:3376 schedule+0xf5/0x430 kernel/sched/core.c:3435 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3493 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0xaad/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 lo_ioctl+0x8b/0x1b90 drivers/block/loop.c:1355 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x1759/0x1e00 block/ioctl.c:601 block_ioctl+0xea/0x130 fs/block_dev.c:1860 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x4529d9 RSP: 002b:00007fedd86f5c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fedd86f6700 RCX: 00000000004529d9 RDX: 000000002020efe8 RSI: 00000000c018aa3f RDI: 000000000000001b RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a6f7ff R14: 00007fedd86f69c0 R15: 0000000000000000 Showing all locks held in the system: 2 locks held by khungtaskd/674: #0: (rcu_read_lock){....}, at: [<0000000003281a70>] check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: (rcu_read_lock){....}, at: [<0000000003281a70>] watchdog+0x1c5/0xd60 kernel/hung_task.c:249 #1: (tasklist_lock){.+.+}, at: [<0000000065355c8c>] debug_show_all_locks+0xd3/0x400 kernel/locking/lockdep.c:4554 2 locks held by getty/3055: #0: (&tty->ldisc_sem){++++}, at: [<000000007a7aad12>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000661a988e>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131 2 locks held by getty/3056: #0: (&tty->ldisc_sem){++++}, at: [<000000007a7aad12>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000661a988e>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131 2 locks held by getty/3057: #0: (&tty->ldisc_sem){++++}, at: [<000000007a7aad12>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000661a988e>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131 2 locks held by getty/3058: #0: (&tty->ldisc_sem){++++}, at: [<000000007a7aad12>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000661a988e>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131 2 locks held by getty/3059: #0: (&tty->ldisc_sem){++++}, at: [<000000007a7aad12>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000661a988e>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131 2 locks held by getty/3060: #0: (&tty->ldisc_sem){++++}, at: [<000000007a7aad12>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000661a988e>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131 1 lock held by syz-executor1/11123: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<00000000cac7bff4>] lo_ioctl+0x8b/0x1b90 drivers/block/loop.c:1355 1 lock held by syz-executor1/11127: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<00000000cac7bff4>] lo_ioctl+0x8b/0x1b90 drivers/block/loop.c:1355 2 locks held by getty/11194: #0: (&tty->ldisc_sem){++++}, at: [<000000007a7aad12>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000661a988e>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 674 Comm: khungtaskd Not tainted 4.15.0-rc1-mm1+ #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 nmi_cpu_backtrace+0x1d2/0x210 lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x122/0x180 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0x90c/0xd60 kernel/hung_task.c:249 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:517 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54