logoalt Hacker News

rramadasstoday at 8:40 AM1 replyview on HN

Preventing stack guard-page hopping - https://lwn.net/Articles/725832/

According to this article, allocation in page sizes with implicit probing is used;

Stack clash mitigation in GCC, Part 3 (-fstack-clash-protection option) - https://developers.redhat.com/blog/2020/05/22/stack-clash-mi...


Replies

avadodintoday at 10:20 AM

Thank you for the context. But still.

You have a desirable performance optimization feature —used in every Linux program— that happens to interfere with a lousy exploit mitigation.

No one should ever need more than 64kBs for a stack anyways.

show 1 reply