hfs: new node 4 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5054 at fs/hfs/bnode.c:520 hfs_bnode_create+0x37a/0x400 fs/hfs/bnode.c:519 Modules linked in: CPU: 0 PID: 5054 Comm: syz.0.145 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:ffffc9000e2f7380 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff88804f2180e0 RCX: fbe10b85eab36400 RDX: ffffc90004e51000 RSI: 0000000000003fe5 RDI: 0000000000003fe6 RBP: 0000000000000004 R08: dffffc0000000000 R09: fffff52001c5ee11 R10: fffff52001c5ee11 R11: 1ffff92001c5ee10 R12: 0000000000000004 R13: ffff88804f218000 R14: ffff88801f72b000 R15: dffffc0000000000 FS: 00007f8e7751d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000002382d000 CR4: 00000000003506f0 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:0x7f8e7658f749 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:00007f8e7751d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8e767e5fa0 RCX: 00007f8e7658f749 RDX: 000000000000275a RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f8e76613f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8e767e6038 R14: 00007f8e767e5fa0 R15: 00007fff50dcc368