UDF-fs: error (device loop0): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop0): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 512 failed print_req_error: I/O error, dev loop0, sector 64 INFO: task syz-executor835:7750 blocked for more than 140 seconds. Not tainted 4.19.85-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor835 D28112 7750 7746 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3515 schedule+0x92/0x1c0 kernel/sched/core.c:3559 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309 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+0x49/0xb0 kernel/locking/rwsem.c:26 __get_super.part.0+0x203/0x2e0 fs/super.c:698 __get_super include/linux/spinlock.h:329 [inline] get_super+0x2e/0x50 fs/super.c:727 fsync_bdev+0x19/0xd0 fs/block_dev.c:483 invalidate_partition+0x36/0x60 block/genhd.c:1580 drop_partitions block/partition-generic.c:454 [inline] rescan_partitions+0xef/0xa20 block/partition-generic.c:527 __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:634 loop_set_status+0xe54/0x1370 drivers/block/loop.c:1297 loop_set_status64+0xc2/0x120 drivers/block/loop.c:1417 lo_ioctl+0x432/0x20e0 drivers/block/loop.c:1560 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0xc38/0x1ab6 block/ioctl.c:601 block_ioctl+0xee/0x130 fs/block_dev.c:1891 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x446957 Code: 64 20 64 65 62 75 67 20 6f 70 74 69 6f 6e 20 27 25 73 27 2c 20 76 61 6c 75 65 20 27 25 73 27 20 2d 20 69 67 6e 6f 72 65 64 0a <00> 61 6c 74 65 72 6e 61 74 65 20 64 65 62 75 67 20 66 69 6c 65 20 RSP: 002b:00007fb8d64f1b68 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000446957 RDX: 00007fb8d64f1c00 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00007fb8d64f26d0 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 00000000006dbc3c R13: 00007ffdbc85e62f R14: 0000000000000004 R15: 20c49ba5e353f7cf INFO: task blkid:7752 blocked for more than 140 seconds. Not tainted 4.19.85-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28200 7752 7729 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3515 schedule+0x92/0x1c0 kernel/sched/core.c:3559 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3617 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 blkdev_put+0x34/0x560 fs/block_dev.c:1824 blkdev_close+0x8b/0xb0 fs/block_dev.c:1873 __fput+0x2dd/0x8b0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x53d/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f0a3c0212b0 Code: Bad RIP value. RSP: 002b:00007ffceb9621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f0a3c0212b0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001fb0030 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/1039: #0: 000000002f9f162f (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4438 1 lock held by rsyslogd/7598: #0: 00000000f3622aea (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/7720: #0: 000000004f7f6a36 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000c13026a5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7721: #0: 0000000065aa0841 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000d62d4ff1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7722: #0: 00000000aaf56628 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000006ab44ba5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7723: #0: 0000000051df3cfd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000771e63d5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7724: #0: 000000009a043b30 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000073e7baad (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7725: #0: 00000000de60f5dd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000000b33e3ef (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7726: #0: 00000000a3ebd98b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000002846d69a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 1 lock held by syz-executor835/7749: 2 locks held by syz-executor835/7750: #0: 00000000436c088d (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1f/0x40 block/ioctl.c:192 #1: 00000000f23658fb (&type->s_umount_key#52){.+.+}, at: __get_super.part.0+0x203/0x2e0 fs/super.c:698 1 lock held by blkid/7752: #0: 00000000436c088d (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x34/0x560 fs/block_dev.c:1824 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1039 Comm: khungtaskd Not tainted 4.19.85-syzkaller #0 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+0x197/0x210 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 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+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7749 Comm: syz-executor835 Not tainted 4.19.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x20/0x50 kernel/kcov.c:101 Code: 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 48 8b 75 08 65 48 8b 04 25 40 ee 01 00 65 8b 15 f8 ce 96 7e 81 e2 00 01 1f 00 75 2b <8b> 90 d0 12 00 00 83 fa 02 75 20 48 8b 88 d8 12 00 00 8b 80 d4 12 RSP: 0018:ffff888090c9f618 EFLAGS: 00000246 RAX: ffff8880804e83c0 RBX: 01fffc0000001065 RCX: ffffffff818aaca6 RDX: 0000000000000000 RSI: ffffffff818aacb5 RDI: 0000000000000007 RBP: ffff888090c9f618 R08: ffff8880804e83c0 R09: 0000000000000001 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: ffffea000221dec0 R13: ffffea000221dec8 R14: 0000000000000000 R15: ffffea00024489c8 FS: 00007fb8d6513700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000827a8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __read_once_size include/linux/compiler.h:193 [inline] compound_head include/linux/page-flags.h:142 [inline] PageReferenced include/linux/page-flags.h:275 [inline] mark_page_accessed+0x705/0x1140 mm/swap.c:391 pagecache_get_page+0x572/0xa40 mm/filemap.c:1590 find_or_create_page include/linux/pagemap.h:322 [inline] grow_dev_page fs/buffer.c:948 [inline] grow_buffers fs/buffer.c:1017 [inline] __getblk_slow fs/buffer.c:1044 [inline] __getblk_gfp+0x284/0x970 fs/buffer.c:1321 __bread_gfp+0x2f/0x300 fs/buffer.c:1355 sb_bread include/linux/buffer_head.h:307 [inline] udf_tread+0xf1/0x140 fs/udf/misc.c:44 udf_read_tagged+0x50/0x530 fs/udf/misc.c:210 udf_check_anchor_block+0x1ef/0x680 fs/udf/super.c:1810 udf_scan_anchors+0x1cf/0x680 fs/udf/super.c:1850 udf_find_anchor fs/udf/super.c:1907 [inline] udf_load_vrs+0x67f/0xc80 fs/udf/super.c:1972 udf_fill_super+0x7cb/0x16f5 fs/udf/super.c:2167 mount_bdev+0x304/0x3c0 fs/super.c:1158 udf_mount+0x35/0x40 fs/udf/super.c:131 mount_fs+0xa8/0x31f fs/super.c:1261 vfs_kern_mount.part.0+0x6f/0x410 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x53e/0x2bc0 fs/namespace.c:2799 ksys_mount+0xdb/0x150 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3026 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x446a49 Code: dd 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 ab 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb8d6512db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446a49 RDX: 0000000020000240 RSI: 0000000020000100 RDI: 0000000020000040 RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c R13: 00007ffdbc85e62f R14: 00007fb8d65139c0 R15: 20c49ba5e353f7cf