hfsplus: new node 7 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 9026 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x3ad/0x440 fs/hfsplus/bnode.c:572 Modules linked in: CPU: 1 PID: 9026 Comm: syz-executor.2 Not tainted 6.1.55-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:hfsplus_bnode_create+0x3ad/0x440 fs/hfsplus/bnode.c:573 Code: 8b 44 89 e6 e8 ad 64 27 08 e9 7c fd ff ff e8 4a 23 2b ff 4c 89 ff e8 32 b0 33 08 48 c7 c7 a0 32 02 8b 44 89 e6 e8 8c 64 27 08 <0f> 0b eb b5 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 89 fc ff ff 48 89 RSP: 0018:ffffc9000342f098 EFLAGS: 00010246 RAX: 0000000000000023 RBX: ffff8880784d8600 RCX: e8d4cb510b0f5700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000007 R08: ffffffff816e054c R09: fffff52000685db5 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000007 R13: dffffc0000000000 R14: ffff888028cae000 R15: ffff888028cae0e0 FS: 00007fd31a1536c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd31a153d58 CR3: 0000000074816000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bmap_alloc+0x596/0x630 fs/hfsplus/btree.c:415 hfs_bnode_split+0xda/0x1100 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x3a2/0xdd0 fs/hfsplus/brec.c:100 hfsplus_create_cat+0xeea/0x1ba0 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x166/0x2a0 fs/hfsplus/dir.c:494 lookup_open fs/namei.c:3413 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x12f1/0x2e60 fs/namei.c:3711 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_creat fs/open.c:1410 [inline] __se_sys_creat fs/open.c:1404 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1404 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd31947cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd31a1530c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd31959c120 RCX: 00007fd31947cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000e00 RBP: 00007fd3194c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd31959c120 R15: 00007ffe181838e8