hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8958 at fs/hfs/bnode.c:422 hfs_bnode_create+0x14c/0x530 fs/hfs/bnode.c:422 Modules linked in: CPU: 1 PID: 8958 Comm: syz-executor.3 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:hfs_bnode_create+0x14c/0x530 fs/hfs/bnode.c:422 Code: c2 20 ff 45 39 fc 75 9e e8 b1 c8 20 ff 4c 89 f7 e8 89 85 7e 08 e8 a4 c8 20 ff 44 89 e6 48 c7 c7 80 dc 48 8b e8 65 37 01 ff 90 <0f> 0b 90 e8 8c c8 20 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc900035673f8 EFLAGS: 00010286 RAX: 000000000000001f RBX: ffff88801d2d9200 RCX: ffffc90014a01000 RDX: 0000000000000000 RSI: ffffffff816ef706 RDI: 0000000000000005 RBP: ffff888026b84000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888026b840e0 R15: 0000000000000000 FS: 00007f34a301e6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14449b3f84 CR3: 0000000022c88000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x75c/0x880 fs/hfs/btree.c:291 hfs_bnode_split+0xe5/0xdd0 fs/hfsplus/brec.c:245 hfs_brec_insert+0x2da/0xb90 fs/hfs/brec.c:102 hfs_cat_create+0x359/0x810 fs/hfs/catalog.c:118 hfs_create+0x6b/0xf0 fs/hfs/dir.c:202 lookup_open.isra.0+0x10a1/0x13c0 fs/namei.c:3505 open_last_lookups fs/namei.c:3574 [inline] path_openat+0x92f/0x29f0 fs/namei.c:3804 do_filp_open+0x1dc/0x430 fs/namei.c:3834 do_sys_openat2+0x17a/0x1e0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_open fs/open.c:1428 [inline] __se_sys_open fs/open.c:1424 [inline] __x64_sys_open+0x154/0x1e0 fs/open.c:1424 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f34a227cea9 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:00007f34a301e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f34a23b4050 RCX: 00007f34a227cea9 RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000000020000180 RBP: 00007f34a22ebff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f34a23b4050 R15: 00007ffce568bb68