INFO: task syz-executor0:31137 blocked for more than 140 seconds. Not tainted 4.18.0-rc3+ #134 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24488 31137 4563 0x00000004 Call Trace: context_switch kernel/sched/core.c:2862 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3504 schedule+0xfb/0x450 kernel/sched/core.c:3548 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3606 __mutex_lock_common kernel/locking/mutex.c:834 [inline] __mutex_lock+0xede/0x1820 kernel/locking/mutex.c:894 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:909 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1463 blkdev_get+0xc1/0xb50 fs/block_dev.c:1614 blkdev_open+0x1fb/0x280 fs/block_dev.c:1772 do_dentry_open+0x818/0xe40 fs/open.c:794 vfs_open+0x139/0x230 fs/open.c:908 do_last fs/namei.c:3399 [inline] path_openat+0x174a/0x4e10 fs/namei.c:3540 do_filp_open+0x255/0x380 fs/namei.c:3574 do_sys_open+0x584/0x760 fs/open.c:1101 __do_sys_open fs/open.c:1119 [inline] __se_sys_open fs/open.c:1114 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1114 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x40fe01 Code: c0 0f 88 2e 01 00 00 48 83 7c 24 58 0f 77 42 4c 89 e7 e8 32 39 00 00 83 f8 02 0f 8e 47 ff ff ff 41 b9 a8 e5 41 00 41 b8 70 e6 <41> 00 b9 8e 01 00 00 ba 73 e4 41 00 be 03 00 00 00 4c 89 e7 31 c0 RSP: 002b:00007f9ab85e8a80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000020000310 RCX: 000000000040fe01 RDX: 00007f9ab85e8afa RSI: 0000000000000002 RDI: 00007f9ab85e8af0 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000017 R13: 0000000000000000 R14: 00000000004d3900 R15: 0000000000000002 INFO: task syz-executor3:31109 blocked for more than 140 seconds. Not tainted 4.18.0-rc3+ #134 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D24568 31109 4562 0x00000004 Call Trace: context_switch kernel/sched/core.c:2862 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3504 schedule+0xfb/0x450 kernel/sched/core.c:3548 __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:695 __get_super include/linux/spinlock.h:310 [inline] get_super+0x2d/0x50 fs/super.c:724 fsync_bdev+0x17/0xc0 fs/block_dev.c:468 invalidate_partition+0x35/0x60 block/genhd.c:1554 drop_partitions.isra.13+0xe8/0x200 block/partition-generic.c:440 rescan_partitions+0x75/0x910 block/partition-generic.c:513 __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:1201 loop_set_status64+0xaa/0x100 drivers/block/loop.c:1319 lo_ioctl+0x8e2/0x1d10 drivers/block/loop.c:1435 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x9cd/0x2030 block/ioctl.c:601 block_ioctl+0xee/0x130 fs/block_dev.c:1880 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:684 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455ba9 Code: Bad RIP value. RSP: 002b:00007f09c6c92c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f09c6c936d4 RCX: 0000000000455ba9 RDX: 0000000020000040 RSI: 0000000000004c04 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004be1af R14: 00000000004cc820 R15: 0000000000000000 INFO: task syz-executor3:31138 blocked for more than 140 seconds. Not tainted 4.18.0-rc3+ #134 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D24488 31138 4562 0x00000004 Call Trace: context_switch kernel/sched/core.c:2862 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3504 schedule+0xfb/0x450 kernel/sched/core.c:3548 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3606 __mutex_lock_common kernel/locking/mutex.c:834 [inline] __mutex_lock+0xede/0x1820 kernel/locking/mutex.c:894 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:909 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1463 blkdev_get+0xc1/0xb50 fs/block_dev.c:1614 blkdev_open+0x1fb/0x280 fs/block_dev.c:1772 do_dentry_open+0x818/0xe40 fs/open.c:794 vfs_open+0x139/0x230 fs/open.c:908 do_last fs/namei.c:3399 [inline] path_openat+0x174a/0x4e10 fs/namei.c:3540 do_filp_open+0x255/0x380 fs/namei.c:3574 do_sys_open+0x584/0x760 fs/open.c:1101 __do_sys_open fs/open.c:1119 [inline] __se_sys_open fs/open.c:1114 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1114 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x40fe01 Code: c0 0f 88 2e 01 00 00 48 83 7c 24 58 0f 77 42 4c 89 e7 e8 32 39 00 00 83 f8 02 0f 8e 47 ff ff ff 41 b9 a8 e5 41 00 41 b8 70 e6 <41> 00 b9 8e 01 00 00 ba 73 e4 41 00 be 03 00 00 00 4c 89 e7 31 c0 RSP: 002b:00007f09c6c717a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: cccccccccccccccd RCX: 000000000040fe01 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f09c6c71850 RBP: 000000000072bf48 R08: 000000000000000f R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000293 R12: 00000000ffffffff R13: 00000000004c2555 R14: 00000000004d3b70 R15: 0000000000000001 Showing all locks held in the system: 1 lock held by khungtaskd/902: #0: 00000000d77be805 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 1 lock held by rsyslogd/4424: 2 locks held by getty/4514: #0: 00000000ae69994f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000a058d35a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4515: #0: 000000001892c6b3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000000bbe4eb2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4516: #0: 00000000a9eb42a7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000e690fc68 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4517: #0: 00000000144f7fff (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000028b0b1b5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4518: #0: 000000000d5d5d1f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000334efdce (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4519: #0: 00000000cee9095b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000e619ce66 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4520: #0: 00000000ef44624f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000903c2696 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 1 lock held by syz-executor0/31102: 1 lock held by syz-executor0/31137: #0: 00000000dcaaca1e (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1463 3 locks held by syz-executor3/31109: #0: 00000000ee91ad9e (&lo->lo_ctl_mutex/1){+.+.}, at: lo_ioctl+0x91/0x1d10 drivers/block/loop.c:1405 #1: 00000000dcaaca1e (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1e/0x40 block/ioctl.c:192 #2: 00000000633de8a6 (&type->s_umount_key#74){.+.+}, at: __get_super.part.12+0x20f/0x2e0 fs/super.c:695 1 lock held by syz-executor3/31138: #0: 00000000dcaaca1e (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1463 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 902 Comm: khungtaskd Not tainted 4.18.0-rc3+ #134 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.4+0x19/0xce lib/nmi_backtrace.c:103 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:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x9c4/0xf80 kernel/hung_task.c:252 kthread+0x345/0x410 kernel/kthread.c:240 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 31102 Comm: syz-executor0 Not tainted 4.18.0-rc3+ #134 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_pc+0x1e/0x50 kernel/kcov.c:97 Code: 4a 89 4c d8 20 4c 89 08 5d c3 66 90 55 65 48 8b 04 25 40 ee 01 00 65 8b 15 ef e1 85 7e 48 89 e5 81 e2 00 01 1f 00 48 8b 75 08 <75> 2b 8b 90 90 12 00 00 83 fa 02 75 20 48 8b 88 98 12 00 00 8b 80 RSP: 0000:ffff88019cf774b8 EFLAGS: 00000246 RAX: ffff880195a64600 RBX: ffff880178e51348 RCX: ffffffff81d44889 RDX: 0000000000000000 RSI: ffffffff81d449b2 RDI: 0000000000000007 RBP: ffff88019cf774b8 R08: ffff880195a64600 R09: ffffed003b5c46d6 R10: 0000000000000003 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000020 R14: 0000000000000000 R15: 0000000000000020 FS: 00007f9ab862b700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001aea65000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: init_page_buffers+0x3e2/0x530 fs/buffer.c:904 grow_dev_page fs/buffer.c:947 [inline] grow_buffers fs/buffer.c:1009 [inline] __getblk_slow fs/buffer.c:1036 [inline] __getblk_gfp+0x906/0xb10 fs/buffer.c:1313 __bread_gfp+0x2d/0x310 fs/buffer.c:1347 sb_bread include/linux/buffer_head.h:307 [inline] isofs_fill_super+0x8bf/0x3720 fs/isofs/inode.c:671 mount_bdev+0x30c/0x3e0 fs/super.c:1174 isofs_mount+0x34/0x40 fs/isofs/inode.c:1563 mount_fs+0xae/0x328 fs/super.c:1277 vfs_kern_mount.part.34+0xdc/0x4e0 fs/namespace.c:1037 vfs_kern_mount fs/namespace.c:1027 [inline] do_new_mount fs/namespace.c:2518 [inline] do_mount+0x581/0x30e0 fs/namespace.c:2848 ksys_mount+0x12d/0x140 fs/namespace.c:3064 __do_sys_mount fs/namespace.c:3078 [inline] __se_sys_mount fs/namespace.c:3075 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4585da Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 dd 8f 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 ba 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f9ab862aa88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9ab862ab30 RCX: 00000000004585da RDX: 00007f9ab862aad0 RSI: 0000000020000080 RDI: 00007f9ab862aaf0 RBP: 0000000020000080 R08: 00007f9ab862ab30 R09: 00007f9ab862aad0 R10: 0000000000000001 R11: 0000000000000206 R12: 0000000000000014 R13: 0000000000000001 R14: 00000000004d3900 R15: 0000000000000000