INFO: task syz-executor.1:4814 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28344 4814 1844 0x90000002 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_put+0x27/0x4c0 fs/block_dev.c:1814 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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x903/0x2960 kernel/exit.c:873 INFO: task syz-executor.3:25001 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28272 25001 1842 0x90000002 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+0x19/0x170 drivers/block/loop.c:1643 __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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x903/0x2960 kernel/exit.c:873 INFO: task syz-executor.3:25066 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28344 25066 1842 0x90000002 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_put+0x27/0x4c0 fs/block_dev.c:1814 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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x903/0x2960 kernel/exit.c:873 INFO: task syz-executor.1:2179 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28472 2179 1844 0x90000002 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+0x19/0x170 drivers/block/loop.c:1643 __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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x903/0x2960 kernel/exit.c:873 INFO: task syz-executor.3:5470 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28784 5470 1842 0x10000004 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:614 loop_set_status+0xbff/0x11f0 drivers/block/loop.c:1183 INFO: task syz-executor.3:5476 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27816 5476 1842 0x10000004 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 syz-executor.3:5478 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29120 5478 1842 0x10000004 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 syz-executor.3:5480 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29120 5480 1842 0x10000004 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:5474 blocked for more than 140 seconds. Not tainted 4.14.104+ #21 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D27912 5474 23223 0x10000004 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+0x19/0x170 drivers/block/loop.c:1643 __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 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/1625: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa6/0xc0 fs/file.c:768 2 locks held by getty/1753: #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 2 locks held by syz-executor.5/1835: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_ctl_mutex){+.+.}, at: [] lo_open+0x19/0xb0 drivers/block/loop.c:1623 1 lock held by syz-executor.1/4814: #0: (&bdev->bd_mutex){+.+.}, at: [] blkdev_put+0x27/0x4c0 fs/block_dev.c:1814 2 locks held by syz-executor.3/25001: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_ctl_mutex){+.+.}, at: [] lo_release+0x19/0x170 drivers/block/loop.c:1643 1 lock held by syz-executor.3/25066: #0: (&bdev->bd_mutex){+.+.}, at: [] blkdev_put+0x27/0x4c0 fs/block_dev.c:1814 2 locks held by syz-executor.1/2179: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_ctl_mutex){+.+.}, at: [] lo_release+0x19/0x170 drivers/block/loop.c:1643 2 locks held by syz-executor.3/5470: #0: (loop_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x83/0x1970 drivers/block/loop.c:1404 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 1 lock held by syz-executor.3/5476: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by syz-executor.3/5478: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by syz-executor.3/5480: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 2 locks held by blkid/5474: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_ctl_mutex){+.+.}, at: [] lo_release+0x19/0x170 drivers/block/loop.c:1643 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.104+ #21 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.104+ #21 task: ffffffff87431200 task.stack: ffffffff87400000 RIP: 0010:trace_softirq_entry include/trace/events/irq.h:128 [inline] RIP: 0010:__do_softirq+0x2f7/0x9ca kernel/softirq.c:287 RSP: 0018:ffff8881db807f60 EFLAGS: 00000247 RAX: 0000000000000000 RBX: ffffffff87409138 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff86e3dde0 RDI: ffffffff86f50080 RBP: 0000000000000007 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000040 R13: 0000000000000007 R14: ffffffff87409100 R15: 0000000000000080 FS: 0000000000000000(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4100e62000 CR3: 000000009f226001 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x114/0x150 kernel/softirq.c:409 reschedule_interrupt+0x84/0x90 arch/x86/entry/entry_64.S:811 RIP: 0010:native_safe_halt+0x2/0x10 arch/x86/include/asm/irqflags.h:58 RSP: 0018:ffffffff87407d48 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff02 RAX: 0000000000000007 RBX: ffffffff8782ab48 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff87431a2c RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff87431200 R15: dffffc0000000000 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0x50/0x390 arch/x86/kernel/process.c:564 cpuidle_idle_call kernel/sched/idle.c:159 [inline] do_idle+0x2e6/0x390 kernel/sched/idle.c:268 cpu_startup_entry+0xc6/0xd0 kernel/sched/idle.c:374 start_kernel+0x712/0x74a init/main.c:710 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:240 Code: ad f8 fe 8b 05 73 8e c2 00 65 42 ff 04 ad 28 e4 01 00 85 c0 0f 8f c2 03 00 00 65 8b 05 43 7e 41 79 89 c0 48 0f a3 05 b1 4c c3 00 <0f> 83 11 ff ff ff 65 ff 05 4c db 41 79 48 8b 05 55 8e c2 00 e8