loop3: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7343 at fs/hfsplus/bnode.c:671 hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 Modules linked in: CPU: 0 UID: 0 PID: 7343 Comm: syz.3.123 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 : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 sp : ffff8000a31d6c70 x29: ffff8000a31d6c80 x28: 1ffff0001463ad9c x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000080 x24: 0000000000000000 x23: ffff0001063080f8 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000c8562000 x19: ffff0000d4303300 x18: 00000000ffffffff x17: ffff800093524000 x16: ffff80008b0155d8 x15: 0000000000000001 x14: 1ffff0001463ad04 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000000d8c7 x9 : 31e45c034bfefd00 x8 : 31e45c034bfefd00 x7 : ffff800080563530 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807de538 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:670 (P) hfsplus_bmap_alloc+0x43c/0x4cc fs/hfsplus/btree.c:415 hfs_btree_inc_height+0xf8/0x8e0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x108/0xaa8 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x2e8/0x368 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x914/0x1ebc fs/hfsplus/xattr.c:358 hfsplus_initxattrs+0x18c/0x244 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x6dc/0x7f4 security/security.c:1852 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_mknod+0x18c/0x258 fs/hfsplus/dir.c:498 hfsplus_create+0x38/0x4c fs/hfsplus/dir.c:523 lookup_open fs/namei.c:3708 [inline] open_last_lookups fs/namei.c:3807 [inline] path_openat+0x12d8/0x2c40 fs/namei.c:4043 do_filp_open+0x18c/0x36c fs/namei.c:4073 do_sys_openat2+0x11c/0x1b4 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __arm64_sys_openat+0x120/0x158 fs/open.c:1461 __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+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 2638 hardirqs last enabled at (2637): [] irqentry_exit+0xd8/0x108 kernel/entry/common.c:214 hardirqs last disabled at (2638): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (2464): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2462): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:716! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7343 Comm: syz.3.123 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 : hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 lr : hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 sp : ffff8000a31d6d40 x29: ffff8000a31d6d40 x28: 0000000000000000 x27: dfff800000000000 x26: ffff70001463adbc x25: ffff8000a31d6de0 x24: 1fffe0001a860660 x23: ffff0000c8562000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d4303380 x19: ffff0000d4303300 x18: 00000000ffffffff x17: ffff800093524000 x16: ffff80008b0155d8 x15: 0000000000000001 x14: 1fffe0001a860670 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000002831f x9 : ffff8000a7f34000 x8 : 0000000000028320 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff8000812efa84 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 (P) hfs_btree_inc_height+0x48c/0x8e0 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x108/0xaa8 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x2e8/0x368 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x914/0x1ebc fs/hfsplus/xattr.c:358 hfsplus_initxattrs+0x18c/0x244 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x6dc/0x7f4 security/security.c:1852 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_mknod+0x18c/0x258 fs/hfsplus/dir.c:498 hfsplus_create+0x38/0x4c fs/hfsplus/dir.c:523 lookup_open fs/namei.c:3708 [inline] open_last_lookups fs/namei.c:3807 [inline] path_openat+0x12d8/0x2c40 fs/namei.c:4043 do_filp_open+0x18c/0x36c fs/namei.c:4073 do_sys_openat2+0x11c/0x1b4 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __arm64_sys_openat+0x120/0x158 fs/open.c:1461 __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+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: aa1403e0 97e5f908 17ffffb4 97d0fd82 (d4210000) ---[ end trace 0000000000000000 ]---