You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NativeAOT][tvOS] PacStripPtr executes xpaci on devices without pointer authentication #130470
Representative crash reports from AppleHybrid.Tests and System.Runtime.Extensions.Tests show EXC_BAD_INSTRUCTION with SIGILL on AppleTV5,3. The faulting opcode is 0xDAC143E0, which decodes to xpaci x0.
The affected Apple TV model uses the Apple A8 processor, which does not implement pointer authentication. xpaci is not a hint-space instruction, so executing it on this device raises an illegal-instruction exception.
#128950 introduced this NativeAOT implementation in src/coreclr/nativeaot/Runtime/arm64/MiscStubs.S and src/coreclr/nativeaot/Runtime/arm64/MiscStubs.asm.
PacStripPtr: xpaci x0ret
#129130 previously fixed the equivalent CoreCLR implementation by moving the pointer through lr and using xpaclri. The xpaclri encoding is in architectural hint space and acts as a no-op on hardware without pointer authentication. The NativeAOT implementation was added later and did not use that pattern. Current main still contains xpaci x0.
Activity
dotnet-policy-service commentedon Jul 10, 2026
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Jul 10, 2026
Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.