------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7782 Comm: syz.4.258 Not tainted 6.15.0-rc5-syzkaller-gc32f8dc5aaf9 #0 PREEMPT 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_create_attributes_file fs/hfsplus/xattr.c:175 [inline] pc : __hfsplus_setxattr+0x1e1c/0x1e88 fs/hfsplus/xattr.c:331 lr : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] lr : __hfsplus_setxattr+0x1e1c/0x1e88 fs/hfsplus/xattr.c:331 sp : ffff80009d897140 x29: ffff80009d8975a0 x28: 0000000000000001 x27: ffff0000d6764000 x26: 0000000000000001 x25: ffff0000c73ec580 x24: ffff0000d6764038 x23: ffff700013b12e40 x22: 0000000000010000 x21: ffff0000d73a7320 x20: dfff800000000000 x19: ffff0000c73ebe70 x18: 00000000ffffffff x17: ffff800092f27000 x16: ffff800080525898 x15: 0000000000000001 x14: 1fffe00018e7d8b0 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000004f63 x9 : ffff8000a54ec000 x8 : 0000000000004f64 x7 : ffff800080d79a00 x6 : 0000000000000000 x5 : 0000000000000020 x4 : ffff80009d896da0 x3 : ffff80008129258c x2 : 0000000000000000 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] (P) __hfsplus_setxattr+0x1e1c/0x1e88 fs/hfsplus/xattr.c:331 (P) 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:3701 [inline] open_last_lookups fs/namei.c:3800 [inline] path_openat+0x12d8/0x2c40 fs/namei.c:4036 do_filp_open+0x18c/0x36c fs/namei.c:4066 do_sys_openat2+0x11c/0x1b4 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __arm64_sys_openat+0x120/0x158 fs/open.c:1455 __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+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: d4210000 97d20533 d4210000 97d20531 (d4210000) ---[ end trace 0000000000000000 ]---