3 ms·
Control Flow Integrity (CFI) in the Linux Kernel [pdf]
- ndesaulniers 7y agohttps://youtu.be/0Bj6W7qrOOI https://youtu.be/0Bj6W7qrOOI
- aloknnikhil 7y agoInteresting. But the inevitable question, wouldn't the performance suffer because of the additional integrity check for every function call in the kernel?
- cbsks 7y ago"There is sometimes a bit of a performance hit from doing the validation, he said, but it is "not terrible"." LWN has a good article about this presentation: https://lwn.net/SubscriberLink/810077/ee9afb4cb5991cdf/ https://lwn.net/SubscriberLink/810077/ee9afb4cb5991cdf/
- viraptor 7y agoIt's not every function calls. Just the indirect ones. There's potential for the return pointer authentication in every function, but that's likely to be limited by default. Just like you can turn on stack protection only when there are local stack buffers being used in the function.