loop0: detected capacity change from 0 to 1024 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6162 at fs/hfsplus/inode.c:534 hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:534 Modules linked in: CPU: 0 PID: 6162 Comm: syz-executor.0 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 : ffff80001ec37120 x29: ffff80001ec37420 x28: 1ffff00003d86e9b x27: 1ffff00003d86e9d x26: dfff800000000000 x25: ffff700003d86e28 x24: 0000000000000002 x23: 000000000000004e x22: ffff80001ec374d8 x21: ffff80001ec374ec x20: ffff80001ec37160 x19: ffff0001318c1cb0 x18: ffff80001ec36c40 x17: ffff800015c7d000 x16: ffff8000122645b0 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000002 x12: 0000000000000002 x11: 0000000000040000 x10: 0000000000024feb x9 : ffff800021589000 x8 : 0000000000024fec x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff80001ec37082 x4 : ffff000121741032 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: 4068 hardirqs last enabled at (4067): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (4067): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (4068): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3154): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (3152): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- hfsplus: catalog searching failed ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6162 at fs/hfsplus/inode.c:616 hfsplus_cat_write_inode+0x8cc/0xd34 fs/hfsplus/inode.c:616 Modules linked in: CPU: 1 PID: 6162 Comm: syz-executor.0 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 : ffff80001ec36cc0 x29: ffff80001ec37030 x28: dfff800000000000 x27: ffff700003d86d9c x26: 1fffe00026318388 x25: ffff0001318ba000 x24: 0000000000000000 x23: 000000000000004e x22: ffff0001318c1cb0 x21: 0000000000000002 x20: ffff0001318c1c40 x19: ffff80001ec36d00 x18: ffff80001ec36ac0 x17: ffff800015c7d000 x16: ffff8000122645b0 x15: 0000000000000000 x14: 0000000000000001 x13: 0000060000000000 x12: 0100640065006c00 x11: 0000000000040000 x10: 000000000003ffff x9 : ffff800021589000 x8 : 0000000000040000 x7 : 690074006e007500 x6 : 0800010000002000 x5 : ffff000131abc228 x4 : ffff80001ec367d0 x3 : ffff80001ec367f0 x2 : ffff80001ec367e0 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: 4706 hardirqs last enabled at (4705): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (4705): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (4706): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4444): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (4444): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:600 softirqs last disabled at (4419): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---