INFO: task syz-executor.4:5770 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 5770 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:00007ffc2867e0d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000025287 RCX: 00000000004143b0 RDX: 00007ffc2867e16a RSI: 0000000000000002 RDI: 00007ffc2867e160 RBP: 000000000000004e R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc2867e110 R14: 00000000000251c5 R15: 00007ffc2867e120 INFO: task syz-executor.3:6115 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 D25312 6115 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:00007ffc00658df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000000252db RCX: 00000000004143b0 RDX: 00007ffc00658e8a RSI: 0000000000000002 RDI: 00007ffc00658e80 RBP: 0000000000000044 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc00658e30 R14: 000000000002512f R15: 00007ffc00658e40 INFO: task syz-executor.2:7171 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 D26080 7171 4350 0x80000002 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_release+0x1b/0x1a0 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/0x710 fs/file_table.c:210 task_work_run+0x125/0x1a0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9cb/0x2a20 kernel/exit.c:875 do_group_exit+0x100/0x2e0 kernel/exit.c:978 get_signal+0x39f/0x1cc0 kernel/signal.c:2426 do_signal+0x96/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x3a3/0x520 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4143d1 RSP: 002b:00007fac033987a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: fffffffffffffffa RBX: 6666666666666667 RCX: 00000000004143d1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fac03398850 RBP: 000000000075bf20 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fac033996d4 R13: 00000000004ca1c0 R14: 00000000004e1f58 R15: 00000000ffffffff INFO: task syz-executor.5:7194 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 D27504 7194 5012 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:00007f32119c2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a639 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f32119c36d4 R13: 00000000004c4080 R14: 00000000004d8418 R15: 00000000ffffffff INFO: task syz-executor.5:7199 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 D26928 7199 5012 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+0x71/0x310 drivers/block/loop.c:1983 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:00007f32119a1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a639 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000005 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f32119a26d4 R13: 00000000004c4055 R14: 00000000004d83e8 R15: 00000000ffffffff INFO: task syz-executor.0:7208 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 D26992 7208 1838 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:00007fb742e859f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb742e866d4 RCX: 000000000045a4a7 RDX: 00007fb742e85ab0 RSI: 0000000000004c04 RDI: 0000000000000006 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 0000000000000005 R13: 0000000000000005 R14: 0000000000000006 R15: 00000000ffffffff INFO: task blkid:7211 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 D29120 7211 5557 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:0x7f1ea37a9120 RSP: 002b:00007ffd42988d38 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1ea37a9120 RDX: 00007ffd42989f34 RSI: 0000000000000000 RDI: 00007ffd42989f34 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000020e5030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 INFO: task blkid:7212 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 D28848 7212 5559 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+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:0x7f8e5a600120 RSP: 002b:00007ffd2261d028 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8e5a600120 RDX: 00007ffd2261df44 RSI: 0000000000000000 RDI: 00007ffd2261df44 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001518030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 INFO: task syz-executor.1:7219 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 D25280 7219 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:00007ffe542c2228 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004143b0 RDX: 00007ffe542c22ba RSI: 0000000000000002 RDI: 00007ffe542c22b0 RBP: 0000000000712460 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe542c2260 R14: 0000000000000003 R15: 00007ffe542c2270 INFO: task syz-executor.2:7451 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 D25312 7451 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:00007ffe138e1698 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004143b0 RDX: 00007ffe138e172a RSI: 0000000000000002 RDI: 00007ffe138e1720 RBP: 0000000000712460 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe138e16d0 R14: 0000000000000003 R15: 00007ffe138e16e0 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [<000000007fb4224f>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 2 locks held by getty/1756: #0: (&tty->ldisc_sem){++++}, at: [<00000000fb65f63d>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000009d0188d4>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.4/5770: #0: (&bdev->bd_mutex){+.+.}, at: [<000000002cc36fb9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 2 locks held by syz-executor.3/6115: #0: (&bdev->bd_mutex){+.+.}, at: [<000000002cc36fb9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<00000000758e7f58>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.2/7171: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000c5b92fbd>] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_index_mutex){+.+.}, at: [<00000000d4feed10>] lo_release+0x1b/0x1a0 drivers/block/loop.c:1667 2 locks held by syz-executor.5/7194: #0: (loop_index_mutex){+.+.}, at: [<00000000e7788dd1>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1983 #1: (&lo->lo_ctl_mutex#2){+.+.}, at: [<00000000bbe98058>] loop_control_ioctl+0x183/0x310 drivers/block/loop.c:1997 1 lock held by syz-executor.5/7199: #0: (loop_index_mutex){+.+.}, at: [<00000000e7788dd1>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1983 2 locks held by syz-executor.0/7208: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<0000000052428ce4>] lo_ioctl+0x86/0x1a30 drivers/block/loop.c:1404 #1: (&bdev->bd_mutex){+.+.}, at: [<00000000ce9407e0>] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 2 locks held by blkid/7211: #0: (&bdev->bd_mutex){+.+.}, at: [<000000002cc36fb9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<00000000758e7f58>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by blkid/7212: #0: (&bdev->bd_mutex){+.+.}, at: [<000000002cc36fb9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<00000000758e7f58>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.1/7219: #0: (&bdev->bd_mutex){+.+.}, at: [<000000002cc36fb9>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<00000000758e7f58>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 1 lock held by syz-executor.2/7451: #0: (&bdev->bd_mutex){+.+.}, at: [<000000002cc36fb9>] __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 0xffffffff9caa6c73