loop5: detected capacity change from 0 to 1024 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 13294 at fs/hfsplus/inode.c:534 hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:534 Modules linked in: CPU: 0 PID: 13294 Comm: syz-executor.5 Not tainted 6.1.29-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:534 lr : hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:534 sp : ffff80002cb47120 x29: ffff80002cb47420 x28: 1ffff00005968e9b x27: 1ffff00005968e9d x26: dfff800000000000 x25: ffff700005968e28 x24: 0000000000000002 x23: 000000000000004e x22: ffff80002cb474d8 x21: ffff80002cb474ec x20: ffff80002cb47160 x19: ffff0000d91895f0 x18: 1fffe000368b6376 x17: ffff80001559d000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000002 x12: 0000000000040000 x11: 0000000000017177 x10: ffff80001db59000 x9 : ffff800009065314 x8 : 0000000000017178 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff80002cb47082 x4 : ffff0001215be032 x3 : ffff800009077e84 x2 : 0000000000000002 x1 : 000000000000004e x0 : 00000000000000f8 Call trace: hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:534 hfsplus_iget+0x4ac/0x570 fs/hfsplus/super.c:84 hfsplus_fill_super+0x9c0/0x166c fs/hfsplus/super.c:503 mount_bdev+0x26c/0x368 fs/super.c:1423 hfsplus_mount+0x44/0x58 fs/hfsplus/super.c:641 legacy_get_tree+0xd4/0x16c fs/fs_context.c:610 vfs_get_tree+0x90/0x274 fs/super.c:1553 do_new_mount+0x25c/0x8c8 fs/namespace.c:3040 path_mount+0x590/0xe58 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 4548 hardirqs last enabled at (4547): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (4547): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (4548): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3896): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (3894): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---