INFO: task syz-executor.3:1849 blocked for more than 140 seconds. Not tainted 4.14.114+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D25160 1849 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 lo_release+0x19/0x190 drivers/block/loop.c:1667 __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:1855 blocked for more than 140 seconds. Not tainted 4.14.114+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D25640 1855 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __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_clr_fd+0x828/0xac0 drivers/block/loop.c:1069 lo_ioctl+0x813/0x1970 drivers/block/loop.c:1415 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x4d9/0x1810 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0xabe/0x1040 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task syz-executor.0:1857 blocked for more than 140 seconds. Not tainted 4.14.114+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D25592 1857 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 lo_ioctl+0x83/0x1970 drivers/block/loop.c:1405 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x4d9/0x1810 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0xabe/0x1040 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task syz-executor.4:1858 blocked for more than 140 seconds. Not tainted 4.14.114+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D25592 1858 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __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.5:17752 blocked for more than 140 seconds. Not tainted 4.14.114+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D25640 17752 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __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+0x44e/0xdf0 fs/open.c:770 vfs_open+0x105/0x230 fs/open.c:884 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:1077 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task blkid:18370 blocked for more than 140 seconds. Not tainted 4.14.114+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28936 18370 18108 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __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+0x44e/0xdf0 fs/open.c:770 vfs_open+0x105/0x230 fs/open.c:884 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x219/0x280 fs/namei.c:3633 do_sys_open+0x2ca/0x590 fs/open.c:1077 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task blkid:18371 blocked for more than 140 seconds. Not tainted 4.14.114+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D27816 18371 2991 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __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+0x44e/0xdf0 fs/open.c:770 vfs_open+0x105/0x230 fs/open.c:884 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:1077 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task blkid:18372 blocked for more than 140 seconds. Not tainted 4.14.114+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28432 18372 2985 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __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+0x44e/0xdf0 fs/open.c:770 vfs_open+0x105/0x230 fs/open.c:884 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:1077 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: [<000000001017b39f>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4541 1 lock held by rsyslogd/1629: #0: (&f->f_pos_lock){+.+.}, at: [<00000000bd41be8f>] __fdget_pos+0xa6/0xc0 fs/file.c:769 2 locks held by getty/1757: #0: (&tty->ldisc_sem){++++}, at: [<000000009a15ff2f>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000691b3582>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.3/1849: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000cb88406b>] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_index_mutex){+.+.}, at: [<00000000e337a5d1>] lo_release+0x19/0x190 drivers/block/loop.c:1667 2 locks held by syz-executor.1/1855: #0: (loop_ctl_mutex/1){+.+.}, at: [<000000008c0a9f15>] lo_ioctl+0x83/0x1970 drivers/block/loop.c:1405 #1: (&bdev->bd_mutex){+.+.}, at: [<0000000044f89061>] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 1 lock held by syz-executor.0/1857: #0: (loop_ctl_mutex/1){+.+.}, at: [<000000008c0a9f15>] lo_ioctl+0x83/0x1970 drivers/block/loop.c:1405 3 locks held by syz-executor.4/1858: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000cb88406b>] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_index_mutex){+.+.}, at: [<00000000e337a5d1>] lo_release+0x19/0x190 drivers/block/loop.c:1667 #2: (loop_ctl_mutex#2){+.+.}, at: [<00000000ee6fa417>] __lo_release drivers/block/loop.c:1644 [inline] #2: (loop_ctl_mutex#2){+.+.}, at: [<00000000ee6fa417>] lo_release+0x78/0x190 drivers/block/loop.c:1668 2 locks held by syz-executor.5/17752: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000505db7d7>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<00000000e654a0e5>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 1 lock held by blkid/18370: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000505db7d7>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by blkid/18371: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000505db7d7>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 2 locks held by blkid/18372: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000505db7d7>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<00000000e654a0e5>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.114+ #63 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 CPU: 1 PID: 8 Comm: rcu_preempt Not tainted 4.14.114+ #63 task: 0000000050d0867a task.stack: 00000000e42d54ed RIP: 0010:rcu_gp_cleanup kernel/rcu/tree.c:2171 [inline] RIP: 0010:rcu_gp_kthread+0x1385/0x1f00 kernel/rcu/tree.c:2304 RSP: 0018:ffff8881daa57d28 EFLAGS: 00000046 RAX: 1ffff1103b7655cc RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff8881dbb2ae40 RSI: ffffffffa5b505c0 RDI: ffff8881dbb2ae60 RBP: ffffffffa60d5700 R08: 0000000000002d28 R09: 00000000000c002a R10: ffff8881daa3b730 R11: 0000000000000001 R12: 000000000002ae40 R13: ffffffffa60d5700 R14: ffffffffa60d5740 R15: fffffbfff4c1ad13 FS: 0000000000000000(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000400300 CR3: 000000007b626002 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: kthread+0x310/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Code: 48 89 fa 48 c1 ea 03 80 3c 1a 00 0f 85 0d 07 00 00 48 8b 14 c5 20 24 ec a5 4c 01 e2 48 8d 7a 20 48 89 f8 48 c1 e8 03 80 3c 18 00 <0f> 85 f9 07 00 00 4c 39 6a 20 0f 85 d1 fd ff ff 4c 89 ee 48 89