------------[ cut here ]------------ WARNING: CPU: 0 PID: 6626 at fs/hfsplus/inode.c:534 hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:534 Modules linked in: CPU: 0 PID: 6626 Comm: syz-executor.4 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 : ffff80001ecd7120 x29: ffff80001ecd7420 x28: 1ffff00003d9ae9b x27: 1ffff00003d9ae9d x26: dfff800000000000 x25: ffff700003d9ae28 x24: 0000000000000002 x23: 000000000000004e x22: ffff80001ecd74d8 x21: ffff80001ecd74ec x20: ffff80001ecd7160 x19: ffff0000c5f01cb0 x18: 1fffe000368519b6 x17: ffff800015c7d000 x16: ffff8000122645b0 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000002 x12: 0000000000000002 x11: 0000000000040000 x10: 0000000000015b05 x9 : ffff800021a6b000 x8 : 0000000000015b06 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff80001ecd7082 x4 : ffff000129030032 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: 6214 hardirqs last enabled at (6213): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (6213): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (6214): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (5552): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (5550): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- hfsplus: catalog searching failed ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6626 at fs/hfsplus/inode.c:616 hfsplus_cat_write_inode+0x8cc/0xd34 fs/hfsplus/inode.c:616 Modules linked in: CPU: 1 PID: 6626 Comm: syz-executor.4 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 : ffff80001ecd6cc0 x29: ffff80001ecd7030 x28: dfff800000000000 x27: ffff700003d9ad9c x26: 1fffe00018be0388 x25: ffff0000d5a3a000 x24: 0000000000000000 x23: 000000000000004e x22: ffff0000c5f01cb0 x21: 0000000000000002 x20: ffff0000c5f01c40 x19: ffff80001ecd6d00 x18: ffff80001ecd6ac0 x17: ffff800015c7d000 x16: ffff8000122645b0 x15: 0000000000000000 x14: 0000000000000001 x13: 0000060000000000 x12: 0100640065006c00 x11: 0000000000040000 x10: 000000000003ffff x9 : ffff800021a6b000 x8 : 0000000000040000 x7 : 690074006e007500 x6 : 0800010000002000 x5 : ffff0000cc350228 x4 : ffff80001ecd67d0 x3 : ffff80001ecd67f0 x2 : ffff80001ecd67e0 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: 6906 hardirqs last enabled at (6905): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (6905): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (6906): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (6786): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (6786): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:600 softirqs last disabled at (6705): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---