device loop0 blocksize: 2048 __find_get_block_slow() failed. block=1, b_blocknr=0 b_state=0x00000029, b_size=4096 device loop0 blocksize: 2048 __find_get_block_slow() failed. block=1, b_blocknr=0 INFO: task syz-executor5:1299 blocked for more than 140 seconds. Not tainted 4.14.67+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D28424 1299 2059 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] rwsem_down_read_failed+0x21a/0x3d0 kernel/locking/rwsem-xadd.c:286 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:66 [inline] down_read+0x45/0xa0 kernel/locking/rwsem.c:26 __get_super.part.2+0x1ce/0x280 fs/super.c:678 __get_super include/linux/spinlock.h:317 [inline] get_super+0x29/0x50 fs/super.c:707 fsync_bdev+0x12/0xc0 fs/block_dev.c:481 invalidate_partition+0x2d/0x50 block/genhd.c:1506 drop_partitions block/partition-generic.c:442 [inline] rescan_partitions+0xc8/0x7c0 block/partition-generic.c:515 __blkdev_reread_part+0x143/0x1c0 block/ioctl.c:173 blkdev_reread_part+0x20/0x30 block/ioctl.c:193 loop_reread_partitions+0x72/0x80 drivers/block/loop.c:614 loop_set_status+0xa84/0xf40 drivers/block/loop.c:1169 loop_set_status64+0x8d/0xe0 drivers/block/loop.c:1287 lo_ioctl+0x3cd/0x17d0 drivers/block/loop.c:1400 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x57d/0x18c0 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1873 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1a0/0x1030 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7e/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457099 RSP: 002b:00007fde13a56c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fde13a576d4 RCX: 0000000000457099 RDX: 00000000200001c0 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cf988 R14: 00000000004c5be0 R15: 0000000000000000 INFO: task syz-executor5:1314 blocked for more than 140 seconds. Not tainted 4.14.67+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D29944 1314 2059 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 lo_ioctl+0x85/0x17d0 drivers/block/loop.c:1373 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x57d/0x18c0 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1873 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1a0/0x1030 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7e/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457099 RSP: 002b:00007fde13a35c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fde13a366d4 RCX: 0000000000457099 RDX: 0000000000000005 RSI: 0000000000004c06 RDI: 0000000000000004 RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cf868 R14: 00000000004c5ad7 R15: 0000000000000001 INFO: task syz-executor5:1364 blocked for more than 140 seconds. Not tainted 4.14.67+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D29128 1364 2059 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xe50 fs/block_dev.c:1452 blkdev_get+0x97/0x8c0 fs/block_dev.c:1604 blkdev_open+0x1bd/0x240 fs/block_dev.c:1762 do_dentry_open+0x426/0xda0 fs/open.c:764 vfs_open+0x11c/0x210 fs/open.c:878 do_last fs/namei.c:3408 [inline] path_openat+0x4eb/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x410dd1 RSP: 002b:00007fde13a147a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 0000000000410dd1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fde13a14850 RBP: 00000000009301e0 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000ffffffff R13: 00000000004d70c8 R14: 00000000004ca2b3 R15: 0000000000000002 INFO: task syz-executor5:1366 blocked for more than 140 seconds. Not tainted 4.14.67+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D28424 1366 2059 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 lo_ioctl+0x85/0x17d0 drivers/block/loop.c:1373 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x57d/0x18c0 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1873 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1a0/0x1030 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7e/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457099 RSP: 002b:00007fde139f3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fde139f46d4 RCX: 0000000000457099 RDX: 0000000000000007 RSI: 0000000000004c00 RDI: 0000000000000004 RBP: 0000000000930280 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cf868 R14: 00000000004c5ad7 R15: 0000000000000003 INFO: task syz-executor5:1367 blocked for more than 140 seconds. Not tainted 4.14.67+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D29944 1367 2059 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 lo_ioctl+0x85/0x17d0 drivers/block/loop.c:1373 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x57d/0x18c0 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1873 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1a0/0x1030 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7e/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457099 RSP: 002b:00007fde139d2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fde139d36d4 RCX: 0000000000457099 RDX: 00000000200001c0 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 0000000000930320 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cf988 R14: 00000000004c5be0 R15: 0000000000000004 INFO: task syz-executor0:1298 blocked for more than 140 seconds. Not tainted 4.14.67+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D29400 1298 25285 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 blkdev_put+0x27/0x4d0 fs/block_dev.c:1806 blkdev_close+0x86/0xb0 fs/block_dev.c:1855 __fput+0x25e/0x6f0 fs/file_table.c:210 task_work_run+0x116/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x12e/0x150 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:267 [inline] do_syscall_64+0x35d/0x4b0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x410c51 RSP: 002b:00007ffcc3225ce0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000410c51 RDX: 0000000000000000 RSI: 00000000007301f0 RDI: 0000000000000004 RBP: 0000000000000000 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffcc3225c10 R11: 0000000000000293 R12: 0000000000000009 R13: 0000000000077175 R14: 00000000000000e0 R15: badc0ffeebadface INFO: task syz-executor0:1365 blocked for more than 140 seconds. Not tainted 4.14.67+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D29016 1365 25285 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xe50 fs/block_dev.c:1452 blkdev_get+0x97/0x8c0 fs/block_dev.c:1604 blkdev_open+0x1bd/0x240 fs/block_dev.c:1762 do_dentry_open+0x426/0xda0 fs/open.c:764 vfs_open+0x11c/0x210 fs/open.c:878 do_last fs/namei.c:3408 [inline] path_openat+0x4eb/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x410dd1 RSP: 002b:00007fed14f1ca80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000200000e8 RCX: 0000000000410dd1 RDX: 00007fed14f1cafa RSI: 0000000000000002 RDI: 00007fed14f1caf0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000005 R13: 0000000000000001 R14: 00000000004ca03f R15: 0000000000000001 INFO: task blkid:1306 blocked for more than 140 seconds. Not tainted 4.14.67+ #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28856 1306 13425 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xe50 fs/block_dev.c:1452 blkdev_get+0x97/0x8c0 fs/block_dev.c:1604 blkdev_open+0x1bd/0x240 fs/block_dev.c:1762 do_dentry_open+0x426/0xda0 fs/open.c:764 vfs_open+0x11c/0x210 fs/open.c:878 do_last fs/namei.c:3408 [inline] path_openat+0x4eb/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f0b9c0d5120 RSP: 002b:00007ffd1779fc88 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0b9c0d5120 RDX: 00007ffd177a1f41 RSI: 0000000000000000 RDI: 00007ffd177a1f41 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001c33030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x74/0x20f kernel/locking/lockdep.c:4541 2 locks held by getty/1964: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x20/0x80 drivers/tty/tty_ldisc.c:275 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1ff/0x15e0 drivers/tty/n_tty.c:2142 3 locks held by syz-executor5/1299: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x85/0x17d0 drivers/block/loop.c:1373 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x18/0x30 block/ioctl.c:192 #2: (&type->s_umount_key#50){.+.+}, at: [] __get_super.part.2+0x1ce/0x280 fs/super.c:678 1 lock held by syz-executor5/1314: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x85/0x17d0 drivers/block/loop.c:1373 1 lock held by syz-executor5/1364: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xe50 fs/block_dev.c:1452 1 lock held by syz-executor5/1366: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x85/0x17d0 drivers/block/loop.c:1373 1 lock held by syz-executor5/1367: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x85/0x17d0 drivers/block/loop.c:1373 1 lock held by syz-executor0/1298: #0: (&bdev->bd_mutex){+.+.}, at: [] blkdev_put+0x27/0x4d0 fs/block_dev.c:1806 1 lock held by syz-executor0/1365: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xe50 fs/block_dev.c:1452 1 lock held by blkid/1306: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xe50 fs/block_dev.c:1452 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.67+ #1 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x11b lib/dump_stack.c:53 nmi_cpu_backtrace.cold.0+0x18/0x8e lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x121/0x146 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x574/0xa70 kernel/hung_task.c:252 kthread+0x348/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1301 Comm: syz-executor0 Not tainted 4.14.67+ #1 task: ffff88019e79af00 task.stack: ffff8801a29f0000 RIP: 0010:inb arch/x86/include/asm/io.h:309 [inline] RIP: 0010:io_serial_in+0x60/0x80 drivers/tty/serial/8250/8250_port.c:450 RSP: 0018:ffff8801a29f7638 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffc900014af000 RDI: ffffffffadb1d998 RBP: ffffffffadb1d960 R08: 0000000000005033 R09: ffffffffaccea838 R10: ffff88019e79b7a8 R11: 0000000000000001 R12: 0000000000000020 R13: fffffbfff5b63b72 R14: fffffbfff5b63b35 R15: ffffffffadb1db92 FS: 00007fed14f3e700(0000) GS:ffff8801dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002802028 CR3: 000000019e9ca006 CR4: 00000000001606a0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: serial_in drivers/tty/serial/8250/8250.h:115 [inline] wait_for_xmitr+0x90/0x1e0 drivers/tty/serial/8250/8250_port.c:2032 serial8250_console_putchar+0x19/0x50 drivers/tty/serial/8250/8250_port.c:3184 uart_console_write+0x4b/0xd0 drivers/tty/serial/serial_core.c:1876 serial8250_console_write+0x51b/0x800 drivers/tty/serial/8250/8250_port.c:3250 call_console_drivers kernel/printk/printk.c:1574 [inline] console_unlock+0x5b9/0xb50 kernel/printk/printk.c:2233 vprintk_emit+0x241/0x4e0 kernel/printk/printk.c:1757 vprintk_func+0x58/0x136 kernel/printk/printk_safe.c:385 printk+0xa7/0xcf kernel/printk/printk.c:1829 __find_get_block_slow fs/buffer.c:239 [inline] __find_get_block.cold.22+0x36/0xf5 fs/buffer.c:1356 __getblk_slow fs/buffer.c:1099 [inline] __getblk_gfp+0x186/0x720 fs/buffer.c:1382 __bread_gfp+0x28/0x1e0 fs/buffer.c:1416 sb_bread include/linux/buffer_head.h:307 [inline] read_raw_super_block fs/f2fs/super.c:2477 [inline] f2fs_fill_super+0x287/0x5cd0 fs/f2fs/super.c:2695 mount_bdev+0x2ab/0x370 fs/super.c:1149 mount_fs+0x28f/0x31a fs/super.c:1255 vfs_kern_mount.part.9+0xce/0x4a0 fs/namespace.c:1056 vfs_kern_mount fs/namespace.c:1038 [inline] do_new_mount fs/namespace.c:2561 [inline] do_mount+0x404/0x26e0 fs/namespace.c:2891 SYSC_mount fs/namespace.c:3107 [inline] SyS_mount+0xe5/0x100 fs/namespace.c:3084 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459aca RSP: 002b:00007fed14f3da88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fed14f3db30 RCX: 0000000000459aca RDX: 00007fed14f3dad0 RSI: 0000000020000100 RDI: 00007fed14f3daf0 RBP: 0000000020000100 R08: 00007fed14f3db30 R09: 00007fed14f3dad0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003 R13: 0000000000000000 R14: 00000000004ca03f R15: 0000000000000000 Code: 30 0f b6 8d d1 00 00 00 48 8d 7d 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 d3 e3 80 3c 02 00 75 13 03 5d 38 89 da ec <0f> b6 c0 5b 5d c3 e8 d5 5c 7e ff eb c9 e8 fe 5c 7e ff eb e6 66