loop2: detected capacity change from 0 to 1024
hfsplus: new node 0 already hashed?
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6611 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:572
Modules linked in:
CPU: 1 UID: 0 PID: 6611 Comm: syz.2.31 Not tainted 6.14.0-rc5-syzkaller-g14d05f12084d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:572
lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:572
sp : ffff8000a13269f0
x29: ffff8000a1326a00 x28: 00000000000000f8 x27: dfff800000000000
x26: ffff0000e1670000 x25: ffff0000e16700f8 x24: ffff0000dc4c2000
x23: 0000000000000000 x22: ffff0000dc4c20e0 x21: ffff0000dc4c2000
x20: 0000000000000000 x19: ffff0000d607d600 x18: 1fffe000366f6086
x17: ffff80008fbbd000 x16: ffff8000832b8f3c x15: 0000000000000001
x14: 1ffff00014264c98 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000080000 x10: 0000000000014625 x9 : f1834e145bd34300
x8 : f1834e145bd34300 x7 : ffff8000803d4bfc x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80008324af54
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023
Call trace:
 hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:572 (P)
 hfsplus_bmap_alloc+0x48c/0x538 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+0x9c4/0x2334 fs/hfsplus/xattr.c:354
 hfsplus_initxattrs+0x194/0x250 fs/hfsplus/xattr_security.c:59
 security_inode_init_security+0x73c/0x908 security/security.c:1852
 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71
 hfsplus_fill_super+0x1064/0x16f8 fs/hfsplus/super.c:568
 get_tree_bdev_flags+0x38c/0x494 fs/super.c:1636
 get_tree_bdev+0x2c/0x3c fs/super.c:1659
 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:640
 vfs_get_tree+0x90/0x28c fs/super.c:1814
 do_new_mount+0x278/0x900 fs/namespace.c:3560
 path_mount+0x590/0xe04 fs/namespace.c:3887
 do_mount fs/namespace.c:3900 [inline]
 __do_sys_mount fs/namespace.c:4111 [inline]
 __se_sys_mount fs/namespace.c:4088 [inline]
 __arm64_sys_mount+0x4f4/0x5d0 fs/namespace.c:4088
 __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: 4188
hardirqs last  enabled at (4187): [<ffff8000803d4c9c>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1533 [inline]
hardirqs last  enabled at (4187): [<ffff8000803d4c9c>] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5132
hardirqs last disabled at (4188): [<ffff80008b7c8714>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488
softirqs last  enabled at (3968): [<ffff800080311b48>] softirq_handle_end kernel/softirq.c:407 [inline]
softirqs last  enabled at (3968): [<ffff800080311b48>] handle_softirqs+0xb44/0xd34 kernel/softirq.c:589
softirqs last disabled at (3927): [<ffff800080020dbc>] __do_softirq+0x14/0x20 kernel/softirq.c:595
---[ 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 UID: 0 PID: 6611 Comm: syz.2.31 Tainted: G        W          6.14.0-rc5-syzkaller-g14d05f12084d #0
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
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 : ffff8000a1326ae0
x29: ffff8000a1326ae0 x28: dfff800000000000 x27: ffff700014264d74
x26: 1fffe0001b898403 x25: 1fffe0001ac0fac0 x24: ffff0000dc4c2000
x23: dfff800000000000 x22: ffff0000d607d600 x21: ffff0000d607d680
x20: 0000000000000000 x19: ffff0000d607d600 x18: 1fffe000366f6086
x17: ffff80008fbbd000 x16: ffff8000832b8f3c x15: 0000000000000001
x14: 1fffe0001ac0fad0 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000080000 x10: 0000000000034d8c x9 : ffff8000a4239000
x8 : 0000000000034d8d x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff8000812d3e14
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 hfsplus_bnode_put+0x488/0x494 fs/hfsplus/bnode.c:618 (P)
 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+0x9c4/0x2334 fs/hfsplus/xattr.c:354
 hfsplus_initxattrs+0x194/0x250 fs/hfsplus/xattr_security.c:59
 security_inode_init_security+0x73c/0x908 security/security.c:1852
 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71
 hfsplus_fill_super+0x1064/0x16f8 fs/hfsplus/super.c:568
 get_tree_bdev_flags+0x38c/0x494 fs/super.c:1636
 get_tree_bdev+0x2c/0x3c fs/super.c:1659
 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:640
 vfs_get_tree+0x90/0x28c fs/super.c:1814
 do_new_mount+0x278/0x900 fs/namespace.c:3560
 path_mount+0x590/0xe04 fs/namespace.c:3887
 do_mount fs/namespace.c:3900 [inline]
 __do_sys_mount fs/namespace.c:4111 [inline]
 __se_sys_mount fs/namespace.c:4088 [inline]
 __arm64_sys_mount+0x4f4/0x5d0 fs/namespace.c:4088
 __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: aa1403e0 97e491e0 17ffffb7 97cf35f5 (d4210000) 
---[ end trace 0000000000000000 ]---