hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: fs/hfsplus/bnode.c:631 at hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:630, CPU#0: syz.2.146/7451 Modules linked in: CPU: 0 UID: 0 PID: 7451 Comm: syz.2.146 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:630 lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:630 sp : ffff8000a0676bf0 x29: ffff8000a0676c00 x28: 0000000000000000 x27: dfff800000000000 x26: dfff800000000000 x25: ffff8000a0676c80 x24: dfff800000000000 x23: ffff7000140ced90 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000d22a2000 x19: ffff0000d7629900 x18: 1fffe0003377d090 x17: ffff800093599000 x16: ffff800082e5e68c x15: 0000000000000001 x14: 1ffff000140cecf8 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000015e90 x9 : 3301bd1e11b6a700 x8 : 3301bd1e11b6a700 x7 : ffff8000805761f8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807f1260 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:630 (P) hfs_bmap_new_bmap+0xac/0x2e0 fs/hfsplus/btree.c:320 hfsplus_bmap_alloc+0x39c/0x87c fs/hfsplus/btree.c:438 hfs_bnode_split+0xc8/0xcec fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f0/0xb18 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x324/0xebc fs/hfsplus/catalog.c:292 hfsplus_fill_super+0xe60/0x1460 fs/hfsplus/super.c:601 get_tree_bdev_flags+0x360/0x414 fs/super.c:1691 get_tree_bdev+0x2c/0x3c fs/super.c:1714 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:680 vfs_get_tree+0x90/0x28c fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3712 path_mount+0x5b4/0xdfc fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4201 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 2430 hardirqs last enabled at (2429): [] irqentry_exit+0x1b4/0x308 kernel/entry/common.c:219 hardirqs last disabled at (2430): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:412 softirqs last enabled at (2392): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (2392): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:650 softirqs last disabled at (2231): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:676! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7451 Comm: syz.2.146 Tainted: G W L syzkaller #0 PREEMPT Tainted: [W]=WARN, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x42c/0x4a8 fs/hfsplus/bnode.c:676 lr : hfsplus_bnode_put+0x42c/0x4a8 fs/hfsplus/bnode.c:676 sp : ffff8000a0676ce0 x29: ffff8000a0676cf0 x28: 0000000000000fec x27: ffff0000d7629988 x26: dfff800000000000 x25: 0000000000000080 x24: 00000000000000c0 x23: ffff0000d22a2000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d7629980 x19: ffff0000d7629900 x18: 1fffe0003377d090 x17: ffff800093599000 x16: ffff800082e5e68c x15: 0000000000000001 x14: 1fffe0001aec5330 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000003126b x9 : ffff8000a6c80000 x8 : 000000000003126c x7 : ffff800080eb08d4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008134cbd8 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x42c/0x4a8 fs/hfsplus/bnode.c:676 (P) hfsplus_bmap_alloc+0x574/0x87c fs/hfsplus/btree.c:420 hfs_bnode_split+0xc8/0xcec fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f0/0xb18 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x324/0xebc fs/hfsplus/catalog.c:292 hfsplus_fill_super+0xe60/0x1460 fs/hfsplus/super.c:601 get_tree_bdev_flags+0x360/0x414 fs/super.c:1691 get_tree_bdev+0x2c/0x3c fs/super.c:1714 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:680 vfs_get_tree+0x90/0x28c fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3712 path_mount+0x5b4/0xdfc fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4201 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: f94007f7 f2fbfff6 17ffff0c 97d006d8 (d4210000) ---[ end trace 0000000000000000 ]---