loop2: detected capacity change from 0 to 1024 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 13199 at fs/hfsplus/inode.c:534 hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:534 Modules linked in: CPU: 0 PID: 13199 Comm: syz-executor.2 Not tainted 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/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 : ffff800022997120 x29: ffff800022997420 x28: 1ffff00004532e9b x27: 1ffff00004532e9d x26: dfff800000000000 x25: ffff700004532e28 x24: 0000000000000002 x23: 000000000000004e x22: ffff8000229974d8 x21: ffff8000229974ec x20: ffff800022997160 x19: ffff00012ba881b0 x18: 1fffe000368519b6 x17: ffff800015c7d000 x16: ffff8000122645b0 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000002 x12: 0000000000000002 x11: 0000000000040000 x10: 000000000001c097 x9 : ffff80002a534000 x8 : 000000000001c098 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff800022997082 x4 : ffff00013c0da032 x3 : ffff800009078ec4 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:1380 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:1510 do_new_mount+0x25c/0x8c8 fs/namespace.c:3042 path_mount+0x590/0xe04 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3571 __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/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 4522 hardirqs last enabled at (4521): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (4521): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (4522): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4224): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (4224): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:600 softirqs last disabled at (4199): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- hfsplus: catalog searching failed ------------[ cut here ]------------ WARNING: CPU: 1 PID: 13199 at fs/hfsplus/inode.c:616 hfsplus_cat_write_inode+0x8cc/0xd34 fs/hfsplus/inode.c:616 Modules linked in: CPU: 1 PID: 13199 Comm: syz-executor.2 Tainted: G W 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_cat_write_inode+0x8cc/0xd34 fs/hfsplus/inode.c:616 lr : hfsplus_cat_write_inode+0x8cc/0xd34 fs/hfsplus/inode.c:616 sp : ffff800022996cc0 x29: ffff800022997030 x28: dfff800000000000 x27: ffff700004532d9c x26: 1fffe00025751028 x25: ffff0000db394000 x24: 0000000000000000 x23: 000000000000004e x22: ffff00012ba881b0 x21: 0000000000000002 x20: ffff00012ba88140 x19: ffff800022996d00 x18: ffff800022996ac0 x17: ffff800015c7d000 x16: ffff8000122645b0 x15: 0000000000000000 x14: 0000000000000001 x13: 0000060000000000 x12: 0100640065006c00 x11: 0000000000040000 x10: 000000000003ffff x9 : ffff80002a534000 x8 : 0000000000040000 x7 : 690074006e007500 x6 : 0800010000002000 x5 : ffff00012f8e9228 x4 : ffff8000229967d0 x3 : ffff8000229967f0 x2 : ffff8000229967e0 x1 : 000000000000004e x0 : 00000000000000f8 Call trace: hfsplus_cat_write_inode+0x8cc/0xd34 fs/hfsplus/inode.c:616 hfsplus_write_inode+0x15c/0x4dc fs/hfsplus/super.c:160 write_inode fs/fs-writeback.c:1453 [inline] __writeback_single_inode+0x5a8/0x1478 fs/fs-writeback.c:1665 writeback_single_inode+0x1c0/0x64c fs/fs-writeback.c:1721 write_inode_now+0x198/0x230 fs/fs-writeback.c:2757 iput_final fs/inode.c:1735 [inline] iput+0x5ac/0x818 fs/inode.c:1774 dentry_unlink_inode+0x370/0x4b0 fs/dcache.c:401 __dentry_kill+0x324/0x5e4 fs/dcache.c:607 dentry_kill+0xc8/0x250 dput+0x218/0x454 fs/dcache.c:913 hfsplus_fill_super+0xabc/0x166c fs/hfsplus/super.c:596 mount_bdev+0x26c/0x368 fs/super.c:1380 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:1510 do_new_mount+0x25c/0x8c8 fs/namespace.c:3042 path_mount+0x590/0xe04 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3571 __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/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 5158 hardirqs last enabled at (5157): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (5157): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (5158): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4810): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (4810): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:600 softirqs last disabled at (4525): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---