Kernel security: beyond bug fixing
Kernel security: beyond bug fixing
Posted Oct 30, 2015 13:28 UTC (Fri) by mm7323 (subscriber, #87386)In reply to: Kernel security: beyond bug fixing by dunlapg
Parent article: Kernel security: beyond bug fixing
You could change the ABIs to make the stack ascending, from low to high addresses. It's a lot of retooling, but there isn't any reason why it can't be done. ARM LDM and STM instructions have ascending modes, so the change wouldn't cost performance, though I have no idea about x86 and other architectures.
However, while such an ABI might make buffer overruns a little harder to exploit, because the overrun would generally be into the unused stack space, but I don't think it solves the problem; underuns or malicious code can still find return addresses in predictable read/write memory locations on the stack.