Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 7590 Comm: syz.3.345 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:320 [inline] RIP: 0010:__hfsplus_setxattr+0x1c86/0x2890 fs/hfsplus/xattr.c:432 Code: 8b 36 49 83 c6 30 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 58 6a 86 ff 4d 8b 36 49 83 c6 08 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 3b 6a 86 ff 4d 8b 36 49 8d be 50 RSP: 0018:ffffc9001cfcf420 EFLAGS: 00010202 RAX: 0000000000000001 RBX: fffff520039f9ea4 RCX: 0000000000080000 RDX: ffffc900066a1000 RSI: 00000000000016ac RDI: 00000000000016ad RBP: ffffc9001cfcf8f8 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff9400035b8b7 R12: dffffc0000000000 R13: ffff88802d882ee0 R14: 0000000000000008 R15: ffff888029b01030 FS: 00007f52434be6c0(0000) GS:ffff888125f25000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33522ff8 CR3: 000000002a50e000 CR4: 00000000003526f0 Call Trace: hfsplus_setxattr+0x124/0x340 fs/hfsplus/xattr.c:555 hfsplus_trusted_setxattr+0x40/0x60 fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x43c/0x480 fs/xattr.c:218 __vfs_setxattr_noperm+0x12d/0x660 fs/xattr.c:252 vfs_setxattr+0x163/0x370 fs/xattr.c:339 do_setxattr fs/xattr.c:657 [inline] filename_setxattr+0x296/0x630 fs/xattr.c:685 path_setxattrat+0x3eb/0x440 fs/xattr.c:729 __do_sys_setxattr fs/xattr.c:763 [inline] __se_sys_setxattr fs/xattr.c:759 [inline] __x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:759 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f524526cdd9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f52434be028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f52454e5fa0 RCX: 00007f524526cdd9 RDX: 0000200000000080 RSI: 00002000000000c0 RDI: 0000200000000000 RBP: 00007f5245302d69 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f52454e6038 R14: 00007f52454e5fa0 R15: 00007fff0eabdee8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:320 [inline] RIP: 0010:__hfsplus_setxattr+0x1c86/0x2890 fs/hfsplus/xattr.c:432 Code: 8b 36 49 83 c6 30 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 58 6a 86 ff 4d 8b 36 49 83 c6 08 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 3b 6a 86 ff 4d 8b 36 49 8d be 50 RSP: 0018:ffffc9001cfcf420 EFLAGS: 00010202 RAX: 0000000000000001 RBX: fffff520039f9ea4 RCX: 0000000000080000 RDX: ffffc900066a1000 RSI: 00000000000016ac RDI: 00000000000016ad RBP: ffffc9001cfcf8f8 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff9400035b8b7 R12: dffffc0000000000 R13: ffff88802d882ee0 R14: 0000000000000008 R15: ffff888029b01030 FS: 00007f52434be6c0(0000) GS:ffff888125f25000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33522ff8 CR3: 000000002a50e000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 8b 36 mov (%rsi),%esi 2: 49 83 c6 30 add $0x30,%r14 6: 4c 89 f0 mov %r14,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 12: 74 08 je 0x1c 14: 4c 89 f7 mov %r14,%rdi 17: e8 58 6a 86 ff call 0xff866a74 1c: 4d 8b 36 mov (%r14),%r14 1f: 49 83 c6 08 add $0x8,%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 3b 6a 86 ff call 0xff866a74 39: 4d 8b 36 mov (%r14),%r14 3c: 49 rex.WB 3d: 8d .byte 0x8d 3e: be .byte 0xbe 3f: 50 push %rax