-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello!
In a13xp0p0v/kernel-hardening-checker#105 Daniel Micay @thestinger says that UNWIND_PATCH_PAC_INTO_SCS should be disabled, because it reduces security compared to both PAC and SCS.
Quoting:
PAC is a purely probabilistic security feature which can be bypassed through brute force attacks. PAC normally has 16 bits in the default configuration with 39-bit address space and 4k pages, but it drops to 7 bits with a 48-bit address space. It's even lower in some of the other configurations. SCS is a deterministic security feature, but it lacks a way to protect the shadow stack from arbitrary writes. It's difficult to say which is better, but having both enabled is clearly better for security than only PAC.
Please see more rationale in a13xp0p0v/kernel-hardening-checker#105.
How about changing the UNWIND_PATCH_PAC_INTO_SCS recommendation?
Thanks!