loop1: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4871 at fs/hfsplus/bnode.c:584 hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 Modules linked in: CPU: 0 PID: 4871 Comm: syz.1.137 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 lr : hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 sp : ffff8000204b6c90 x29: ffff8000204b6ca0 x28: ffff0000eb0ba0f8 x27: ffff0000eb0ba000 x26: 00000000000000f8 x25: dfff800000000000 x24: 0000000000000000 x23: 0000000000000000 x22: ffff0000e549e0e0 x21: ffff0000e549e000 x20: 0000000000000000 x19: ffff0000ce67e200 x18: ffff8000204b62c0 x17: 1fffe0003682eb8e x16: ffff800011b4e3fc x15: 0000000000029fc3 x14: 1ffff0000296e06c x13: dfff800000000000 x12: 0000000000080000 x11: 0000000000050d10 x10: ffff8000227a9000 x9 : ad96eb9ccbdde500 x8 : ad96eb9ccbdde500 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000aa0f0fc x2 : ffff0001b4175d10 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 hfsplus_bmap_alloc+0x5a4/0x698 fs/hfsplus/btree.c:414 hfs_bnode_split+0xcc/0xd88 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2d4/0xaa0 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x3ac/0x1330 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0xf64/0x167c fs/hfsplus/super.c:560 mount_bdev+0x274/0x370 fs/super.c:1400 hfsplus_mount+0x44/0x58 fs/hfsplus/super.c:641 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611 vfs_get_tree+0x90/0x274 fs/super.c:1530 do_new_mount+0x278/0x8fc fs/namespace.c:3012 path_mount+0x594/0x101c fs/namespace.c:3342 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 3868 hardirqs last enabled at (3867): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (3867): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4781 hardirqs last disabled at (3868): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (3862): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (3862): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (3843): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (3843): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (3843): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (3843): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace e895cc613192b6ab ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:631! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4871 Comm: syz.1.137 Tainted: G W 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x588/0x594 fs/hfsplus/bnode.c:631 lr : hfsplus_bnode_put+0x588/0x594 fs/hfsplus/bnode.c:631 sp : ffff8000204b6da0 x29: ffff8000204b6da0 x28: dfff800000000000 x27: ffff8000204b71c0 x26: ffff0000ce67e200 x25: ffff0000e549e000 x24: 1fffe00019ccfc40 x23: dfff800000000000 x22: ffff8000204b71d8 x21: ffff0000ce67e280 x20: 0000000000000000 x19: ffff0000ce67e200 x18: ffff8000204b68a0 x17: 0000000000000002 x16: ffff80000824ec08 x15: 0000000000029ffb x14: 1ffff0000296e06c x13: dfff800000000000 x12: 0000000000080000 x11: 0000000000068f1e x10: ffff8000227a9000 x9 : 0000000000068f1f x8 : ffff800008fc7318 x7 : ffff8000087b2f58 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800008fc6dec x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x588/0x594 fs/hfsplus/bnode.c:631 hfs_bnode_split+0x228/0xd88 fs/hfsplus/brec.c:264 hfsplus_brec_insert+0x2d4/0xaa0 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x3ac/0x1330 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0xf64/0x167c fs/hfsplus/super.c:560 mount_bdev+0x274/0x370 fs/super.c:1400 hfsplus_mount+0x44/0x58 fs/hfsplus/super.c:641 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611 vfs_get_tree+0x90/0x274 fs/super.c:1530 do_new_mount+0x278/0x8fc fs/namespace.c:3012 path_mount+0x594/0x101c fs/namespace.c:3342 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1403e0 97e4389e 17ffff77 97d3f465 (d4210000) ---[ end trace e895cc613192b6ac ]---