Making Use Of Intel MPX Extensions On Linux

Written by Michael Larabel in Intel on 20 March 2016 at 05:03 PM EDT. 5 Comments
INTEL
Intel MPX memory protection aims to safeguard against buffer overflows in programs assuming you have a supported processor and software stack. Over at Intel's Open-Source Technology Center they published a guide this week on making use of Intel MPX under Linux.

The software requirements for utilizing Intel Memory Protection Extensions (MPX) on Linux include the Linux 3.19 kernel (but Linux 4.1 or newer is recommended), GCC 5.0 or newer, Glibc 2.20 or newer, Binutils 2.24 or newer, and GDB 7.9 or newer. On the hardware side, MPX support is present with latest-generation Skylake processors and newer. This combination of software and hardware allows for checking pointer references to look for buffer overflows.

If you are interested in how to build software with the MPX instruction support, debugging MPX exceptions with GDB, and more, you can read this week's post by Intel's Dave Hasen. Visit 01.org.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week