syz-executor0(9122): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(9122): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(9122): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(9122): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(9122): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor3:9168 blocked for more than 140 seconds. Not tainted 4.20.0-rc1-next-20181109+ #110 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D22824 9168 6061 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x371/0x710 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.11+0x207/0x2e0 fs/super.c:789 __get_super include/linux/spinlock.h:329 [inline] get_super+0x2d/0x50 fs/super.c:818 fsync_bdev+0x17/0xc0 fs/block_dev.c:471 invalidate_partition+0x35/0x60 block/genhd.c:1570 drop_partitions.isra.14+0xe1/0x200 block/partition-generic.c:445 rescan_partitions+0x72/0x8e0 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+0x1c/0x40 drivers/block/loop.c:633 loop_set_status+0xcd8/0x10e0 drivers/block/loop.c:1268 loop_set_status64+0xaa/0x100 drivers/block/loop.c:1388 lo_ioctl+0x904/0x22a0 drivers/block/loop.c:1514 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x98e/0x21b0 block/ioctl.c:605 block_ioctl+0xee/0x130 fs/block_dev.c:1885 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x1de/0x1790 fs/ioctl.c:696 ksys_ioctl+0xa9/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+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007ff24f7fec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000020000380 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff24f7ff6d4 R13: 00000000004c06e8 R14: 00000000004d0c00 R15: 00000000ffffffff INFO: task syz-executor3:9209 blocked for more than 140 seconds. Not tainted 4.20.0-rc1-next-20181109+ #110 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D22544 9209 6061 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xaff/0x16f0 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __blkdev_get+0x19b/0x13b0 fs/block_dev.c:1468 blkdev_get+0xc1/0xb50 fs/block_dev.c:1619 blkdev_open+0x1fb/0x280 fs/block_dev.c:1777 do_dentry_open+0x499/0x1250 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12bc/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 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:0x4111a1 Code: 74 3b 44 89 f1 ba 00 33 44 00 44 89 f6 31 ff 31 c0 ff 15 aa 82 24 00 e9 90 fc ff ff c6 02 00 4c 8b 7c 24 28 49 89 ca 49 83 c7 <01> 4c 89 7c 24 28 e9 44 fb ff ff 4d 89 d7 e9 3c fb ff ff b9 40 95 RSP: 002b:00007ff24f7dd7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004111a1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ff24f7dd850 RBP: 000000000072bfa0 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000006 R11: 0000000000000293 R12: 00007ff24f7de6d4 R13: 00000000004c4fb4 R14: 00000000004d8748 R15: 00000000ffffffff INFO: task blkid:9177 blocked for more than 140 seconds. Not tainted 4.20.0-rc1-next-20181109+ #110 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D22984 9177 5961 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xaff/0x16f0 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __blkdev_get+0x19b/0x13b0 fs/block_dev.c:1468 blkdev_get+0xc1/0xb50 fs/block_dev.c:1619 blkdev_open+0x1fb/0x280 fs/block_dev.c:1777 do_dentry_open+0x499/0x1250 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12bc/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 syz-executor0(9122): getblk(): executed=9 bh_count=0 bh_state=0 do_sys_open+0x568/0x700 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:0x7fa6577a0120 Code: Bad RIP value. RSP: 002b:00007fffffec6b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa6577a0120 RDX: 00007fffffec8f41 RSI: 0000000000000000 RDI: 00007fffffec8f41 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000017ca030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/1010: #0: 000000006e3863ec (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5861: #0: 0000000053d146fd (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5952: #0: 000000002e2d89f1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000008b31fa09 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5953: #0: 000000007ed457f6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000002f021693 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5954: #0: 000000005cc403a6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000e23d93be (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5955: #0: 00000000f687a3be (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000b06548d4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5956: #0: 00000000fb4c3b00 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000004c38eac (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5957: #0: 0000000037a8fa18 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000897532c5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5958: #0: 0000000033318bad (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000045cfc23c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 1 lock held by syz-executor0/9122: 2 locks held by syz-executor3/9168: #0: 0000000088166bdd (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1e/0x40 block/ioctl.c:192 #1: 00000000efd107f2 (&fc->fs_type->s_umount_key#74){.+.+}, at: __get_super.part.11+0x207/0x2e0 fs/super.c:789 1 lock held by syz-executor3/9209: #0: 0000000088166bdd (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13b0 fs/block_dev.c:1468 1 lock held by blkid/9177: #0: 0000000088166bdd (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13b0 fs/block_dev.c:1468 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1010 Comm: khungtaskd Not tainted 4.20.0-rc1-next-20181109+ #110 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+0x244/0x39d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.2+0x5c/0xa1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1e8/0x22a 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:205 [inline] watchdog+0xb4c/0x1060 kernel/hung_task.c:289 kthread+0x35a/0x440 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.246 msecs NMI backtrace for cpu 1 CPU: 1 PID: 9122 Comm: syz-executor0 Not tainted 4.20.0-rc1-next-20181109+ #110 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_lockdep_current_cpu_online+0x4b/0x210 kernel/rcu/tree.c:972 Code: 03 48 83 ec 68 48 c7 45 80 3d 88 0f 89 4a 8d 04 2b 48 c7 45 88 10 b9 69 81 48 c7 85 78 ff ff ff b3 8a b5 41 c7 00 f1 f1 f1 f1 40 04 00 f2 f2 f2 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 RSP: 0018:ffff8801790c6cb0 EFLAGS: 00000282 RAX: ffffed002f218d97 RBX: 1ffff1002f218d97 RCX: 1ffff1002f218d9a RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8801790c6cd0 RBP: ffff8801790c6d40 R08: ffffed003b5e5b68 R09: ffffed003b5e5b67 R10: ffffed003b5e5b67 R11: ffff8801daf2db3b R12: 0000000000000016 R13: dffffc0000000000 R14: ffffea0006bbd300 R15: ffff8801790c6e20 FS: 00007f973ace5700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001ca405000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held+0x90/0xc0 kernel/rcu/update.c:279 xa_entry include/linux/xarray.h:848 [inline] xas_descend+0x413/0x510 lib/xarray.c:198 xas_load+0x145/0x1e0 lib/xarray.c:234 find_get_entry+0x3ca/0x1120 mm/filemap.c:1415 pagecache_get_page+0x12f/0xf00 mm/filemap.c:1518 find_or_create_page include/linux/pagemap.h:322 [inline] grow_dev_page fs/buffer.c:947 [inline] grow_buffers fs/buffer.c:1029 [inline] __getblk_slow fs/buffer.c:1062 [inline] __getblk_gfp+0x4ca/0x1030 fs/buffer.c:1351 __bread_gfp+0x2d/0x310 fs/buffer.c:1385 sb_bread include/linux/buffer_head.h:307 [inline] isofs_fill_super+0x12d0/0x37e8 fs/isofs/inode.c:680 mount_bdev+0x314/0x3e0 fs/super.c:1356 isofs_mount+0x3c/0x50 fs/isofs/inode.c:1572 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795 do_new_mount fs/namespace.c:2716 [inline] do_mount+0x82a/0x1ff0 fs/namespace.c:3042 ksys_mount+0x12d/0x140 fs/namespace.c:3258 __do_sys_mount fs/namespace.c:3272 [inline] __se_sys_mount fs/namespace.c:3269 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459fda Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d 89 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 5a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f973ace4a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f973ace4b30 RCX: 0000000000459fda RDX: 00007f973ace4ad0 RSI: 0000000020000740 RDI: 00007f973ace4af0 RBP: 0000000020000740 R08: 00007f973ace4b30 R09: 00007f973ace4ad0 R10: 0000000000000001 R11: 0000000000000206 R12: 0000000000000003 R13: 0000000000000001 R14: 00000000004d84c0 R15: 00000000ffffffff