loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: fs/hfsplus/bnode.c:631 at hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:630, CPU#1: syz.0.307/8661 Modules linked in: CPU: 1 UID: 0 PID: 8661 Comm: syz.0.307 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:630 lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:630 sp : ffff800099e769d0 x29: ffff800099e769e0 x28: 0000000000001f00 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000080 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000f7666000 x19: ffff0000cdda0800 x18: 1fffe00033781890 x17: ffff80008f86e000 x16: ffff800082e5e68c x15: 0000000000000001 x14: 1ffff000133cecb4 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000034ba7 x9 : dbee28029e1bbd00 x8 : dbee28029e1bbd00 x7 : ffff8000805761f8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807f1260 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:630 (P) hfsplus_bmap_alloc+0x580/0x87c fs/hfsplus/btree.c:421 hfs_btree_inc_height+0xf8/0x8e0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x108/0xb18 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x2f4/0x424 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x928/0x2004 fs/hfsplus/xattr.c:356 hfsplus_initxattrs+0x18c/0x244 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x6c8/0x7d4 security/security.c:1344 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_fill_super+0xf04/0x1460 fs/hfsplus/super.c:608 get_tree_bdev_flags+0x360/0x414 fs/super.c:1691 get_tree_bdev+0x2c/0x3c fs/super.c:1714 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:680 vfs_get_tree+0x90/0x28c fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3712 path_mount+0x5b4/0xdfc fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4201 __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/0x26c 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: 4110 hardirqs last enabled at (4109): [] irqentry_exit+0x1b4/0x308 kernel/entry/common.c:219 hardirqs last disabled at (4110): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:412 softirqs last enabled at (2466): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2464): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:676! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 8661 Comm: syz.0.307 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+0x42c/0x4a8 fs/hfsplus/bnode.c:676 lr : hfsplus_bnode_put+0x42c/0x4a8 fs/hfsplus/bnode.c:676 sp : ffff800099e76ac0 x29: ffff800099e76ad0 x28: 0000000000000000 x27: dfff800000000000 x26: ffff7000133ced6c x25: ffff800099e76b60 x24: 0000000000002000 x23: ffff0000f7666000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000cdda0880 x19: ffff0000cdda0800 x18: 1fffe00033781890 x17: ffff80008f86e000 x16: ffff800082e5e68c x15: 0000000000000001 x14: 1fffe00019bb4110 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000005149d x9 : ffff8000a5ffb000 x8 : 000000000005149e x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff80008134cbd8 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x42c/0x4a8 fs/hfsplus/bnode.c:676 (P) hfs_btree_inc_height+0x48c/0x8e0 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x108/0xb18 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x2f4/0x424 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x928/0x2004 fs/hfsplus/xattr.c:356 hfsplus_initxattrs+0x18c/0x244 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x6c8/0x7d4 security/security.c:1344 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_fill_super+0xf04/0x1460 fs/hfsplus/super.c:608 get_tree_bdev_flags+0x360/0x414 fs/super.c:1691 get_tree_bdev+0x2c/0x3c fs/super.c:1714 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:680 vfs_get_tree+0x90/0x28c fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3712 path_mount+0x5b4/0xdfc fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4201 __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/0x26c 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: f94007f7 f2fbfff6 17ffff0c 97d006d8 (d4210000) ---[ end trace 0000000000000000 ]---