loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5834 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Modules linked in: CPU: 1 UID: 0 PID: 5834 Comm: syz-executor108 Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Code: 15 24 ff 45 39 fc 75 9e e8 81 1b 24 ff 4c 89 f7 e8 a9 20 c2 08 e8 74 1b 24 ff 44 89 e6 48 c7 c7 00 58 89 8b e8 c5 6f 03 ff 90 <0f> 0b 90 e8 5c 1b 24 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc90002fa7270 EFLAGS: 00010286 RAX: 0000000000000023 RBX: ffff8880232c2800 RCX: ffffffff819955a9 RDX: 0000000000000000 RSI: ffffffff8199b91e RDI: 0000000000000005 RBP: ffff888078f04000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000004 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888078f040e0 R15: 0000000000000000 FS: 000055556a14a380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000016000 CR3: 000000007f1fe000 CR4: 0000000000350ef0 Call Trace: hfsplus_bmap_alloc+0x72c/0x830 fs/hfsplus/btree.c:415 hfs_btree_inc_height.isra.0+0x100/0x8c0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0xa02/0xc50 fs/hfsplus/brec.c:75 __hfsplus_ext_write_extent+0x4a0/0x5e0 fs/hfsplus/extents.c:107 __hfsplus_ext_cache_extent+0x98/0x9d0 fs/hfsplus/extents.c:186 hfsplus_ext_read_extent+0x200/0x250 fs/hfsplus/extents.c:218 hfsplus_file_extend+0x699/0x1090 fs/hfsplus/extents.c:462 hfsplus_get_block+0x1ae/0x9e0 fs/hfsplus/extents.c:245 __block_write_begin_int+0x4fe/0x16e0 fs/buffer.c:2116 block_write_begin+0x9a/0x1d0 fs/buffer.c:2226 cont_write_begin+0x61d/0x950 fs/buffer.c:2577 hfsplus_write_begin+0x64/0x120 fs/hfsplus/inode.c:46 generic_perform_write+0x3ec/0x940 mm/filemap.c:4102 __generic_file_write_iter+0x1f7/0x240 mm/filemap.c:4219 generic_file_write_iter+0xe1/0x3b0 mm/filemap.c:4245 new_sync_write fs/read_write.c:586 [inline] vfs_write+0x5b1/0x1150 fs/read_write.c:679 ksys_write+0x12b/0x250 fs/read_write.c:731 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:0x7f86ef109b19 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc2933dd48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f86ef109b19 RDX: 000000000208e24b RSI: 0000200000000040 RDI: 0000000000000004 RBP: 00007f86ef17d5f0 R08: 000055556a14b4c0 R09: 000055556a14b4c0 R10: 0000000000000644 R11: 0000000000000246 R12: 00007ffc2933dd70 R13: 00007ffc2933df98 R14: 431bde82d7b634db R15: 00007f86ef15203b