RDX: 0000000020000040 RSI: 0000000020000100 RDI: 00007f7e1a052fe0 RBP: 00007f7e1a053020 R08: 00007f7e1a053020 R09: 0000000020000040 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000040 R13: 0000000020000100 R14: 00007f7e1a052fe0 R15: 0000000020000400 ------------[ cut here ]------------ kernel BUG at fs/inode.c:1571! erofs: cannot find valid erofs superblock attempt to access beyond end of device invalid opcode: 0000 [#1] PREEMPT SMP KASAN loop4: rw=1, want=174, limit=46 CPU: 0 PID: 22839 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:iput+0x727/0x860 fs/inode.c:1571 Code: b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 18 fd ff ff 48 8b 3c 24 e8 33 d9 ee ff e9 0a fd ff ff e8 39 fc b8 ff <0f> 0b e8 32 fc b8 ff 48 89 ef e8 1a f7 ff ff 4c 89 f7 e8 b2 c6 6f erofs: root inode @ nid 36 RSP: 0018:ffff8880aebb7a80 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000040 RCX: ffffc9000723b000 RDX: 0000000000040000 RSI: ffffffff81a98937 RDI: 0000000000000007 RBP: ffff88808b952b58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000000 R12: ffff8880a4cf4cc0 R13: ffff88808b952b58 R14: 0000000000000000 R15: 00000000fffffff4 FS: 00007f7e1a053700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 Buffer I/O error on dev loop4, logical block 86, lost async page write CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 erofs: mounted on /dev/loop3 with opts: . CR2: 00007fbfdb275000 CR3: 00000000ab134000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: erofs_read_super drivers/staging/erofs/super.c:439 [inline] erofs_fill_super+0x1205/0x12cc drivers/staging/erofs/super.c:499 attempt to access beyond end of device mount_bdev+0x2fc/0x3b0 fs/super.c:1158 erofs: unmounted for /dev/loop3 erofs_mount+0x8c/0xc0 drivers/staging/erofs/super.c:512 loop4: rw=1, want=172, limit=46 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7e1b6df61a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7e1a052f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7e1b6df61a RDX: 0000000020000040 RSI: 0000000020000100 RDI: 00007f7e1a052fe0 RBP: 00007f7e1a053020 R08: 00007f7e1a053020 R09: 0000000020000040 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000040 R13: 0000000020000100 R14: 00007f7e1a052fe0 R15: 0000000020000400 Modules linked in: Buffer I/O error on dev loop4, logical block 85, lost async page write ---[ end trace 85750732496c6740 ]--- RIP: 0010:iput+0x727/0x860 fs/inode.c:1571 Code: b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 18 fd ff ff 48 8b 3c 24 e8 33 d9 ee ff e9 0a fd ff ff e8 39 fc b8 ff <0f> 0b e8 32 fc b8 ff 48 89 ef e8 1a f7 ff ff 4c 89 f7 e8 b2 c6 6f RSP: 0018:ffff8880aebb7a80 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000040 RCX: ffffc9000723b000 RDX: 0000000000040000 RSI: ffffffff81a98937 RDI: 0000000000000007 RBP: ffff88808b952b58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000000 R12: ffff8880a4cf4cc0 R13: ffff88808b952b58 R14: 0000000000000000 R15: 00000000fffffff4 FS: 00007f7e1a053700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff6b13df88 CR3: 00000000ab134000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400