hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 16698 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x3ad/0x440 fs/hfsplus/bnode.c:572 Modules linked in: CPU: 1 PID: 16698 Comm: syz-executor.4 Not tainted 6.1.44-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:hfsplus_bnode_create+0x3ad/0x440 fs/hfsplus/bnode.c:573 Code: 8b 44 89 e6 e8 cd ad 24 08 e9 7c fd ff ff e8 3a ed 2b ff 4c 89 ff e8 52 9e 30 08 48 c7 c7 e0 31 02 8b 44 89 e6 e8 ac ad 24 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:ffffc9000612f378 EFLAGS: 00010246 RAX: 0000000000000023 RBX: ffff888074512900 RCX: ef17025831c82e00 RDX: ffffc90015c02000 RSI: 0000000000009a7c RDI: 0000000000009a7d RBP: 0000000000000000 R08: ffffffff816db4cc R09: fffff52000c25e29 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888087c7c000 R15: ffff888087c7c0e0 FS: 00007f4c4b0bb6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5546575198 CR3: 00000000937ec000 CR4: 00000000003506e0 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_link+0x4b6/0x840 fs/hfsplus/dir.c:342 vfs_link+0x65e/0x810 fs/namei.c:4529 do_linkat+0x5c8/0x9d0 fs/namei.c:4600 __do_sys_link fs/namei.c:4634 [inline] __se_sys_link fs/namei.c:4632 [inline] __x64_sys_link+0x82/0x90 fs/namei.c:4632 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:0x7f4c4a27cae9 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:00007f4c4b0bb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000056 RAX: ffffffffffffffda RBX: 00007f4c4a39bf80 RCX: 00007f4c4a27cae9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 00000000200002c0 RBP: 00007f4c4a2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4c4a39bf80 R15: 00007ffd80b33a38