attempt to access beyond end of device loop8: rw=0, want=6491538, limit=128 Buffer I/O error on dev loop8, logical block 3245768, async page read ------------[ cut here ]------------ WARNING: CPU: 1 PID: 9248 at fs/inode.c:364 inc_nlink+0x130/0x168 fs/inode.c:364 Modules linked in: CPU: 1 PID: 9248 Comm: syz.8.1160 Not tainted 5.15.171-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 : ffff800020f87b50 x29: ffff800020f87b50 x28: dfff800000000000 x27: 0000000000000000 x26: 1fffe0001d933b4a x25: ffff800011e82948 x24: 00000000000001c0 x23: 1fffe0001bd83810 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000dec1c038 x19: ffff0000dec1c080 x18: 0000000000000000 x17: 0000000000000002 x16: ffff800011abf984 x15: 0000000000000003 x14: 00000000ffff8000 x13: 00000000f481ae05 x12: 0000000000040000 x11: 000000000000bc9b x10: ffff8000210f9000 x9 : 000000000000bc9c x8 : ffff8000089ea6e4 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000000 x3 : 00000000000001c0 x2 : ffff0000dec6bbe8 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: 8894 hardirqs last enabled at (8893): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (8894): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (8880): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (8880): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (8825): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (8825): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (8825): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (8825): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 29d126762a4b5b58 ]---