PAC key changes when kernel code is preempted
Derrick McKee
derrick.mckee at gmail.com
Fri Apr 30 15:40:04 BST 2021
Hi,
I am noticing that when kernel code is preempted, PAC keys seem to
change when resuming execution. For instance, when I read
APDAKeyHi_EL1 and APDAKeyLo_EL1, sleep, and read them again, the
values are different. Is this the intended behavior? If so, how can
I ensure that the keys do not change? The different keys are causing
PAC authentication to fail on pointers signed using the stale key.
Thanks.
--
Derrick McKee
Email: derrick.mckee at gmail.com
More information about the linux-arm-kernel
mailing list