INFO: task syz-executor.0:1835 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D25640 1835 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 loop_probe+0x73/0x180 drivers/block/loop.c:1962 kobj_lookup+0x226/0x410 drivers/base/map.c:124 get_gendisk+0x36/0x240 block/genhd.c:785 __blkdev_get+0x345/0xf90 fs/block_dev.c:1451 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task syz-executor.5:1836 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D25640 1836 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 __lo_release drivers/block/loop.c:1644 [inline] lo_release+0x78/0x190 drivers/block/loop.c:1668 __blkdev_put+0x518/0x6d0 fs/block_dev.c:1791 blkdev_close+0x86/0xb0 fs/block_dev.c:1863 __fput+0x25e/0x700 fs/file_table.c:210 task_work_run+0x118/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x13b/0x160 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:267 [inline] do_syscall_64+0x372/0x4b0 arch/x86/entry/common.c:294 INFO: task syz-executor.1:1839 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D25640 1839 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 lo_open+0x19/0xb0 drivers/block/loop.c:1624 __blkdev_get+0x267/0xf90 fs/block_dev.c:1472 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task syz-executor.4:1859 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D25640 1859 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 lo_open+0x19/0xb0 drivers/block/loop.c:1624 __blkdev_get+0x267/0xf90 fs/block_dev.c:1472 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task syz-executor.3:11218 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27800 11218 1854 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 lo_open+0x19/0xb0 drivers/block/loop.c:1624 __blkdev_get+0x267/0xf90 fs/block_dev.c:1472 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task syz-executor.2:11213 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27800 11213 6121 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 loop_reread_partitions+0x72/0x80 drivers/block/loop.c:615 loop_set_status+0xbff/0x11f0 drivers/block/loop.c:1184 INFO: task syz-executor.2:11233 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28960 11233 6121 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task blkid:11217 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D27816 11217 6369 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task blkid:11224 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28320 11224 2838 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 lo_open+0x19/0xb0 drivers/block/loop.c:1624 __blkdev_get+0x963/0xf90 fs/block_dev.c:1537 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task blkid:11225 blocked for more than 140 seconds. Not tainted 4.14.106+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28384 11225 3881 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3492 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3550 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4541 1 lock held by rsyslogd/1624: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa6/0xc0 fs/file.c:768 2 locks held by getty/1752: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:275 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.0/1835: #0: (loop_index_mutex){+.+.}, at: [] loop_probe+0x73/0x180 drivers/block/loop.c:1962 3 locks held by syz-executor.5/1836: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_index_mutex){+.+.}, at: [] lo_release+0x19/0x190 drivers/block/loop.c:1667 #2: (loop_ctl_mutex#2){+.+.}, at: [] __lo_release drivers/block/loop.c:1644 [inline] #2: (loop_ctl_mutex#2){+.+.}, at: [] lo_release+0x78/0x190 drivers/block/loop.c:1668 2 locks held by syz-executor.1/1839: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.4/1859: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.3/11218: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.2/11213: #0: (loop_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x83/0x1970 drivers/block/loop.c:1405 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 1 lock held by syz-executor.2/11233: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by blkid/11217: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 2 locks held by blkid/11224: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [] lo_open+0x19/0xb0 drivers/block/loop.c:1624 1 lock held by blkid/11225: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.106+ #30 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x10e lib/dump_stack.c:53 nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at pc 0xffffffff8e2445d2