INFO: task syz-executor.3:3405 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D25312 3405 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:0x4143f0 RSP: 002b:00007ffcbd9c19f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000021977 RCX: 00000000004143f0 RDX: 00007ffcbd9c1a8a RSI: 0000000000000002 RDI: 00007ffcbd9c1a80 RBP: 000000000000006c R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbd9c1a30 R14: 00000000000217f6 R15: 00007ffcbd9c1a40 INFO: task syz-executor.2:3790 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D25312 3790 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:0x4143f0 RSP: 002b:00007ffea7bbac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000000218c6 RCX: 00000000004143f0 RDX: 00007ffea7bbacfa RSI: 0000000000000002 RDI: 00007ffea7bbacf0 RBP: 0000000000000058 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea7bbaca0 R14: 0000000000021804 R15: 00007ffea7bbacb0 INFO: task syz-executor.4:3802 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D25312 3802 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:0x4143f0 RSP: 002b:00007ffc1d52f228 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000021920 RCX: 00000000004143f0 RDX: 00007ffc1d52f2ba RSI: 0000000000000002 RDI: 00007ffc1d52f2b0 RBP: 0000000000000048 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc1d52f260 R14: 00000000000215f6 R15: 00007ffc1d52f270 INFO: task syz-executor.5:5551 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D25280 5551 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:0x4143f0 RSP: 002b:00007ffeee420358 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000021938 RCX: 00000000004143f0 RDX: 00007ffeee4203ea RSI: 0000000000000002 RDI: 00007ffeee4203e0 RBP: 000000000000001b R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeee420390 R14: 00000000000215e1 R15: 00007ffeee4203a0 INFO: task syz-executor.0:6075 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D26608 6075 4576 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_clr_fd+0x835/0xad0 drivers/block/loop.c:1068 lo_ioctl+0x460/0x1a30 drivers/block/loop.c:1414 __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:0x45a4e7 RSP: 002b:00007f24b6bcc9f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f24b6bcd6d4 RCX: 000000000045a4e7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 000000000000000f RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000000c R10: 0000000000000064 R11: 0000000000000246 R12: 000000000000000e R13: 0000000000000000 R14: 000000000000000f R15: 00000000ffffffff INFO: task syz-executor.0:6100 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27824 6100 4576 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:0x414411 RSP: 002b:00007f24b6b8a9f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f24b6b8b6d4 RCX: 0000000000414411 RDX: 00007f24b6b8abaa RSI: 0000000000000002 RDI: 00007f24b6b8aba0 RBP: 000000000075c070 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 000000000000000e R13: 000000000000000e R14: 00000000004e2d50 R15: 00000000ffffffff INFO: task syz-executor.1:6080 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27024 6080 5182 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:0x45a679 RSP: 002b:00007f646a05fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a679 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000006 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f646a0606d4 R13: 00000000004c40dc R14: 00000000004d8b38 R15: 00000000ffffffff INFO: task syz-executor.1:6091 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28880 6091 5182 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:0x45a679 RSP: 002b:00007f646a03ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a679 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000006 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f646a03f6d4 R13: 00000000004c40b1 R14: 00000000004d8b08 R15: 00000000ffffffff INFO: task syz-executor.1:6103 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28520 6103 5182 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:0x45a679 RSP: 002b:00007f6469ffcc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a679 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000006 RBP: 000000000075c118 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6469ffd6d4 R13: 00000000004c40dc R14: 00000000004d8b38 R15: 00000000ffffffff INFO: task syz-executor.1:6104 blocked for more than 140 seconds. Not tainted 4.14.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D30304 6104 5182 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:0x45a679 RSP: 002b:00007f6469fdbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a679 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000006 RBP: 000000000075c1c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6469fdc6d4 R13: 00000000004c40b1 R14: 00000000004d8b08 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [<0000000079fe2296>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 2 locks held by getty/1761: #0: (&tty->ldisc_sem){++++}, at: [<00000000753ad7ee>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000005fed03a0>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.3/3405: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by syz-executor.2/3790: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 2 locks held by syz-executor.4/3802: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000006ea4a78f>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.5/5551: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000006ea4a78f>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by syz-executor.0/6075: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<000000008937d584>] lo_ioctl+0x86/0x1a30 drivers/block/loop.c:1404 #1: (&bdev->bd_mutex){+.+.}, at: [<000000004c0c4d2b>] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 1 lock held by syz-executor.0/6100: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 2 locks held by syz-executor.1/6080: #0: (loop_index_mutex){+.+.}, at: [<000000008675ac81>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1983 #1: (&lo->lo_ctl_mutex#2){+.+.}, at: [<00000000019b7741>] loop_control_ioctl+0x183/0x310 drivers/block/loop.c:1997 1 lock held by syz-executor.1/6091: #0: (loop_index_mutex){+.+.}, at: [<000000008675ac81>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1983 1 lock held by syz-executor.1/6103: #0: (loop_index_mutex){+.+.}, at: [<000000008675ac81>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1983 1 lock held by syz-executor.1/6104: #0: (loop_index_mutex){+.+.}, at: [<000000008675ac81>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1983 2 locks held by blkid/6083: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000006ea4a78f>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by blkid/6084: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000006ea4a78f>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by blkid/6085: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000006ea4a78f>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 2 locks held by blkid/6086: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000435e3055>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<000000006ea4a78f>] lo_open+0x19/0xb0 drivers/block/loop.c:1624 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.156-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 0xffffffff83ca7033