loop1: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7514 at fs/hfsplus/bnode.c:671 hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 Modules linked in: CPU: 1 UID: 0 PID: 7514 Comm: syz.1.118 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 sp : ffff8000a04f7230 x29: ffff8000a04f7240 x28: 1ffff0001409ee54 x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000080 x24: 0000000000000000 x23: ffff0000e19400f8 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000c6dfe000 x19: ffff0000cc5d9b00 x18: 1fffe000337a0688 x17: ffff80008f7be000 x16: ffff80008b007230 x15: 0000000000000001 x14: 1ffff0001409edbc x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000001358a x9 : 6c7a818b95938800 x8 : 6c7a818b95938800 x7 : ffff800080491074 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff8000807de560 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 (P) hfsplus_bmap_alloc+0x43c/0x4cc fs/hfsplus/btree.c:415 hfs_bnode_split+0xc8/0xbb8 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f4/0xaa8 fs/hfsplus/brec.c:100 hfsplus_rename_cat+0x43c/0xd48 fs/hfsplus/catalog.c:491 hfsplus_unlink+0x260/0x63c fs/hfsplus/dir.c:376 vfs_unlink+0x2e0/0x520 fs/namei.c:4586 do_unlinkat+0x2b8/0x488 fs/namei.c:4650 __do_sys_unlinkat fs/namei.c:4691 [inline] __se_sys_unlinkat fs/namei.c:4684 [inline] __arm64_sys_unlinkat+0xdc/0xf8 fs/namei.c:4684 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 4082 hardirqs last enabled at (4081): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (4081): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (4082): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (3382): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (3380): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7514 at fs/hfsplus/bnode.c:671 hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 Modules linked in: CPU: 1 UID: 0 PID: 7514 Comm: syz.1.118 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 sp : ffff8000a04f7290 x29: ffff8000a04f72a0 x28: 1ffff0001409ee60 x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000080 x24: 0000000000000000 x23: ffff0000e1940222 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000c6dfe000 x19: ffff0000cc5d9b00 x18: 1fffe000337a0688 x17: ffff80008f7be000 x16: ffff80008b007340 x15: 0000000000000001 x14: 1fffe0001915e4a0 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000002bbaf x9 : 6c7a818b95938800 x8 : 6c7a818b95938800 x7 : ffff800080491074 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080483608 x2 : 0000000000000002 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 (P) hfsplus_bmap_alloc+0x43c/0x4cc fs/hfsplus/btree.c:415 hfs_btree_inc_height+0xf8/0x8e0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x5c8/0xaa8 fs/hfsplus/brec.c:148 hfsplus_rename_cat+0x43c/0xd48 fs/hfsplus/catalog.c:491 hfsplus_unlink+0x260/0x63c fs/hfsplus/dir.c:376 vfs_unlink+0x2e0/0x520 fs/namei.c:4586 do_unlinkat+0x2b8/0x488 fs/namei.c:4650 __do_sys_unlinkat fs/namei.c:4691 [inline] __se_sys_unlinkat fs/namei.c:4684 [inline] __arm64_sys_unlinkat+0xdc/0xf8 fs/namei.c:4684 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 4278 hardirqs last enabled at (4277): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (4277): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (4278): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (4266): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (4266): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (4085): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:716! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7514 Comm: syz.1.118 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 lr : hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 sp : ffff8000a04f7360 x29: ffff8000a04f7360 x28: ffff0000cc5d9a00 x27: dfff800000000000 x26: ffff70001409ee80 x25: ffff8000a04f7400 x24: 1fffe000198bb360 x23: ffff0000c6dfe000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000cc5d9b80 x19: ffff0000cc5d9b00 x18: 1fffe000337a0688 x17: ffff80008f7be000 x16: ffff800080535980 x15: 0000000000000001 x14: 1fffe000198bb370 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000043c23 x9 : ffff8000a5aca000 x8 : 0000000000043c24 x7 : ffff800080e6aab4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000812ee580 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 (P) hfs_btree_inc_height+0x48c/0x8e0 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x5c8/0xaa8 fs/hfsplus/brec.c:148 hfsplus_rename_cat+0x43c/0xd48 fs/hfsplus/catalog.c:491 hfsplus_unlink+0x260/0x63c fs/hfsplus/dir.c:376 vfs_unlink+0x2e0/0x520 fs/namei.c:4586 do_unlinkat+0x2b8/0x488 fs/namei.c:4650 __do_sys_unlinkat fs/namei.c:4691 [inline] __se_sys_unlinkat fs/namei.c:4684 [inline] __arm64_sys_unlinkat+0xdc/0xf8 fs/namei.c:4684 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: aa1403e0 97e5fd53 17ffffb4 97d102eb (d4210000) ---[ end trace 0000000000000000 ]---