encyclopegia.org

Intel MPX

Intel MPX (Memory Protection Extensions) are a discontinued set of extensions to the x86 instruction set architecture.[src] With compiler, runtime library and operating system support, Intel MPX claimed to enhance security to software by checking pointer references whose normal compile-time intentions are maliciously exploited at runtime due to buffer overflows.[src] In practice, there have been too many flaws discovered in the design for it to be useful, and support has been deprecated or removed from most compilers and operating systems.[src] Intel has listed MPX as removed in 2019 and onward hardware in section 2.5 of its Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 1.[src]

Intel MPX (Memory Protection Extensions) are a discontinued set of extensions to the x86 instruction set architecture.[src] With compiler, runtime library and operating system support, Intel MPX claimed to enhance security to software by checking pointer references whose normal compile-time intentions are maliciously exploited at runtime due to buffer overflows.[src] In practice, there have been too many flaws discovered in the design for it to be useful, and support has been deprecated or removed from most compilers and operating systems.[src] Intel has listed MPX as removed in 2019 and onward hardware in section 2.5 of its Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 1.[src] ==Extensions== Intel MPX introduces new bounds registers, and new instruction set extensions that operate on these registers.[src] Additionally, there is a new set of "bound tables" that store bounds beyond what can fit in the bounds registers.[src] MPX uses four new 128-bit bounds registers, BND0 to BND3 , each storing a pair of 64-bit lower bound (LB) and upper bound (UB) values of a buffer.[src] The upper bound is stored in ones' complement form, with BNDMK (create bounds) and BNDCU (check upper bound) performing the conversion.[src] The architecture includes two configuration registers BNDCFGx ( BNDCFGU in user space and BNDCFGS in kernel mode), and a status register BNDSTATUS , which provides a memory address and error code in case of an exception.[src] Two-level address translation is used for storing bounds in memory.[src] The top layer consists of a Bounds Directory (BD) created on the application startup.[src] Each BD entry is either empty or contains a pointer to a dynamically created Bounds Table (BT), which in turn contains a set of pointer bounds along with the linear addresses of the pointers.[src] The bounds load ( BNDLDX ) and store ( BNDSTX ) instructions transparently perform the address translation and access bounds in the proper BT entry.[src] Intel MPX was introduced as part of the Skylake microarchitecture.[src] Intel Goldmont microarchitecture also supports Intel MPX.[src] ==Software support== glibc removed support in version 2.35.[src] GNU Compiler Collection (GCC) 5.0 added support for MPX.[src] In 2018, support for these extensions waned due to maintenance burdens and Intel developers intermittently contributing patches, resulting in a proposal to drop support in GCC 9.0.[src] Support was removed in GCC 9.1.[src] Intel C++ Compiler (icc) 15.0 added support for Intel MPX.[src] Kernel-level software support for Intel MPX was merged into the Linux kernel mainline in kernel version 3.19, which was released on February 8, 2015.[src] In 2018, Thomas Gleixner proposed removing MPX support from Linux kernel 4.18.[src] The pull request with its removal was posted in December 2018, during 4.20 development cycle, but wasn't accepted.[src] The second attempt was made in July 2019.[src] MPX support was removed in 5.6.[src] QEMU supported MPX since version 2.6 and dropped its support in 4.0 release.[src] Microsoft Visual Studio 2015 Update 1 added experimental support for MPX.[src] ==Analysis== A study examined a detailed cross-layer dissection of the MPX system stack and comparison with three prominent software-based memory protection mechanisms (AddressSanitizer, SAFECode, and SoftBound) and presents the following conclusions.[src] Even though Intel MPX is a specially designed hardware-assisted approach with its own added set of hardware registers, it is not faster than any of the software-based approaches.[src] New Intel MPX instructions can cause up to 4× slowdown in the worst case, although compiler optimizations amortize it and lead to runtime overheads of ~50% on average.[src] In contrast to the other software-based solutions, Intel MPX provides no protection against temporal memory safety errors.[src] Reading and writing from the doubly-indirected bounds tables is not thread-safe.[src] MPX does not support several common C/C++ programming idioms, such as flexible array members, referencing one field as an offset from another, etc.[src] MPX conflicts with some other ISA extensions, resulting in performance and security issues.[src] More specifically, these issues arise when Intel MPX is used in combination with other hardware-based protection mechanisms, such as Intel TSX and Intel SGX.[src] MPX instructions incur a significant performance penalty (15+%) even on Intel CPUs without MPX support.[src] In addition, a review concluded MPX was not production ready, and AddressSanitizer was a better option.[src] A review by Kostya Serebryany at Google, AddressSanitizer's developer, had similar findings.[src] ===Meltdown=== Another study exploring the scope of Spectre and Meltdown security vulnerabilities discovered that Meltdown can be used to bypass Intel MPX, using the Bound Range Exceeded (#BR) hardware exception.[src] According to their publication, the researchers were able to leak information through a Flush+Reload covert channel from an out-of-bound access on an array safeguarded by the MPX system.[src] Their Proof Of Concept has not been publicly disclosed.[src] ==See also== Memory protection keys Software Guard Extensions ==References== ==External links== Online supplementary material at https://intel-mpx.github.io.[src]

46 sentences · 46 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Intel MPX." encyclopegia.org, 2025, https://encyclopegia.org/wiki/intel-mpx. Accessed 30 November 2026.

Chicago

"Intel MPX." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/intel-mpx.

APA

encyclopegia.org. (2025). Intel MPX. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/intel-mpx

Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2015-02-08Wikipedia

Related articles

Intel Technology Journal

stub · references available

Intel Core 7

stub · references available

Mac transition to Intel processors

stub · references available

MPX

stub · references available

Intel 80286

stub · references available

Intel 80188

stub · references available

Intel 8284

stub · references available

MPX filter

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1305156751 · 0.5 · snapshot enwiki-001305156751

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.