el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 9232 at fs/hfs/bnode.c:428 hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:427 Modules linked in: CPU: 1 UID: 0 PID: 9232 Comm: syz.4.545 Not tainted 6.15.0-rc6-syzkaller-gc919f08732cc #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:427 lr : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:427 sp : ffff80009f236b90 x29: ffff80009f236ba0 x28: dfff800000000000 x27: dfff800000000000 x26: 000000000000008c x25: 0000000000000000 x24: 0000000000000080 x23: ffff0000c5db0b88 x22: 0000000000000000 x21: 0000000000000000 x20: ffff00011102e000 x19: ffff0000c5db0b00 x18: 00000000ffffffff x17: 0000000000000000 x16: ffff80008ad22d88 x15: ffff700011e740f4 x14: 1ffff00011e740f4 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700011e740f4 x10: 0000000000ff0100 x9 : 664c62f055a1fa00 x8 : 664c62f055a1fa00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009f236518 x4 : ffff80008f415d40 x3 : ffff8000805486f0 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:427 (P) hfs_bmap_alloc+0x448/0x4dc fs/hfs/btree.c:291 hfs_btree_inc_height+0xf8/0x870 fs/hfs/brec.c:471 hfs_brec_insert+0x5bc/0x96c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x230/0x488 fs/hfs/extent.c:124 __hfs_ext_cache_extent+0x84/0x750 fs/hfs/extent.c:174 hfs_ext_read_extent fs/hfs/extent.c:202 [inline] hfs_extend_file+0x264/0xf4c fs/hfs/extent.c:401 hfs_get_block+0x2e8/0x9cc fs/hfs/extent.c:353 __block_write_begin_int+0x53c/0x15e8 fs/buffer.c:2151 block_write_begin fs/buffer.c:2262 [inline] cont_write_begin+0x62c/0x968 fs/buffer.c:2601 hfs_write_begin+0x7c/0xc4 fs/hfs/inode.c:52 generic_perform_write+0x23c/0x79c mm/filemap.c:4103 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4220 generic_file_write_iter+0x104/0x470 mm/filemap.c:4246 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x62c/0x97c fs/read_write.c:684 ksys_write+0x120/0x210 fs/read_write.c:736 __do_sys_write fs/read_write.c:747 [inline] __se_sys_write fs/read_write.c:744 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:744 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 2348 hardirqs last enabled at (2347): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (2347): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (2348): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (2164): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (2164): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (2143): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:473! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 9232 Comm: syz.4.545 Tainted: G W 6.15.0-rc6-syzkaller-gc919f08732cc #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x31c/0x328 fs/hfs/bnode.c:473 lr : hfs_bnode_put+0x31c/0x328 fs/hfs/bnode.c:473 sp : ffff80009f236c80 x29: ffff80009f236c80 x28: 0000000000000001 x27: dfff800000000000 x26: ffff700013e46da4 x25: ffff80009f236d20 x24: 1fffe00018bb6160 x23: dfff800000000000 x22: ffff00011102e000 x21: 0000000000000000 x20: ffff0000c5db0b80 x19: ffff0000c5db0b00 x18: 00000000ffffffff x17: 0000000000000000 x16: ffff8000805288ac x15: 0000000000000001 x14: 1fffe00018bb6170 x13: 0000000000000000 x12: 0000000000000000 x11: ffff600018bb6171 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c4725b80 x7 : ffff800080e127b4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008129f590 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x31c/0x328 fs/hfs/bnode.c:473 (P) hfs_btree_inc_height+0x448/0x870 fs/hfs/brec.c:525 hfs_brec_insert+0x5bc/0x96c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x230/0x488 fs/hfs/extent.c:124 __hfs_ext_cache_extent+0x84/0x750 fs/hfs/extent.c:174 hfs_ext_read_extent fs/hfs/extent.c:202 [inline] hfs_extend_file+0x264/0xf4c fs/hfs/extent.c:401 hfs_get_block+0x2e8/0x9cc fs/hfs/extent.c:353 __block_write_begin_int+0x53c/0x15e8 fs/buffer.c:2151 block_write_begin fs/buffer.c:2262 [inline] cont_write_begin+0x62c/0x968 fs/buffer.c:2601 hfs_write_begin+0x7c/0xc4 fs/hfs/inode.c:52 generic_perform_write+0x23c/0x79c mm/filemap.c:4103 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4220 generic_file_write_iter+0x104/0x470 mm/filemap.c:4246 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x62c/0x97c fs/read_write.c:684 ksys_write+0x120/0x210 fs/read_write.c:736 __do_sys_write fs/read_write.c:747 [inline] __se_sys_write fs/read_write.c:744 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:744 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: aa1403e0 97e629dd 17ffffd4 97d1e2b2 (d4210000) ---[ end trace 0000000000000000 ]---