INFO: task syz-executor7:4526 blocked for more than 120 seconds. Not tainted 4.16.0+ #380 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor7 D20360 4526 1 0x00000004 Call Trace: context_switch kernel/sched/core.c:2848 [inline] __schedule+0x8fb/0x1ef0 kernel/sched/core.c:3490 schedule+0xf5/0x430 kernel/sched/core.c:3549 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3607 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0xb7f/0x1810 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 __blkdev_get+0x176/0x13b0 fs/block_dev.c:1458 blkdev_get+0x399/0xb00 fs/block_dev.c:1609 blkdev_open+0x1c9/0x250 fs/block_dev.c:1767 do_dentry_open+0x772/0xd70 fs/open.c:794 vfs_open+0x107/0x220 fs/open.c:908 do_last fs/namei.c:3372 [inline] path_openat+0x1151/0x3590 fs/namei.c:3512 do_filp_open+0x25b/0x3b0 fs/namei.c:3547 do_sys_open+0x502/0x6d0 fs/open.c:1101 SYSC_open fs/open.c:1119 [inline] SyS_open+0x2d/0x40 fs/open.c:1114 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x40f510 RSP: 002b:0000000000a3eab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000cba RCX: 000000000040f510 RDX: 0000000000a3f87a RSI: 0000000000000002 RDI: 0000000000a3f870 RBP: 0000000000a3eae0 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000013 R13: 0000000000000000 R14: 00000000006fe780 R15: 0000000000001380 Showing all locks held in the system: 2 locks held by khungtaskd/878: #0: 0000000049182d35 (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 0000000049182d35 (rcu_read_lock){....}, at: watchdog+0x1d6/0xd70 kernel/hung_task.c:249 #1: 000000006b7b5fe7 (tasklist_lock){.+.+}, at: debug_show_all_locks+0xd3/0x3d0 kernel/locking/lockdep.c:4470 2 locks held by getty/4446: #0: 0000000085be6d0d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000007dea6338 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4447: #0: 000000000372a2aa (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000083b821de (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4448: #0: 000000004878164c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000008562ea8c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4449: #0: 00000000ecfe77e1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000000a258a68 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4450: #0: 00000000de1ceae1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000e2f474d1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4451: #0: 000000001eedc5ae (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000f824b748 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 1 lock held by syz-executor7/4526: #0: 00000000e6398547 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x176/0x13b0 fs/block_dev.c:1458 2 locks held by getty/13204: #0: 000000006d831904 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b1189863 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 1 lock held by blkid/26052: #0: 00000000e6398547 (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xbc/0x760 fs/block_dev.c:1775 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 878 Comm: khungtaskd Not tainted 4.16.0+ #380 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+0x1a7/0x27d lib/dump_stack.c:53 nmi_cpu_backtrace+0x1e0/0x220 lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x123/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+0x969/0xd70 kernel/hung_task.c:249 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411 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