loop5: detected capacity change from 0 to 1024 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 10077 at fs/hfsplus/inode.c:534 hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:534 Modules linked in: CPU: 0 PID: 10077 Comm: syz-executor.5 Not tainted 6.1.28-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/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 : ffff8000200f7120 x29: ffff8000200f7420 x28: 1ffff0000401ee9b x27: 1ffff0000401ee9d x26: dfff800000000000 x25: ffff70000401ee28 x24: 0000000000000002 x23: 000000000000004e x22: ffff8000200f74d8 x21: ffff8000200f74ec x20: ffff8000200f7160 x19: ffff00012521e6f0 x18: 1fffe000368b6776 x17: ffff80001558d000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000002 x12: 0000000000040000 x11: 00000000000195a9 x10: ffff8000299fa000 x9 : ffff800009063c08 x8 : 00000000000195aa x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000200f7082 x4 : ffff000127ae4032 x3 : ffff800009076778 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: 4150 hardirqs last enabled at (4149): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (4149): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (4150): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3836): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (3836): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (3797): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---