syz.5.351: attempt to access beyond end of device loop5: rw=0, sector=6491536, nr_sectors = 2 limit=128 Buffer I/O error on dev loop5, logical block 3245768, async page read ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8758 at fs/inode.c:464 inc_nlink+0x120/0x170 fs/inode.c:464 Modules linked in: CPU: 1 UID: 0 PID: 8758 Comm: syz.5.351 Not tainted 6.14.0-syzkaller-gd6b13dbd03b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inc_nlink+0x120/0x170 fs/inode.c:464 lr : inc_nlink+0x120/0x170 fs/inode.c:464 sp : ffff8000a4da7b80 x29: ffff8000a4da7b80 x28: 1fffe0001eb5000c x27: dfff800000000000 x26: 0000000000000000 x25: 00000000000001c0 x24: 000000000000007e x23: 1fffe0001eb50010 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000f5a80038 x19: ffff0000f5a80080 x18: ffff8000a4da73e0 x17: 0000000000047a72 x16: ffff80008b86bc40 x15: 0000000000000005 x14: 1ffff000149b4f48 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000002f68 x9 : ffff8000a25a9000 x8 : 0000000000002f69 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : ffff8000a4da7a20 x3 : 00000000000001c0 x2 : ffff0000db4531a0 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inc_nlink+0x120/0x170 fs/inode.c:464 (P) inode_inc_link_count include/linux/fs.h:2577 [inline] sysv_mkdir+0x2c/0x138 fs/sysv/namei.c:119 vfs_mkdir+0x27c/0x410 fs/namei.c:4313 do_mkdirat+0x250/0x584 fs/namei.c:4336 __do_sys_mkdirat fs/namei.c:4351 [inline] __se_sys_mkdirat fs/namei.c:4349 [inline] __arm64_sys_mkdirat+0x8c/0xa4 fs/namei.c:4349 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 4492 hardirqs last enabled at (4491): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (4492): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (4470): [] softirq_handle_end kernel/softirq.c:407 [inline] softirqs last enabled at (4470): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:589 softirqs last disabled at (4371): [] __do_softirq+0x14/0x20 kernel/softirq.c:595 ---[ end trace 0000000000000000 ]--- syz.5.351: attempt to access beyond end of device loop5: rw=0, sector=6491536, nr_sectors = 2 limit=128 Buffer I/O error on dev loop5, logical block 3245768, async page read syz.5.351: attempt to access beyond end of device loop5: rw=0, sector=6491536, nr_sectors = 2 limit=128 Buffer I/O error on dev loop5, logical block 3245768, async page read syz.5.351: attempt to access beyond end of device loop5: rw=0, sector=6491536, nr_sectors = 2 limit=128 Buffer I/O error on dev loop5, logical block 3245768, async page read syz.5.351: attempt to access beyond end of device loop5: rw=0, sector=6491536, nr_sectors = 2 limit=128 Buffer I/O error on dev loop5, logical block 3245768, async page read