WARNING: CPU: 0 PID: 13804 at fs/hfsplus/bnode.c:584 hfsplus_bnode_create+0x3dd/0x460 fs/hfsplus/bnode.c:583 Modules linked in: CPU: 0 PID: 13804 Comm: syz-executor.4 Not tainted 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:hfsplus_bnode_create+0x3dd/0x460 fs/hfsplus/bnode.c:584 Code: 8a 44 89 e6 e8 cd e0 d9 07 e9 4c fd ff ff e8 ba 47 3f ff 4c 89 ef e8 02 83 e4 07 48 c7 c7 60 5f 9f 8a 44 89 e6 e8 ac e0 d9 07 <0f> 0b eb b5 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 59 fc ff ff 48 89 RSP: 0000:ffffc900030a7090 EFLAGS: 00010246 RAX: 0000000000000023 RBX: ffff88801c171700 RCX: 34d849b317ad1200 RDX: ffffc9000d583000 RSI: 0000000000006e6a RDI: 0000000000006e6b RBP: 0000000000000000 R08: ffffffff8166661c R09: ffffed10173667a8 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8880137e00e0 R14: ffff8880137e0000 R15: dffffc0000000000 FS: 00007f0a1d1716c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04f8462000 CR3: 000000005024e000 CR4: 00000000003526f0 DR0: 0001000000000006 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bmap_alloc+0x63c/0x720 fs/hfsplus/btree.c:414 hfs_btree_inc_height+0x11a/0xdb0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x162/0xdd0 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x49a/0x630 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x6ed/0x22c0 fs/hfsplus/xattr.c:354 hfsplus_setxattr+0xac/0xe0 fs/hfsplus/xattr.c:434 hfsplus_trusted_setxattr+0x3c/0x50 fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216 vfs_setxattr+0x21d/0x420 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x27e/0x2e0 fs/xattr.c:611 __do_sys_fsetxattr fs/xattr.c:667 [inline] __se_sys_fsetxattr+0x194/0x210 fs/xattr.c:656 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f0a1ebf0da9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0a1d1710c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000be RAX: ffffffffffffffda RBX: 00007f0a1ed1ef80 RCX: 00007f0a1ebf0da9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007f0a1ec3d47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0a1ed1ef80 R15: 00007ffc6552e288