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: 1 PID: 7868 at fs/hfs/bnode.c:422 hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:421 Modules linked in: CPU: 1 UID: 0 PID: 7868 Comm: syz.2.243 Not tainted 6.15.0-rc1-syzkaller-g2fe2b96c3818 #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:421 lr : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:421 sp : ffff8000a0ad7270 x29: ffff8000a0ad7280 x28: dfff800000000000 x27: dfff800000000000 x26: ffff0000f3ab008c x25: dfff800000000000 x24: ffff0000d4f2ad88 x23: 0000000000000000 x22: ffff0000cc6ca0e0 x21: ffff0000cc6ca000 x20: 0000000000000000 x19: ffff0000d4f2ad00 x18: 0000000000000008 x17: 0000000000000000 x16: ffff8000833376cc x15: 0000000000000001 x14: 1fffe000366e2322 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 959cc84110056d00 x8 : 959cc84110056d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a0ad6a18 x4 : ffff800090035280 x3 : ffff8000807526f0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:421 (P) hfs_bmap_alloc+0x4a8/0x558 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_file_truncate+0x538/0xeb0 fs/hfs/extent.c:526 hfs_inode_setattr+0x3a0/0x558 fs/hfs/inode.c:654 notify_change+0x9f0/0xca0 fs/attr.c:552 do_truncate+0x1c0/0x28c fs/open.c:65 vfs_truncate+0x3ec/0x450 fs/open.c:115 do_sys_truncate+0xe8/0x1ac fs/open.c:138 __do_sys_truncate fs/open.c:150 [inline] __se_sys_truncate fs/open.c:148 [inline] __arm64_sys_truncate+0x5c/0x74 fs/open.c:148 __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: 2372 hardirqs last enabled at (2371): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (2371): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (2372): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (1788): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1786): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:467! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7868 Comm: syz.2.243 Tainted: G W 6.15.0-rc1-syzkaller-g2fe2b96c3818 #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+0x318/0x324 fs/hfs/bnode.c:467 lr : hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 sp : ffff8000a0ad7370 x29: ffff8000a0ad7370 x28: dfff800000000000 x27: ffff70001415ae84 x26: 1fffe000198d9403 x25: 0000000000000200 x24: 1fffe0001a9e55a0 x23: dfff800000000000 x22: ffff0000cc6ca000 x21: ffff0000d4f2ad80 x20: 0000000000000000 x19: ffff0000d4f2ad00 x18: 0000000000000008 x17: 0000000000000000 x16: ffff8000803c3924 x15: 0000000000000001 x14: 1fffe0001a9e55b0 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001a9e55b1 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d8cc8000 x7 : ffff800080e31e98 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008131f9a0 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 (P) 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_file_truncate+0x538/0xeb0 fs/hfs/extent.c:526 hfs_inode_setattr+0x3a0/0x558 fs/hfs/inode.c:654 notify_change+0x9f0/0xca0 fs/attr.c:552 do_truncate+0x1c0/0x28c fs/open.c:65 vfs_truncate+0x3ec/0x450 fs/open.c:115 do_sys_truncate+0xe8/0x1ac fs/open.c:138 __do_sys_truncate fs/open.c:150 [inline] __se_sys_truncate fs/open.c:148 [inline] __arm64_sys_truncate+0x5c/0x74 fs/open.c:148 __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 97e41106 17ffffd5 97ce3616 (d4210000) ---[ end trace 0000000000000000 ]---