Cache buffers should be not be contiguous with stack - The report, "Enhancing the Development Life Cycle to Produce Secure Software", recommends that memory locations for cache buffers not be contiguous with executable stack/heap memory. Furthermore, the stack should be non-executable, if possible.
CWE-119 - Common Weaknesses Enumeration (CWE) description of "Failure to Constrain Operations within the Bounds of a Memory Buffer"