INFO: task syz-executor0:5457 blocked for more than 140 seconds. Not tainted 5.0.0-rc1-next-20190114 #11 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D20440 5457 1 0x00000004 Call Trace: context_switch kernel/sched/core.c:2834 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3475 schedule+0xfe/0x350 kernel/sched/core.c:3519 wb_wait_for_completion+0x1e0/0x2d0 fs/fs-writeback.c:221 __writeback_inodes_sb_nr+0x417/0x590 fs/fs-writeback.c:2333 writeback_inodes_sb_nr fs/fs-writeback.c:2350 [inline] writeback_inodes_sb+0x28/0x30 fs/fs-writeback.c:2365 __sync_filesystem fs/sync.c:36 [inline] sync_filesystem+0x16e/0x340 fs/sync.c:64 generic_shutdown_super+0xd6/0x530 fs/super.c:444 kill_block_super+0xa0/0x100 fs/super.c:1373 deactivate_locked_super+0x9a/0x100 fs/super.c:331 deactivate_super fs/super.c:362 [inline] deactivate_super+0x2ab/0x320 fs/super.c:358 cleanup_mnt+0xbf/0x160 fs/namespace.c:1140 __cleanup_mnt+0x16/0x20 fs/namespace.c:1147 task_work_run+0x1f4/0x2b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x32a/0x3b0 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+0x696/0x800 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a917 Code: Bad RIP value. RSP: 002b:00007fff1d2eabf8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000045a917 RDX: 0000000000402ec0 RSI: 0000000000000002 RDI: 00007fff1d2eaca0 RBP: 00000000000000a5 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000005 R11: 0000000000000206 R12: 00007fff1d2ebd30 R13: 00000000014af940 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor5:7067 blocked for more than 140 seconds. Not tainted 5.0.0-rc1-next-20190114 #11 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D23144 7067 5454 0x00000004 Call Trace: context_switch kernel/sched/core.c:2834 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3475 schedule+0xfe/0x350 kernel/sched/core.c:3519 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x360/0x6d0 kernel/locking/rwsem-xadd.c:297 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+0x9b/0x120 kernel/locking/rwsem.c:26 __get_super.part.0+0x203/0x2e0 fs/super.c:788 __get_super include/linux/spinlock.h:329 [inline] get_super+0x2e/0x50 fs/super.c:817 fsync_bdev+0x19/0xd0 fs/block_dev.c:492 invalidate_partition+0x36/0x60 block/genhd.c:1579 drop_partitions.isra.0+0xf7/0x220 block/partition-generic.c:443 rescan_partitions+0x72/0x970 block/partition-generic.c:516 __blkdev_reread_part+0x1a2/0x230 block/ioctl.c:173 blkdev_reread_part+0x27/0x40 block/ioctl.c:193 loop_reread_partitions+0x1c/0x40 drivers/block/loop.c:633 loop_set_status+0xe57/0x1380 drivers/block/loop.c:1282 loop_set_status64+0xc2/0x120 drivers/block/loop.c:1402 lo_ioctl+0x518/0x23e0 drivers/block/loop.c:1545 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x10e0/0x2120 block/ioctl.c:605 block_ioctl+0xee/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x107b/0x17d0 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: Bad RIP value. RSP: 002b:00007f694da6cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 RDX: 0000000020000380 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f694da6d6d4 R13: 00000000004c1290 R14: 00000000004d2f60 R15: 00000000ffffffff INFO: task syz-executor5:7077 blocked for more than 140 seconds. Not tainted 5.0.0-rc1-next-20190114 #11 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D26536 7077 5454 0x00000004 Call Trace: context_switch kernel/sched/core.c:2834 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3475 schedule+0xfe/0x350 kernel/sched/core.c:3519 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3577 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xa3b/0x1670 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __blkdev_get+0x19b/0x1400 fs/block_dev.c:1489 blkdev_get+0xc1/0xae0 fs/block_dev.c:1640 blkdev_open+0x205/0x290 fs/block_dev.c:1798 do_dentry_open+0x495/0x1230 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x144f/0x5660 fs/namei.c:3534 do_filp_open+0x26f/0x370 fs/namei.c:3564 do_sys_open+0x59a/0x7c0 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+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411e71 Code: 48 c7 03 90 1c 41 00 31 c0 48 83 c4 08 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 c7 03 b0 20 41 00 eb e5 0f 1f 80 00 00 00 00 bf <69> 30 44 00 b9 08 00 00 00 48 89 ee f3 a6 74 1f bf 71 30 44 00 b9 RSP: 002b:00007f694da4b7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 0000000000411e71 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f694da4b850 RBP: 000000000073bfa0 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f694da4c6d4 R13: 00000000004c68b3 R14: 00000000004dbc00 R15: 00000000ffffffff INFO: task blkid:7070 blocked for more than 140 seconds. Not tainted 5.0.0-rc1-next-20190114 #11 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D26344 7070 5624 0x00000004 Call Trace: context_switch kernel/sched/core.c:2834 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3475 schedule+0xfe/0x350 kernel/sched/core.c:3519 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3577 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xa3b/0x1670 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __blkdev_get+0x19b/0x1400 fs/block_dev.c:1489 blkdev_get+0xc1/0xae0 fs/block_dev.c:1640 blkdev_open+0x205/0x290 fs/block_dev.c:1798 do_dentry_open+0x495/0x1230 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x144f/0x5660 fs/namei.c:3534 do_filp_open+0x26f/0x370 fs/namei.c:3564 do_sys_open+0x59a/0x7c0 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+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5f9f456120 Code: Bad RIP value. RSP: 002b:00007ffc4be413c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5f9f456120 RDX: 00007ffc4be41f3f RSI: 0000000000000000 RDI: 00007ffc4be41f3f RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001ef5030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/1039: #0: 000000005694357b (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4408 1 lock held by rsyslogd/7803: #0: 00000000591593db (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:796 2 locks held by getty/7894: #0: 000000000b4a6b7a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004f34cdb4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7895: #0: 0000000007aca63e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000054e78f4c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7896: #0: 000000002f662ffe (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000000a28f4af (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7897: #0: 0000000026bd5d50 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d59b45f0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7898: #0: 00000000b0798e74 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000fd4eb008 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7899: #0: 0000000014117933 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000074050c12 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7900: #0: 00000000dfa71fd4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004c5ff323 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 3 locks held by kworker/u4:14/20185: 1 lock held by syz-executor1/2301: #0: 000000009c86f4cd (&sig->cred_guard_mutex){+.+.}, at: prepare_bprm_creds fs/exec.c:1407 [inline] #0: 000000009c86f4cd (&sig->cred_guard_mutex){+.+.}, at: __do_execve_file.isra.0+0x45d/0x2700 fs/exec.c:1750 1 lock held by syz-executor0/5457: #0: 000000001da573e4 (&type->s_umount_key#47){++++}, at: deactivate_super fs/super.c:361 [inline] #0: 000000001da573e4 (&type->s_umount_key#47){++++}, at: deactivate_super+0x2a3/0x320 fs/super.c:358 2 locks held by syz-executor5/7067: #0: 00000000d84a6405 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1f/0x40 block/ioctl.c:192 #1: 000000001da573e4 (&type->s_umount_key#47){++++}, at: __get_super.part.0+0x203/0x2e0 fs/super.c:788 1 lock held by syz-executor5/7077: #0: 00000000d84a6405 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1400 fs/block_dev.c:1489 1 lock held by blkid/7070: #0: 00000000d84a6405 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1400 fs/block_dev.c:1489 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1039 Comm: khungtaskd Not tainted 5.0.0-rc1-next-20190114 #11 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+0x1db/0x2d0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0xbbb/0x1170 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:247 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 20185 Comm: kworker/u4:14 Not tainted 5.0.0-rc1-next-20190114 #11 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline] RIP: 0010:write_comp_data+0x10/0x70 kernel/kcov.c:122 Code: 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 65 4c 8b 04 25 40 ee 01 00 65 8b 05 00 b9 7f 7e 00 01 1f 00 75 51 41 8b 80 e0 12 00 00 83 f8 03 75 45 49 8b 80 RSP: 0018:ffff888066876aa8 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffffffff8392b46a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff888066876ab0 R08: ffff888087066240 R09: fffff94000253877 R10: fffff94000253876 R11: ffffea000129c3b7 R12: ffffffff888209a0 R13: 0000000000000001 R14: ffffffff88563020 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000094808000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_preemption_disabled+0xaa/0x290 lib/smp_processor_id.c:18 __this_cpu_preempt_check+0x1d/0x30 lib/smp_processor_id.c:62 lookup_bh_lru fs/buffer.c:1298 [inline] __find_get_block+0x16a/0xf20 fs/buffer.c:1327 __getblk_slow fs/buffer.c:1058 [inline] __getblk_gfp+0x3c2/0x1140 fs/buffer.c:1357 __bread_gfp+0x2f/0x300 fs/buffer.c:1391 sb_bread include/linux/buffer_head.h:307 [inline] __fat_write_inode+0x33a/0xb70 fs/fat/inode.c:859 fat_write_inode+0x96/0x190 fs/fat/inode.c:908 write_inode fs/fs-writeback.c:1176 [inline] __writeback_single_inode+0xef1/0x1620 fs/fs-writeback.c:1375 writeback_sb_inodes+0x762/0x1260 fs/fs-writeback.c:1580 wb_writeback+0x338/0xf70 fs/fs-writeback.c:1756 wb_do_writeback fs/fs-writeback.c:1901 [inline] wb_workfn+0x416/0x16f0 fs/fs-writeback.c:1942 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:247 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352