syz-executor0(18214): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(18214): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(18214): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(18214): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(18214): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor5:18218 blocked for more than 140 seconds. Not tainted 4.18.0-rc6-next-20180725+ #18 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D24360 18218 4365 0x00000004 Call Trace: context_switch kernel/sched/core.c:2820 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3468 schedule+0xfb/0x450 kernel/sched/core.c:3512 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3570 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0xbf5/0x1680 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1465 blkdev_get+0xc1/0xb50 fs/block_dev.c:1616 blkdev_open+0x1fb/0x280 fs/block_dev.c:1774 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 syz-executor0(18214): getblk(): executed=9 bh_count=0 bh_state=0 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:0x410741 Code: 31 c0 c3 66 0f 1f 44 00 00 48 85 f6 48 89 f0 0f 84 d4 00 00 00 48 85 ff 48 89 fa 0f 84 c8 00 00 00 48 c7 06 00 00 00 00 bf 58 <30> 44 00 b9 08 00 00 00 48 89 d6 f3 a6 74 20 bf 60 30 44 00 b9 09 RSP: 002b:00007f881271c7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 0000000000410741 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f881271c850 RBP: 00000000009300a0 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000ffffffff R13: 00000000004d5878 R14: 00000000004c9114 R15: 0000000000000000 INFO: task syz-executor5:18231 blocked for more than 140 seconds. Not tainted 4.18.0-rc6-next-20180725+ #18 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D24464 18231 4365 0x00000004 Call Trace: context_switch kernel/sched/core.c:2820 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3468 schedule+0xfb/0x450 kernel/sched/core.c:3512 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] rwsem_down_read_failed+0x362/0x600 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:468 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/0x1d90 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:1882 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:0x456a09 Code: Bad RIP value. RSP: 002b:00007f88126fbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f88126fc6d4 RCX: 0000000000456a09 RDX: 00000000200000c0 RSI: 0000000000004c04 RDI: 0000000000000013 RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004ce4e0 R14: 00000000004c4d51 R15: 0000000000000001 INFO: task syz-executor0:18210 blocked for more than 140 seconds. Not tainted 4.18.0-rc6-next-20180725+ #18 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24928 18210 4362 0x00000004 Call Trace: context_switch kernel/sched/core.c:2820 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3468 schedule+0xfb/0x450 kernel/sched/core.c:3512 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3570 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0xbf5/0x1680 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 blkdev_put+0x34/0x540 fs/block_dev.c:1815 blkdev_close+0x8b/0xb0 fs/block_dev.c:1864 __fput+0x376/0x8a0 fs/file_table.c:279 ____fput+0x15/0x20 fs/file_table.c:312 task_work_run+0x1ec/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:0x4105c1 Code: aa ff ff 44 8b 38 48 8d b4 24 30 02 00 00 ba 00 02 00 00 44 89 ff e8 1e ff 00 00 48 8d 8c 24 30 02 00 00 48 8d b4 24 a0 00 00 <00> 44 89 fa bf 90 31 44 00 31 c0 e8 5f 0a 01 00 e9 4e ff ff ff e8 RSP: 002b:00007ffd5ab7d780 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000016 RCX: 00000000004105c1 RDX: 0000000000000000 RSI: 0000000000730878 RDI: 0000000000000015 RBP: 0000000000000010 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffd5ab7d6b0 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000003815b R14: 0000000000000121 R15: badc0ffeebadface INFO: task syz-executor0:18242 blocked for more than 140 seconds. Not tainted 4.18.0-rc6-next-20180725+ #18 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24360 18242 4362 0x00000004 Call Trace: context_switch kernel/sched/core.c:2820 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3468 schedule+0xfb/0x450 kernel/sched/core.c:3512 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3570 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0xbf5/0x1680 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1465 blkdev_get+0xc1/0xb50 fs/block_dev.c:1616 blkdev_open+0x1fb/0x280 fs/block_dev.c:1774 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:0x410741 Code: 31 c0 c3 66 0f 1f 44 00 00 48 85 f6 48 89 f0 0f 84 d4 00 00 00 48 85 ff 48 89 fa 0f 84 c8 00 00 00 48 c7 06 00 00 00 00 bf 58 <30> 44 00 b9 08 00 00 00 48 89 d6 f3 a6 74 20 bf 60 30 44 00 b9 09 RSP: 002b:00007f6c291aea80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000020000068 RCX: 0000000000410741 RDX: 00007f6c291aeafa RSI: 0000000000000002 RDI: 00007f6c291aeaf0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 000000000000001c R13: 0000000000000001 R14: 00000000004c8fbb R15: 0000000000000002 INFO: task syz-executor0:18291 blocked for more than 140 seconds. Not tainted 4.18.0-rc6-next-20180725+ #18 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24696 18291 4362 0x00000004 Call Trace: context_switch kernel/sched/core.c:2820 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3468 schedule+0xfb/0x450 kernel/sched/core.c:3512 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3570 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0xbf5/0x1680 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1465 blkdev_get+0xc1/0xb50 fs/block_dev.c:1616 blkdev_open+0x1fb/0x280 fs/block_dev.c:1774 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:0x410741 Code: 31 c0 c3 66 0f 1f 44 00 00 48 85 f6 48 89 f0 0f 84 d4 00 00 00 48 85 ff 48 89 fa 0f 84 c8 00 00 00 48 c7 06 00 00 00 00 bf 58 <30> 44 00 b9 08 00 00 00 48 89 d6 f3 a6 74 20 bf 60 30 44 00 b9 09 RSP: 002b:00007f6c2916ca80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000200001a8 RCX: 0000000000410741 RDX: 00007f6c2916cafa RSI: 0000000000000002 RDI: 00007f6c2916caf0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000020 R13: 0000000000000001 R14: 00000000004c8ea0 R15: 0000000000000004 INFO: lockdep is turned off. NMI backtrace for cpu 1 CPU: 1 PID: 774 Comm: khungtaskd Not tainted 4.18.0-rc6-next-20180725+ #18 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+0x345/0x410 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 18214 Comm: syz-executor0 Not tainted 4.18.0-rc6-next-20180725+ #18 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data+0x14/0x70 kernel/kcov.c:116 Code: 4c 89 ef e8 1e 93 3e 00 e9 76 fc ff ff e8 b4 9c ca ff 90 90 90 90 55 65 4c 8b 04 25 40 ee 01 00 65 8b 05 2f 46 85 7e 48 89 e5 00 01 1f 00 75 51 41 8b 80 98 12 00 00 83 f8 03 75 45 49 8b 80 RSP: 0018:ffff880192487130 EFLAGS: 00000046 RAX: 0000000080000000 RBX: ffff880168426b28 RCX: ffffffff81d704dd RDX: 000000000003085f RSI: 000000000000000d RDI: 0000000000000006 RBP: ffff880192487130 R08: ffff8801d9696200 R09: fffff94000af6a66 R10: fffff94000af6a66 R11: ffffea00057b5337 R12: 0000000000000006 R13: dffffc0000000000 R14: 0000000000000006 R15: 000000000003085f FS: 00007f6c291f1700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001c5ff4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sanitizer_cov_trace_cmp8+0x18/0x20 kernel/kcov.c:168 lookup_bh_lru fs/buffer.c:1295 [inline] __find_get_block+0x1bd/0xe60 fs/buffer.c:1322 __getblk_slow fs/buffer.c:1059 [inline] __getblk_gfp+0x3dc/0xe00 fs/buffer.c:1352 __bread_gfp+0x2d/0x310 fs/buffer.c:1386 sb_bread include/linux/buffer_head.h:307 [inline] fat__get_entry+0x59c/0xa30 fs/fat/dir.c:101 fat_get_entry fs/fat/dir.c:129 [inline] fat_get_short_entry+0x13c/0x2c0 fs/fat/dir.c:876 fat_subdirs+0x13c/0x290 fs/fat/dir.c:942 fat_read_root fs/fat/inode.c:1421 [inline] fat_fill_super+0x29f6/0x4430 fs/fat/inode.c:1851 vfat_fill_super+0x31/0x40 fs/fat/namei_vfat.c:1049 mount_bdev+0x314/0x3e0 fs/super.c:1363 vfat_mount+0x3c/0x50 fs/fat/namei_vfat.c:1056 legacy_get_tree+0x131/0x460 fs/fs_context.c:674 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1762 do_new_mount fs/namespace.c:2629 [inline] do_mount+0x6f2/0x1e20 fs/namespace.c:2953 ksys_mount+0x12d/0x140 fs/namespace.c:3169 __do_sys_mount fs/namespace.c:3183 [inline] __se_sys_mount fs/namespace.c:3180 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3180 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45943a Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 bd 8a fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 9a 8a fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f6c291f0a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f6c291f0b30 RCX: 000000000045943a RDX: 00007f6c291f0ad0 RSI: 00000000200004c0 RDI: 00007f6c291f0af0 RBP: 00000000200004c0 R08: 00007f6c291f0b30 R09: 00007f6c291f0ad0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000014 R13: 0000000000000000 R14: 00000000004c8fbb R15: 0000000000000000