loop5: detected capacity change from 0 to 64 hfs: unable to locate alternate MDB hfs: continuing without an alternate MDB hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7974 at fs/hfs/bnode.c:520 hfs_bnode_create+0x14c/0x5e0 fs/hfs/bnode.c:520 Modules linked in: CPU: 1 UID: 0 PID: 7974 Comm: syz.5.453 Not tainted 6.17.0-rc1-syzkaller-00038-g0cc53520e68b #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:hfs_bnode_create+0x14c/0x5e0 fs/hfs/bnode.c:520 Code: 72 1c ff 45 39 fc 75 9e e8 d1 77 1c ff 4c 89 f7 e8 09 0c f5 08 e8 c4 77 1c ff 44 89 e6 48 c7 c7 20 53 ca 8b e8 d5 21 fb fe 90 <0f> 0b 90 e8 ac 77 1c ff 48 89 d8 48 83 c4 28 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc9001efbef10 EFLAGS: 00010286 RAX: 000000000000001f RBX: ffff8880307f4d00 RCX: ffffc9000c1cc000 RDX: 0000000000000000 RSI: ffffffff819acc66 RDI: 0000000000000005 RBP: ffff88802a270000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88802a2700e0 R15: 0000000000000000 FS: 00007f8bcabcb6c0(0000) GS:ffff8881247c0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000080 CR3: 0000000030834000 CR4: 0000000000350ef0 Call Trace: hfs_bmap_alloc+0x7d7/0x960 fs/hfs/btree.c:326 hfs_btree_inc_height.isra.0+0xff/0x820 fs/hfs/brec.c:471 hfs_brec_insert+0x81e/0xb90 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x3fa/0x520 fs/hfs/extent.c:124 __hfs_ext_cache_extent fs/hfs/extent.c:174 [inline] hfs_ext_read_extent+0x807/0x9e0 fs/hfs/extent.c:202 hfs_extend_file+0x4e2/0xb10 fs/hfs/extent.c:401 hfs_get_block+0x17f/0x830 fs/hfs/extent.c:353 __block_write_begin_int+0x4f4/0x16d0 fs/buffer.c:2145 block_write_begin+0x9a/0x1d0 fs/buffer.c:2256 cont_write_begin+0x61b/0x950 fs/buffer.c:2594 hfs_write_begin+0x64/0x120 fs/hfs/inode.c:52 generic_perform_write+0x3c5/0x900 mm/filemap.c:4175 __generic_file_write_iter+0x1f7/0x240 mm/filemap.c:4292 generic_file_write_iter+0xe1/0x3c0 mm/filemap.c:4318 iter_file_splice_write+0x918/0x1270 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x192/0x6c0 fs/splice.c:1158 splice_direct_to_actor+0x345/0xa30 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x174/0x240 fs/splice.c:1227 do_sendfile+0xb06/0xe50 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1425 [inline] __se_sys_sendfile64 fs/read_write.c:1417 [inline] __x64_sys_sendfile64+0x154/0x220 fs/read_write.c:1417 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8bc9d8ebe9 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:00007f8bcabcb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f8bc9fb5fa0 RCX: 00007f8bc9d8ebe9 RDX: 0000200000000080 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f8bc9e11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000007f03 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8bc9fb6038 R14: 00007f8bc9fb5fa0 R15: 00007ffc5b6336a8