hfs: new node 4 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4540 at fs/hfs/bnode.c:522 hfs_bnode_create+0x418/0x4c8 fs/hfs/bnode.c:521 Modules linked in: CPU: 0 PID: 4540 Comm: syz.2.22 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x418/0x4c8 fs/hfs/bnode.c:521 lr : hfs_bnode_create+0x418/0x4c8 fs/hfs/bnode.c:521 sp : ffff8000210c7220 x29: ffff8000210c7240 x28: ffff700004218e58 x27: 00000000000000f5 x26: 00000000000000fd x25: 0000000000000004 x24: dfff800000000000 x23: dfff800000000000 x22: 0000000000000004 x21: 0000000000000004 x20: ffff0000dfa32000 x19: ffff0000d1f27a00 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800011b9ea98 x15: 0000000000000000 x14: 0000000000000001 x13: 1ffff00004218dac x12: 0000000000000000 x11: ff00800008315498 x10: 0000000000000000 x9 : b87bce0c8ea28c00 x8 : b87bce0c8ea28c00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000210c6cf8 x4 : ffff800015474e80 x3 : ffff80000a92975c x2 : ffff00019f381d10 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x418/0x4c8 fs/hfs/bnode.c:521 hfs_bmap_alloc+0x500/0x5b4 fs/hfs/btree.c:291 hfs_bnode_split+0xd4/0xb50 fs/hfsplus/brec.c:245 hfs_brec_insert+0x308/0x998 fs/hfs/brec.c:102 hfs_cat_create+0x4b8/0x7dc fs/hfs/catalog.c:131 hfs_create+0x70/0xe4 fs/hfs/dir.c:202 lookup_open fs/namei.c:3533 [inline] open_last_lookups fs/namei.c:3601 [inline] path_openat+0xda8/0x27a0 fs/namei.c:3831 do_filp_open+0x198/0x38c fs/namei.c:3861 do_sys_openat2+0x134/0x3fc fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __arm64_sys_openat+0x11c/0x150 fs/open.c:1347 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x200/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 1294 hardirqs last enabled at (1293): [] __up_console_sem+0xb4/0xfc kernel/printk/printk.c:261 hardirqs last disabled at (1294): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1166): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1164): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:567! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4540 Comm: syz.2.22 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:567 lr : hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:567 sp : ffff8000210c7320 x29: ffff8000210c7320 x28: ffff700004218e80 x27: ffff0000d1f27010 x26: ffff0000dfa32000 x25: 1fffe0001a3e4f43 x24: 1fffe0001a3e4f40 x23: ffff0000dfa32000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d1f27a80 x19: ffff0000d1f27a00 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082f2d54 x15: 0000000000000000 x14: 0000000000000001 x13: 1fffe0001a3e4f50 x12: 0000000000000000 x11: ff00800008fba0e0 x10: 0000000000000000 x9 : ffff800008fba0e0 x8 : ffff0000dadfb800 x7 : ffff800011a30b24 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008fb9de4 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:567 hfs_bnode_split+0x714/0xb50 fs/hfsplus/brec.c:-1 hfs_brec_insert+0x308/0x998 fs/hfs/brec.c:102 hfs_cat_create+0x4b8/0x7dc fs/hfs/catalog.c:131 hfs_create+0x70/0xe4 fs/hfs/dir.c:202 lookup_open fs/namei.c:3533 [inline] open_last_lookups fs/namei.c:3601 [inline] path_openat+0xda8/0x27a0 fs/namei.c:3831 do_filp_open+0x198/0x38c fs/namei.c:3861 do_sys_openat2+0x134/0x3fc fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __arm64_sys_openat+0x11c/0x150 fs/open.c:1347 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x200/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: aa1403e0 97e4ecd0 17ffffce 97d3e319 (d4210000) ---[ end trace 0000000000000000 ]---