hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9055 at fs/hfs/bnode.c:422 hfs_bnode_create+0x14c/0x530 fs/hfs/bnode.c:422 Modules linked in: CPU: 0 UID: 0 PID: 9055 Comm: syz.3.839 Not tainted 6.12.0-rc5-syzkaller-00299-g11066801dd4b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hfs_bnode_create+0x14c/0x530 fs/hfs/bnode.c:422 Code: 5c 19 ff 45 39 fc 75 9e e8 51 5b 19 ff 4c 89 f7 e8 c9 b5 af 08 e8 44 5b 19 ff 44 89 e6 48 c7 c7 80 d7 89 8b e8 d5 0d f9 fe 90 <0f> 0b 90 e8 2c 5b 19 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc90003c073e8 EFLAGS: 00010282 RAX: 000000000000001f RBX: ffff88803411d200 RCX: ffffc9000c936000 RDX: 0000000000000000 RSI: ffffffff816de8a6 RDI: 0000000000000005 RBP: ffff888024a28000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888024a280e0 R15: 0000000000000000 FS: 00007f032777e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558d037588 CR3: 000000007e25e000 CR4: 0000000000350ef0 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/0x820 fs/hfs/catalog.c:118 hfs_create+0x6b/0xf0 fs/hfs/dir.c:202 lookup_open.isra.0+0x1177/0x14c0 fs/namei.c:3595 open_last_lookups fs/namei.c:3694 [inline] path_openat+0x904/0x2d60 fs/namei.c:3930 do_filp_open+0x1dc/0x430 fs/namei.c:3960 do_sys_openat2+0x17a/0x1e0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1441 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:0x7f032697e719 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:00007f032777e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0326b36058 RCX: 00007f032697e719 RDX: 000000000000275a RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007f03269f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0326b36058 R15: 00007ffee2553d08