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
Split CFI jump tables between core kernel and entry code so KPTI doesn't have to map the entire jump table #23
There seems to be some generated code that is being run at syscall entry that is not mapped. I suspect there is something still doing CFI checks on entry (and their resulting jump tables are missing), but I haven't found them yet. For now, disable KPTI under CFI (at run time, so test kernels can still boot with "pti" to enable it again).
changed the title [-]KPTI+CFI on x86 trips over something in entry code[/-][+]Split CFI jump tables between core kernel and entry code so KPTI doesn't have to map the entire jump table[/+]on Mar 11, 2021
Activity
kees commentedon Feb 25, 2020
Looks like current best solution is to just always map the jump tables.
[-]KPTI+CFI on x86 trips over something in entry code[/-][+]Split CFI jump tables between core kernel and entry code so KPTI doesn't have to map the entire jump table[/+]kees commentedon Sep 16, 2021
No longer an issue; the entry code is using the opaque types to avoid CFI instrumentation.