loop4: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7517 at fs/hfsplus/bnode.c:630 hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:629 Modules linked in: CPU: 0 UID: 0 PID: 7517 Comm: syz.4.152 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:629 lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:629 sp : ffff8000a0be69b0 x29: ffff8000a0be69c0 x28: 0000000000001bf8 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000080 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000d80b6000 x19: ffff0000d48e8100 x18: 1fffe000337d4a90 x17: ffff80008f5ae000 x16: ffff800082defcc0 x15: 0000000000000001 x14: 1ffff0001417ccb0 x13: 0000000000000000 x12: 0000000000000000 x11: ffff70001417ccb1 x10: 0000000000ff0100 x9 : a5ad61151c71d800 x8 : a5ad61151c71d800 x7 : ffff8000804936c4 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff8000807d6f80 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:629 (P) hfsplus_bmap_alloc+0x55c/0x858 fs/hfsplus/btree.c:421 hfs_btree_inc_height+0xf8/0x8e0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x108/0xaf4 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x2f4/0x400 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x920/0x1fb0 fs/hfsplus/xattr.c:358 hfsplus_initxattrs+0x18c/0x244 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x6dc/0x7f4 security/security.c:1891 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_fill_super+0x1080/0x16fc fs/hfsplus/super.c:587 get_tree_bdev_flags+0x360/0x414 fs/super.c:1698 get_tree_bdev+0x2c/0x3c fs/super.c:1721 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:659 vfs_get_tree+0x90/0x28c fs/super.c:1758 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3642 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3718 path_mount+0x5b4/0xdfc fs/namespace.c:4028 do_mount fs/namespace.c:4041 [inline] __do_sys_mount fs/namespace.c:4229 [inline] __se_sys_mount fs/namespace.c:4206 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4206 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/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:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 2654 hardirqs last enabled at (2653): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1559 [inline] hardirqs last enabled at (2653): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5073 hardirqs last disabled at (2654): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:412 softirqs last enabled at (2412): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (2412): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:650 softirqs last disabled at (2397): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:675! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7517 Comm: syz.4.152 Tainted: G W syzkaller #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x568/0x71c fs/hfsplus/bnode.c:675 lr : hfsplus_bnode_put+0x568/0x71c fs/hfsplus/bnode.c:675 sp : ffff8000a0be6a90 x29: ffff8000a0be6aa0 x28: 0000000000000000 x27: dfff800000000000 x26: ffff70001417cd68 x25: 1fffe0001a91d020 x24: ffff0000d80b6000 x23: dfff800000000000 x22: 1fffe0001a91d030 x21: 0000000000000000 x20: ffff0000d48e8180 x19: ffff0000d48e8100 x18: 1fffe000337d4a90 x17: ffff80008f5ae000 x16: ffff800082defcc0 x15: 0000000000000001 x14: 1fffe0001a91d030 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001a91d031 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000dc82bd80 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff80008130ca18 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x568/0x71c fs/hfsplus/bnode.c:675 (P) hfs_btree_inc_height+0x48c/0x8e0 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x108/0xaf4 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x2f4/0x400 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x920/0x1fb0 fs/hfsplus/xattr.c:358 hfsplus_initxattrs+0x18c/0x244 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x6dc/0x7f4 security/security.c:1891 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_fill_super+0x1080/0x16fc fs/hfsplus/super.c:587 get_tree_bdev_flags+0x360/0x414 fs/super.c:1698 get_tree_bdev+0x2c/0x3c fs/super.c:1721 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:659 vfs_get_tree+0x90/0x28c fs/super.c:1758 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3642 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3718 path_mount+0x5b4/0xdfc fs/namespace.c:4028 do_mount fs/namespace.c:4041 [inline] __do_sys_mount fs/namespace.c:4229 [inline] __se_sys_mount fs/namespace.c:4206 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4206 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/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:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: d2d00017 f2fbfff7 17fffebe 97d0a936 (d4210000) ---[ end trace 0000000000000000 ]---