syz-executor0(7883): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(7883): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(7883): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(7883): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(7883): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor7:7893 blocked for more than 140 seconds. Not tainted 4.18.0-rc7-next-20180801+ #29 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor7 D24464 7893 4272 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:0x456a09 Code: 24 00 00 00 e8 e8 4e fd ff 0f 0b e8 c1 34 00 00 e9 3c ff ff ff cc cc cc cc cc cc cc cc cc cc cc cc 64 48 8b 0c 25 f8 ff ff ff <48> 3b 61 10 76 40 48 83 ec 28 48 89 6c 24 20 48 8d 6c 24 20 48 8b RSP: 002b:00007fa57c094c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa57c0956d4 RCX: 0000000000456a09 RDX: 0000000020000000 RSI: 0000000000004c04 RDI: 0000000000000013 RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004ce4e0 R14: 00000000004c4d51 R15: 0000000000000001 INFO: task blkid:7880 blocked for more than 140 seconds. Not tainted 4.18.0-rc7-next-20180801+ #29 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D20048 7880 13090 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:0x7f1bf61d62b0 Code: Bad RIP value. RSP: 002b:00007ffcac0f0df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f1bf61d62b0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000018 R09: 0000000001680000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000fbc030 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000005 INFO: task syz-executor0:7882 blocked for more than 140 seconds. Not tainted 4.18.0-rc7-next-20180801+ #29 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25008 7882 29282 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:0x4105c1 Code: 16 00 00 00 e8 30 b3 01 00 0f 0b 48 89 54 24 18 66 89 44 24 16 e8 bf bc 01 00 48 8d 05 ef ec 4b 00 48 89 04 24 48 c7 44 24 08 <16> 00 00 00 e8 46 c6 01 00 e8 f1 be 01 00 0f b7 44 24 16 0f b7 c0 RSP: 002b:00007fff6418dd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000015 RCX: 00000000004105c1 RDX: 0000000000000000 RSI: 0000000000730390 RDI: 0000000000000014 RBP: 0000000000000010 R08: 00000000000000a0 R09: ffffffffffffffff R10: 0000000000930140 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000069326 R14: 0000000000000120 R15: badc0ffeebadface INFO: task syz-executor0:7952 blocked for more than 140 seconds. Not tainted 4.18.0-rc7-next-20180801+ #29 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24840 7952 29282 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:0x410741 Code: 8b 51 30 48 8b 92 98 00 00 00 48 85 d2 0f 84 3f 07 00 00 48 8b 8a 68 01 00 00 48 29 c1 48 89 8a 68 01 00 00 48 85 c9 0f 8c 0d <07> 00 00 64 48 8b 04 25 f8 ff ff ff 48 8b 48 30 8b 99 d8 00 00 00 RSP: 002b:00007f67699daa80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000020000168 RCX: 0000000000410741 RDX: 00007f67699daafa RSI: 0000000000000002 RDI: 00007f67699daaf0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000001 R14: 00000000004c8f38 R15: 0000000000000001 INFO: lockdep is turned off. NMI backtrace for cpu 1 CPU: 1 PID: 774 Comm: khungtaskd Not tainted 4.18.0-rc7-next-20180801+ #29 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7883 Comm: syz-executor0 Not tainted 4.18.0-rc7-next-20180801+ #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_pc+0x3f/0x50 kernel/kcov.c:106 Code: e2 00 01 1f 00 48 8b 75 08 75 2b 8b 90 88 12 00 00 83 fa 02 75 20 48 8b 88 90 12 00 00 8b 80 8c 12 00 00 48 8b 11 48 83 c2 01 <48> 39 d0 76 07 48 89 34 d1 48 89 11 5d c3 0f 1f 00 55 40 0f b6 d6 RSP: 0018:ffff88018f98f220 EFLAGS: 00000216 RAX: 0000000000040000 RBX: ffff8801cc4a42a0 RCX: ffffc90012bb2000 RDX: 0000000000040000 RSI: ffffffff81d6e392 RDI: 0000000000000007 RBP: ffff88018f98f220 R08: ffff880188e1e3c0 R09: ffffed0031f31d99 R10: ffffed0031f31d99 R11: 0000000000000003 R12: dffffc0000000000 R13: 0000000000000a09 R14: 0000000000000000 R15: 0000000000000020 FS: 00007f67699fc700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001d8e6f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: init_page_buffers+0x3e2/0x530 fs/buffer.c:912 grow_dev_page fs/buffer.c:955 [inline] grow_buffers fs/buffer.c:1030 [inline] __getblk_slow fs/buffer.c:1063 [inline] __getblk_gfp+0xb50/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 msdos_fill_super+0x2e/0x40 fs/fat/namei_msdos.c:652 mount_bdev+0x314/0x3e0 fs/super.c:1344 msdos_mount+0x3c/0x50 fs/fat/namei_msdos.c:659 legacy_get_tree+0x131/0x460 fs/fs_context.c:729 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1743 do_new_mount fs/namespace.c:2603 [inline] do_mount+0x6f2/0x1e20 fs/namespace.c:2927 ksys_mount+0x12d/0x140 fs/namespace.c:3143 __do_sys_mount fs/namespace.c:3157 [inline] __se_sys_mount fs/namespace.c:3154 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3154 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:00007f67699fba88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f67699fbb30 RCX: 000000000045943a RDX: 00007f67699fbad0 RSI: 00000000200003c0 RDI: 00007f67699fbaf0 RBP: 00000000200003c0 R08: 00007f67699fbb30 R09: 00007f67699fbad0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000013 R13: 0000000000000000 R14: 00000000004c8f38 R15: 0000000000000000