el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7777 at fs/hfs/bnode.c:422 hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 Modules linked in: CPU: 0 UID: 0 PID: 7777 Comm: syz.4.222 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 lr : hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 sp : ffff8000a41f6d10 x29: ffff8000a41f6d20 x28: dfff800000000000 x27: dfff800000000000 x26: 000000000000016c x25: ffff0000cc96ff88 x24: 0000000000000000 x23: 0000000000000000 x22: ffff0000f81be0e0 x21: ffff0000f81be000 x20: 0000000000000000 x19: ffff0000cc96ff00 x18: 0000000000000008 x17: 0000000000000000 x16: ffff80008b47f65c x15: ffff700011f29534 x14: 1ffff00011f29534 x13: 0000000000000004 x12: ffffffffffffffff x11: 0000000000000001 x10: 0000000000ff0100 x9 : a52c255daba50700 x8 : a52c255daba50700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a41f6458 x4 : ffff80008f9bd220 x3 : ffff8000803921b4 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 (P) hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 (L) hfs_bmap_alloc+0x5a4/0x66c fs/hfs/btree.c:291 hfs_btree_inc_height+0xf8/0x9d0 fs/hfs/brec.c:471 hfs_brec_insert+0x580/0x97c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x240/0x468 fs/hfs/extent.c:124 __hfs_ext_cache_extent+0x84/0x754 fs/hfs/extent.c:174 hfs_ext_read_extent fs/hfs/extent.c:202 [inline] hfs_extend_file+0x29c/0x1130 fs/hfs/extent.c:401 hfs_get_block+0x3b8/0x9e0 fs/hfs/extent.c:353 __block_write_begin_int+0x580/0x166c fs/buffer.c:2121 block_write_begin fs/buffer.c:2231 [inline] cont_write_begin+0x888/0xe44 fs/buffer.c:2582 hfs_write_begin+0x7c/0xc4 fs/hfs/inode.c:52 generic_perform_write+0x29c/0x868 mm/filemap.c:4054 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4155 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:4181 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x920/0xcf4 fs/read_write.c:683 ksys_write+0x15c/0x26c fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:745 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 1552 hardirqs last enabled at (1551): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (1551): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2844 hardirqs last disabled at (1552): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (1546): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (1546): [] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582 softirqs last disabled at (1283): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:467! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 7777 Comm: syz.4.222 Tainted: G W 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 lr : hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 sp : ffff8000a41f6e30 x29: ffff8000a41f6e30 x28: dfff800000000000 x27: ffff70001483eddc x26: 1fffe0001f037c03 x25: 0000000000000200 x24: 1fffe0001992dfe0 x23: dfff800000000000 x22: ffff0000f81be000 x21: ffff0000cc96ff80 x20: 0000000000000000 x19: ffff0000cc96ff00 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800083161638 x15: 0000000000000001 x14: 1fffe0001992dff0 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001992dff1 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cd393c80 x7 : ffff800080b3145c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800081246a44 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 (P) hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 (L) hfs_btree_inc_height+0x4c0/0x9d0 fs/hfs/brec.c:525 hfs_brec_insert+0x580/0x97c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x240/0x468 fs/hfs/extent.c:124 __hfs_ext_cache_extent+0x84/0x754 fs/hfs/extent.c:174 hfs_ext_read_extent fs/hfs/extent.c:202 [inline] hfs_extend_file+0x29c/0x1130 fs/hfs/extent.c:401 hfs_get_block+0x3b8/0x9e0 fs/hfs/extent.c:353 __block_write_begin_int+0x580/0x166c fs/buffer.c:2121 block_write_begin fs/buffer.c:2231 [inline] cont_write_begin+0x888/0xe44 fs/buffer.c:2582 hfs_write_begin+0x7c/0xc4 fs/hfs/inode.c:52 generic_perform_write+0x29c/0x868 mm/filemap.c:4054 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4155 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:4181 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x920/0xcf4 fs/read_write.c:683 ksys_write+0x15c/0x26c fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:745 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: aa1503e0 97e20c66 17ffffd5 97ccfc6c (d4210000) ---[ end trace 0000000000000000 ]---