INFO: task syz-executor.1:24726 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D25312 24726 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 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/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x1a1/0x280 fs/namei.c:3715 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4143b0 RSP: 002b:00007fffedb7cf48 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000006fde1 RCX: 00000000004143b0 RDX: 00007fffedb7cfda RSI: 0000000000000002 RDI: 00007fffedb7cfd0 RBP: 000000000000013d R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffedb7cf80 R14: 000000000006fcfa R15: 00007fffedb7cf90 INFO: task syz-executor.4:29153 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D25312 29153 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 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/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x1a1/0x280 fs/namei.c:3715 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4143b0 RSP: 002b:00007ffd6c7d6388 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000006ff0d RCX: 00000000004143b0 RDX: 00007ffd6c7d641a RSI: 0000000000000002 RDI: 00007ffd6c7d6410 RBP: 0000000000000021 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd6c7d63c0 R14: 000000000006fbe2 R15: 00007ffd6c7d63d0 INFO: task syz-executor.2:29712 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29232 29712 26820 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 kernel/locking/mutex.c:893 loop_control_ioctl+0x183/0x310 drivers/block/loop.c:1997 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/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a639 RSP: 002b:00007f67ff074c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a639 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000006 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f67ff0756d4 R13: 00000000004c409c R14: 00000000004d8698 R15: 00000000ffffffff INFO: task syz-executor.0:29722 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D26704 29722 22842 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 kernel/locking/mutex.c:893 blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 loop_reread_partitions+0x7f/0x90 drivers/block/loop.c:614 loop_set_status+0xbff/0x11f0 drivers/block/loop.c:1183 loop_set_status64+0xa5/0x100 drivers/block/loop.c:1301 lo_ioctl+0xd1/0x1a30 drivers/block/loop.c:1431 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x8d0/0x1870 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/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a4a7 RSP: 002b:00007f1ea35239f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1ea35246d4 RCX: 000000000045a4a7 RDX: 00007f1ea3523ab0 RSI: 0000000000004c04 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000000000005 R15: 00000000ffffffff INFO: task blkid:29726 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28864 29726 29660 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 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/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x1a1/0x280 fs/namei.c:3715 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f889a9e2120 RSP: 002b:00007ffee77d61b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f889a9e2120 RDX: 00007ffee77d7f34 RSI: 0000000000000000 RDI: 00007ffee77d7f34 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000f66030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 INFO: task syz-executor.3:29736 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28416 29736 27261 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 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+0x44b/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x44e/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x219/0x280 fs/namei.c:3717 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4143d1 RSP: 002b:00007f5a3e5c47a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004143d1 RDX: 0000000000000000 RSI: 0000000000100082 RDI: 00007f5a3e5c4850 RBP: 000000000075bf20 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f5a3e5c56d4 R13: 00000000004ca386 R14: 00000000004e23a0 R15: 00000000ffffffff INFO: task syz-executor.3:29741 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27184 29741 27261 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 bd_prepare_to_claim fs/block_dev.c:1078 [inline] bd_start_claiming fs/block_dev.c:1149 [inline] blkdev_get+0x3f2/0x8b0 fs/block_dev.c:1605 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x44e/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x1a1/0x280 fs/namei.c:3715 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4143d1 RSP: 002b:00007f5a3e5a37a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004143d1 RDX: 0000000000000000 RSI: 0000000000100082 RDI: 00007f5a3e5a3850 RBP: 000000000075bfc8 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000293 R12: 00007f5a3e5a46d4 R13: 00000000004ca386 R14: 00000000004e23a0 R15: 00000000ffffffff INFO: task syz-executor.5:29737 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D29248 29737 23915 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 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/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x1a1/0x280 fs/namei.c:3715 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4143d1 RSP: 002b:00007f79aae11a80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000020000228 RCX: 00000000004143d1 RDX: 00007f79aae11b0a RSI: 0000000000000002 RDI: 00007f79aae11b00 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000003 R13: 00000000004ca094 R14: 00000000004e2028 R15: 00000000ffffffff INFO: task syz-executor.5:29742 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28672 29742 23915 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 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/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x1a1/0x280 fs/namei.c:3715 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4143d1 RSP: 002b:00007f79aadf09f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f79aadf16d4 RCX: 00000000004143d1 RDX: 00007f79aadf0baa RSI: 0000000000000002 RDI: 00007f79aadf0ba0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000008 R13: 0000000000000008 R14: 00007f79aadf16d4 R15: 00000000ffffffff INFO: task syz-executor.5:29745 blocked for more than 140 seconds. Not tainted 4.14.155-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28928 29745 23915 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3499 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 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/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x1a1/0x280 fs/namei.c:3715 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4143d1 RSP: 002b:00007f79aadcfa80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000020000228 RCX: 00000000004143d1 RDX: 00007f79aadcfb0a RSI: 0000000000000002 RDI: 00007f79aadcfb00 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000003 R13: 00000000004ca094 R14: 00000000004e2028 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [<00000000783d3283>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 1 lock held by rsyslogd/1635: #0: (&f->f_pos_lock){+.+.}, at: [<00000000eb923164>] __fdget_pos+0xb5/0xd0 fs/file.c:769 2 locks held by getty/1763: #0: (&tty->ldisc_sem){++++}, at: [<00000000107ace40>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000677d3b48>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.1/24726: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 2 locks held by syz-executor.4/29153: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000002268fdc3>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.2/29712: #0: (loop_index_mutex){+.+.}, at: [<0000000042fb51ff>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1983 #1: (&lo->lo_ctl_mutex#2){+.+.}, at: [<000000004db94969>] loop_control_ioctl+0x183/0x310 drivers/block/loop.c:1997 2 locks held by syz-executor.0/29722: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<0000000088c56516>] lo_ioctl+0x86/0x1a30 drivers/block/loop.c:1404 #1: (&bdev->bd_mutex){+.+.}, at: [<000000004f7ef254>] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 2 locks held by blkid/29726: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000002268fdc3>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.3/29736: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000002268fdc3>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.5/29737: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000002268fdc3>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 1 lock held by syz-executor.5/29742: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by syz-executor.5/29745: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by syz-executor.5/29753: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by blkid/29733: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e98109e9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.155-syzkaller #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xe5/0x154 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x119/0x147 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x629/0xbe0 kernel/hung_task.c:274 kthread+0x31f/0x430 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at pc 0xffffffffaf4a6c73