hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7046 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x428/0x4dc fs/hfsplus/bnode.c:572 Modules linked in: CPU: 1 PID: 7046 Comm: syz.7.452 Not tainted 6.1.129-syzkaller #0 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 : hfsplus_bnode_create+0x428/0x4dc fs/hfsplus/bnode.c:572 lr : hfsplus_bnode_create+0x428/0x4dc fs/hfsplus/bnode.c:572 sp : ffff800022146d50 x29: ffff800022146d60 x28: dfff800000000000 x27: dfff800000000000 x26: ffff0000f9de90f8 x25: dfff800000000000 x24: ffff0000d1664888 x23: 0000000000000000 x22: ffff0000db3920e0 x21: ffff0000db392000 x20: 0000000000000000 x19: ffff0000d1664800 x18: 1fffe0003679cb76 x17: ffff800015aed000 x16: ffff80001232163c x15: ffff0001b3ce5bbc x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : bb738c8ce1598900 x8 : bb738c8ce1598900 x7 : ffff800008279314 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000ab31e78 x2 : ffff0001b3ce5cd0 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x428/0x4dc fs/hfsplus/bnode.c:572 hfsplus_bmap_alloc+0x570/0x638 fs/hfsplus/btree.c:415 hfs_btree_inc_height+0xf8/0xa60 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x11c/0xaa0 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x320/0x394 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x990/0x1d3c fs/hfsplus/xattr.c:354 hfsplus_setxattr+0xdc/0x12c fs/hfsplus/xattr.c:434 hfsplus_security_setxattr+0x54/0x6c fs/hfsplus/xattr_security.c:31 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x1a8/0x344 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x230/0x294 fs/xattr.c:617 path_setxattr+0x17c/0x258 fs/xattr.c:636 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:655 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 726 hardirqs last enabled at (725): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (725): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5002 hardirqs last disabled at (726): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (718): [] softirq_handle_end kernel/softirq.c:421 [inline] softirqs last enabled at (718): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:606 softirqs last disabled at (613): [] __do_softirq+0x14/0x20 kernel/softirq.c:612 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:618! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 7046 Comm: syz.7.452 Tainted: G W 6.1.129-syzkaller #0 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 : hfsplus_bnode_put+0x488/0x494 fs/hfsplus/bnode.c:618 lr : hfsplus_bnode_put+0x488/0x494 fs/hfsplus/bnode.c:618 sp : ffff800022146e40 x29: ffff800022146e40 x28: dfff800000000000 x27: ffff700004428de0 x26: 1fffe0001b672403 x25: 1fffe0001a2cc900 x24: ffff0000db392000 x23: dfff800000000000 x22: ffff0000d1664800 x21: ffff0000d1664880 x20: 0000000000000000 x19: ffff0000d1664800 x18: 1fffe0003679cb76 x17: ffff800015aed000 x16: ffff80001232163c x15: ffff0001b3ce5bbc x14: 1ffff00002b5e0b2 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff8000090883d8 x8 : ffff0000cfb79bc0 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff800009087fac x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x488/0x494 fs/hfsplus/bnode.c:618 hfs_btree_inc_height+0x4fc/0xa60 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x11c/0xaa0 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x320/0x394 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x990/0x1d3c fs/hfsplus/xattr.c:354 hfsplus_setxattr+0xdc/0x12c fs/hfsplus/xattr.c:434 hfsplus_security_setxattr+0x54/0x6c fs/hfsplus/xattr_security.c:31 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x1a8/0x344 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x230/0x294 fs/xattr.c:617 path_setxattr+0x17c/0x258 fs/xattr.c:636 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:655 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: aa1403e0 97e3aea8 17ffffb7 97d1ad3b (d4210000) ---[ end trace 0000000000000000 ]--- pstore: crypto_comp_compress failed, ret = -22! pstore: crypto_comp_compress failed, ret = -22!