hfs: new node 4 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6262 at fs/hfs/bnode.c:520 hfs_bnode_create+0x37a/0x400 fs/hfs/bnode.c:519 Modules linked in: CPU: 1 PID: 6262 Comm: syz.5.314 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:hfs_bnode_create+0x37a/0x400 fs/hfs/bnode.c:520 Code: 99 82 8a 89 ee e8 d6 1a be 07 e9 ab fd ff ff e8 8c 94 39 ff 48 89 df e8 64 31 d3 07 48 c7 c7 00 9a 82 8a 89 ee e8 b6 1a be 07 <0f> 0b eb b7 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c b7 fc ff ff 4c RSP: 0018:ffffc90003a27380 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff888026ca40e0 RCX: 8e249550837da700 RDX: ffffc9001c003000 RSI: 000000000000693e RDI: 000000000000693f RBP: 0000000000000004 R08: dffffc0000000000 R09: fffff52000744e11 R10: fffff52000744e11 R11: 1ffff92000744e10 R12: 0000000000000004 R13: ffff888026ca4000 R14: ffff888019ee6b00 R15: dffffc0000000000 FS: 00007f876ebb46c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f23fe41b440 CR3: 00000000591db000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x537/0x5c0 fs/hfs/btree.c:291 hfs_bnode_split+0xc9/0xee0 fs/hfsplus/brec.c:245 hfs_brec_insert+0x374/0xbc0 fs/hfs/brec.c:102 hfs_cat_create+0x4e7/0x8d0 fs/hfs/catalog.c:131 hfs_create+0x62/0xd0 fs/hfs/dir.c:202 lookup_open fs/namei.c:3490 [inline] open_last_lookups fs/namei.c:3558 [inline] path_openat+0x1187/0x2e70 fs/namei.c:3788 do_filp_open+0x1c1/0x3c0 fs/namei.c:3818 do_sys_openat2+0x142/0x490 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] __x64_sys_openat+0x135/0x160 fs/open.c:1347 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f877098f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f876ebb4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8770be6180 RCX: 00007f877098f749 RDX: 000000000000275a RSI: 0000200000000200 RDI: ffffffffffffff9c RBP: 00007f8770a13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8770be6218 R14: 00007f8770be6180 R15: 00007ffdccc81ae8