el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:746 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8755 at fs/hfs/bnode.c:520 hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:519 Modules linked in: CPU: 0 UID: 0 PID: 8755 Comm: syz.4.634 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:519 lr : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:519 sp : ffff8000a0946a10 x29: ffff8000a0946a20 x28: 0000000000000000 x27: dfff800000000000 x26: 0000000000000080 x25: dfff800000000000 x24: 0000000000000000 x23: ffff0000e37a808c x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000d1b66000 x19: ffff0000d7487700 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800082de95c8 x15: 0000000000000001 x14: 1ffff00014128c80 x13: 0000000000000000 x12: 0000000000000000 x11: 00000000487f0071 x10: 0000000000ff0100 x9 : b95b1cd9631ccc00 x8 : b95b1cd9631ccc00 x7 : ffff8000805638d4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 x2 : 0000000000000002 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:519 (P) hfs_bmap_alloc+0x5b0/0x688 fs/hfs/btree.c:326 hfs_btree_inc_height+0xf8/0x870 fs/hfs/brec.c:490 hfs_brec_insert+0x640/0x9ec 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+0x258/0x10e4 fs/hfs/extent.c:401 hfs_get_block+0x2e8/0x9cc fs/hfs/extent.c:353 __block_write_begin_int+0x53c/0x15e8 fs/buffer.c:2145 block_write_begin fs/buffer.c:2256 [inline] cont_write_begin+0x62c/0x968 fs/buffer.c:2594 hfs_write_begin+0x7c/0xc4 fs/hfs/inode.c:52 generic_perform_write+0x244/0x7bc mm/filemap.c:4242 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4359 generic_file_write_iter+0x10c/0x47c mm/filemap.c:4385 do_iter_readv_writev+0x4bc/0x720 fs/read_write.c:-1 vfs_writev+0x29c/0x7cc fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2 fs/read_write.c:1202 [inline] __arm64_sys_pwritev2+0x1bc/0x2cc fs/read_write.c:1202 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 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+0x5c/0x254 arch/arm64/kernel/entry-common.c:746 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 2586 hardirqs last enabled at (2585): [] vprintk_store+0x898/0xac8 kernel/printk/printk.c:2329 hardirqs last disabled at (2586): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (2484): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2482): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:565! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 8755 Comm: syz.4.634 Tainted: G W syzkaller #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x43c/0x5f0 fs/hfs/bnode.c:565 lr : hfs_bnode_put+0x43c/0x5f0 fs/hfs/bnode.c:565 sp : ffff8000a0946af0 x29: ffff8000a0946b00 x28: 0000000000000001 x27: dfff800000000000 x26: ffff700014128d74 x25: 1fffe0001ae90ee0 x24: ffff0000d1b66000 x23: dfff800000000000 x22: 1fffe0001ae90ef0 x21: 0000000000000000 x20: ffff0000d7487780 x19: ffff0000d7487700 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800080536230 x15: 0000000000000001 x14: 1fffe0001ae90ef0 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001ae90ef1 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cc983d80 x7 : ffff800080e75dd8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800081320114 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x43c/0x5f0 fs/hfs/bnode.c:565 (P) hfs_btree_inc_height+0x448/0x870 fs/hfs/brec.c:544 hfs_brec_insert+0x640/0x9ec 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+0x258/0x10e4 fs/hfs/extent.c:401 hfs_get_block+0x2e8/0x9cc fs/hfs/extent.c:353 __block_write_begin_int+0x53c/0x15e8 fs/buffer.c:2145 block_write_begin fs/buffer.c:2256 [inline] cont_write_begin+0x62c/0x968 fs/buffer.c:2594 hfs_write_begin+0x7c/0xc4 fs/hfs/inode.c:52 generic_perform_write+0x244/0x7bc mm/filemap.c:4242 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4359 generic_file_write_iter+0x10c/0x47c mm/filemap.c:4385 do_iter_readv_writev+0x4bc/0x720 fs/read_write.c:-1 vfs_writev+0x29c/0x7cc fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2 fs/read_write.c:1202 [inline] __arm64_sys_pwritev2+0x1bc/0x2cc fs/read_write.c:1202 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 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+0x5c/0x254 arch/arm64/kernel/entry-common.c:746 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: d2d00017 f2fbfff7 17ffff09 97d0543c (d4210000) ---[ end trace 0000000000000000 ]---