syz-executor0(21216): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(21216): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(21216): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(21216): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(21216): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor7:21207 blocked for more than 140 seconds. Not tainted 4.18.0-rc7-next-20180803+ #31 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor7 D22968 21207 24154 0x00000004 Call Trace: context_switch kernel/sched/core.c:2823 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3471 schedule+0xfb/0x450 kernel/sched/core.c:3515 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3573 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0xbf9/0x1700 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 blkdev_get+0xc1/0xb50 fs/block_dev.c:1617 blkdev_open+0x1fb/0x280 fs/block_dev.c:1775 do_dentry_open+0x49c/0x1140 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12fb/0x5300 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x584/0x720 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4109f1 Code: 75 14 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 b4 17 00 00 c3 48 83 ec 08 e8 8a fa ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 d3 fa ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f7ad88767a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004109f1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f7ad8876850 RBP: 00000000009300a0 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000ffffffff R13: 00000000004d5fb8 R14: 00000000004c9861 R15: 0000000000000000 INFO: task syz-executor7:21221 blocked for more than 140 seconds. Not tainted 4.18.0-rc7-next-20180803+ #31 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor7 D24568 21221 24154 0x00000004 Call Trace: context_switch kernel/sched/core.c:2823 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3471 schedule+0xfb/0x450 kernel/sched/core.c:3515 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] rwsem_down_read_failed+0x362/0x610 kernel/locking/rwsem-xadd.c:286 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0xc3/0x1d0 kernel/locking/rwsem.c:26 __get_super.part.12+0x20f/0x2e0 fs/super.c:787 __get_super include/linux/spinlock.h:329 [inline] get_super+0x2d/0x50 fs/super.c:816 fsync_bdev+0x17/0xc0 fs/block_dev.c:469 invalidate_partition+0x35/0x60 block/genhd.c:1561 drop_partitions.isra.13+0xe8/0x200 block/partition-generic.c:445 rescan_partitions+0x75/0x910 block/partition-generic.c:518 __blkdev_reread_part+0x1ad/0x230 block/ioctl.c:173 blkdev_reread_part+0x26/0x40 block/ioctl.c:193 loop_reread_partitions+0x163/0x190 drivers/block/loop.c:645 loop_set_status+0xb95/0x1010 drivers/block/loop.c:1199 loop_set_status64+0xaa/0x100 drivers/block/loop.c:1317 lo_ioctl+0x90e/0x1d70 drivers/block/loop.c:1433 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x9cd/0x2030 block/ioctl.c:601 block_ioctl+0xee/0x130 fs/block_dev.c:1883 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x456cb9 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7ad8855c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7ad88566d4 RCX: 0000000000456cb9 RDX: 0000000020000100 RSI: 0000000000004c04 RDI: 0000000000000014 RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cec20 R14: 00000000004c549e R15: 0000000000000001 INFO: task syz-executor0:21212 blocked for more than 140 seconds. Not tainted 4.18.0-rc7-next-20180803+ #31 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0(21216): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0 D25184 21212 4360 0x00000004 Call Trace: context_switch kernel/sched/core.c:2823 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3471 schedule+0xfb/0x450 kernel/sched/core.c:3515 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3573 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0xbf9/0x1700 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 blkdev_put+0x34/0x540 fs/block_dev.c:1816 blkdev_close+0x8b/0xb0 fs/block_dev.c:1865 __fput+0x376/0x8a0 fs/file_table.c:279 ____fput+0x15/0x20 fs/file_table.c:312 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x410871 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fff379bed70 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000016 RCX: 0000000000410871 RDX: 0000000000000000 RSI: 0000000000730350 RDI: 0000000000000015 RBP: 0000000000000000 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007fff379beca0 R11: 0000000000000293 R12: 0000000000000003 R13: 00000000001043da R14: 0000000000000782 R15: badc0ffeebadface INFO: task syz-executor0:21265 blocked for more than 140 seconds. Not tainted 4.18.0-rc7-next-20180803+ #31 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24376 21265 4360 0x00000004 Call Trace: context_switch kernel/sched/core.c:2823 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3471 schedule+0xfb/0x450 kernel/sched/core.c:3515 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3573 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0xbf9/0x1700 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 blkdev_get+0xc1/0xb50 fs/block_dev.c:1617 blkdev_open+0x1fb/0x280 fs/block_dev.c:1775 do_dentry_open+0x49c/0x1140 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12fb/0x5300 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x584/0x720 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4109f1 Code: 75 14 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 b4 17 00 00 c3 48 83 ec 08 e8 8a fa ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 d3 fa ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fde96725a80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000020000228 RCX: 00000000004109f1 RDX: 00007fde96725afa RSI: 0000000000000002 RDI: 00007fde96725af0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000017 R13: 0000000000000001 R14: 00000000004c9708 R15: 0000000000000002 INFO: lockdep is turned off. NMI backtrace for cpu 0 CPU: 0 PID: 774 Comm: khungtaskd Not tainted 4.18.0-rc7-next-20180803+ #31 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x48/0x88 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb39/0x10b0 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2289 Comm: udevd Not tainted 4.18.0-rc7-next-20180803+ #31 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:list_empty include/linux/list.h:203 [inline] RIP: 0010:waitqueue_active include/linux/wait.h:126 [inline] RIP: 0010:ep_scan_ready_list+0xa06/0x1090 fs/eventpoll.c:747 Code: cd 01 00 00 e8 bb 00 a0 ff 48 8b 85 30 fd ff ff 4c 8d a3 00 ff ff ff 4c 8d b8 b8 00 00 00 4c 89 e0 48 c1 e8 03 42 c6 04 28 00 <4c> 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 6c 05 00 00 48 8b 85 30 RSP: 0018:ffff8801ca4df668 EFLAGS: 00000802 RAX: 1ffff1003949bf0d RBX: ffff8801ca4df968 RCX: ffffffff816060e1 RDX: 0000000000000000 RSI: ffffffff81dc9bc5 RDI: 0000000000000000 RBP: ffff8801ca4df990 R08: ffffed0039501d09 R09: ffffed0039501d08 R10: ffffed0039501d08 R11: ffff8801ca80e843 R12: ffff8801ca4df868 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8801ca80e878 FS: 00007efe27bcd7a0(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001cab16000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ep_send_events fs/eventpoll.c:1713 [inline] ep_poll+0x59c/0x1430 fs/eventpoll.c:1840 do_epoll_wait+0x1b0/0x200 fs/eventpoll.c:2198 __do_sys_epoll_wait fs/eventpoll.c:2208 [inline] __se_sys_epoll_wait fs/eventpoll.c:2205 [inline] __x64_sys_epoll_wait+0x97/0xf0 fs/eventpoll.c:2205 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efe272e1943 Code: 00 31 d2 48 29 c2 64 89 11 48 83 c8 ff eb ea 90 90 90 90 90 90 90 90 83 3d b5 dc 2a 00 00 75 13 49 89 ca b8 e8 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 34 c3 48 83 ec 08 e8 3b c4 00 00 48 89 04 24 RSP: 002b:00007fffce05c0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 0000000000000bb8 RCX: 00007efe272e1943 RDX: 0000000000000008 RSI: 00007fffce05c1e0 RDI: 000000000000000a RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000bb8 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000000 R14: 000000000122c2a0 R15: 000000000121b250