attempt to access beyond end of device loop1: rw=0, want=6491538, limit=128 Buffer I/O error on dev loop1, logical block 3245768, async page read ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4499 at fs/inode.c:364 inc_nlink+0x130/0x168 fs/inode.c:364 Modules linked in: CPU: 1 PID: 4499 Comm: syz.1.65 Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inc_nlink+0x130/0x168 fs/inode.c:364 lr : inc_nlink+0x130/0x168 fs/inode.c:364 sp : ffff800020e47b50 x29: ffff800020e47b50 x28: dfff800000000000 x27: 0000000000000000 x26: 1fffe0001950247a x25: ffff800011e72948 x24: 0000000000000000 x23: 1fffe0001cd14810 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000e68a4038 x19: ffff0000e68a4080 x18: 0000000000000000 x17: 0000000000000002 x16: ffff800011ab7a98 x15: 0000000000000003 x14: 00000000ffff8000 x13: 00000000e24e97f1 x12: 0000000000040000 x11: 000000000000bf17 x10: ffff800020ea9000 x9 : 000000000000bf18 x8 : ffff8000089e92a4 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000000 x3 : 0000000000000000 x2 : ffff0000e6a368d0 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inc_nlink+0x130/0x168 fs/inode.c:364 inode_inc_link_count include/linux/fs.h:2499 [inline] sysv_mkdir+0x2c/0x138 fs/sysv/namei.c:119 vfs_mkdir+0x334/0x4e4 fs/namei.c:4065 do_mkdirat+0x20c/0x610 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 1588 hardirqs last enabled at (1587): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (1588): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (1516): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (1514): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace ec2730f462b61636 ]---