Bypassing the Guard: How 4KB Was Not Enough
CVE-2017-1000364 exploited the insufficiency of the standard 4KB stack guard page, allowing the stack to "jump over" this protective barrier and collide with adjacent memory regions for privilege escalation.
The top 3
- Top 3 OS Families Hit by Stack Clash: The Stack Clash vulnerability (CVE-2017-1000364) primarily impacted Unix-like operating systems, with Linux, OpenBSD, NetBSD, FreeBSD, and Solaris on i386 and amd64 architectures requiring urgent patches.
- The 'Jump Over' Bypass: How 4KB Failed: The 4KB stack guard page was bypassed because the stack pointer could 'jump' over it by more than a page, advancing into other memory regions without triggering a page-fault exception, thus allowing memory corruption.
- From 4KB to 1MB: Guard Page Evolution: Following the Stack Clash, operating systems like Linux significantly increased the stack guard gap size from the insufficient 4KB to 1 MiB, complemented by compiler-level protections like GCC's `-fstack-clash-protection` to probe large stack allocations.
Sources
Open the full topic