ArticleslgStudy

computer science

Microarchitectural Data Sampling

Microarchitectural Data Sampling is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Microarchitectural Data Sampling rather than just read about it. In short: The Microarchitectural Data Sampling (MDS) vulnerabilities are a set of weaknesses in Intel x86 microprocessors that use hyper-threading, and leak data across protection boundaries that are architecturally supposed to be secure. The attacks exploiting the vulnerabilities have been labeled Fallout, RIDL (Rogue In-Flight Data Load), ZombieLoad., and ZombieLoad 2.

Microarchitectural Data Sampling — main illustration
Microarchitectural Data Sampling — illustration

Key takeaways

  • Microarchitectural Data Sampling belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Microarchitectural Data Sampling to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Microarchitectural Data Sampling from memory before moving on to harder problems.

Reference excerpt

The Microarchitectural Data Sampling (MDS) vulnerabilities are a set of weaknesses in Intel x86 microprocessors that use hyper-threading, and leak data across protection boundaries that are architecturally supposed to be secure. The attacks exploiting the vulnerabilities have been labeled Fallout, RIDL (Rogue In-Flight Data Load), ZombieLoad., and ZombieLoad 2.

Description The vulnerabilities are in the implementation of speculative execution, which is where the processor tries to guess what instructions may be needed next. They exploit the possibility of reading data buffers found between different parts of the processor.

Microarchitectural Store Buffer Data Sampling (MSBDS), CVE-2018-12126 Microarchitectural Load Port Data Sampling (MLPDS), CVE-2018-12127 Microarchitectural Fill Buffer Data Sampling (MFBDS), CVE-2018-12130 Microarchitectural Data Sampling Uncacheable Memory (MDSUM), CVE-2019-11091 Transactional Asynchronous Abort (TAA), CVE-2019-11135 Not all processors are affected by all variants of MDS.

History According to Intel in a May 2019 interview with Wired, Intel's researchers discovered the vulnerabilities in 2018 before anyone else. Other researchers had agreed to keep the exploit confidential as well since 2018. On 14 May 2019, various groups of security researchers, amongst others from Austria's Graz University of Technology, Belgium's Catholic University of Leuven, and Netherlands' Vrije Universiteit Amsterdam, in a disclosure coordinated with Intel, published the discovery of the MDS vulnerabilities in Intel microprocessors, which they named Fallout, RIDL and ZombieLoad. Three of the TU Graz researchers were from the group who had discovered Meltdown and Spectre the year before. On 12 November 2019, a new variant of the ZombieLoad attack, called Transactional Asynchronous Abort, was disclosed.

Impact According to varying reports, Intel processors dating back to 2011 or 2008 are affected, and the fixes may be associated with a performance drop. Intel reported that processors manufactured in the month before the disclosure have mitigations against the attacks. Intel characterized the vulnerabilities as "low-to-medium" impact, disagreeing with the security researchers who characterized them as major, and disagreeing with their recommendation that operating system software manufacturers should completely disable hyperthreading. Nevertheless, the ZombieLoad vulnerability can be used by hackers exploiting the vulnerability to steal information recently accessed by the affected microprocessor.

Mitigation Fixes to operating systems, virtualization mechanisms, web browsers and microcode are necessary. As of 14 May 2019, applying available updates on an affected PC system was the most that could be done to mitigate the issues.

Intel incorporated fixes in its processors starting shortly before the public announcement of the vulnerabilities. On 14 May 2019, a mitigation was released for the Linux kernel, and Apple, Google, Microsoft, and Amazon released emergency patches for their products to mitigate ZombieLoad. On 14 May 2019, Intel published a security advisory on its website detailing its plans to mitigate ZombieLoad.

See also Transient execution CPU vulnerabilities Hardware security bug

References

Further reading

Original papers by the researchers Schwarz, Michael; Lipp, Moritz; Moghimi, Daniel; Van Bulck, Jo; Stecklina, Julian; Prescher, Thomas; Gruss, Daniel (2019-05-14). "ZombieLoad: Cross-Privilege-Boundary Data Sampling" (PDF). van Schaik, Stephan; Milburn, Alyssa; Österlund, Sebastian; Frigo, Pietro; Maisuradze, Giorgi; Razavi, Kaveh; Bos, Herbert; Giuffrida, Cristiano (2019-05-14). "RIDL: Rogue In-Flight Data Load" (PDF). Minkin, Marina; Moghimi, Daniel; Lipp, Moritz; Schwarz, Michael; Van Bulck, Jo; Genkin, Daniel; Gruss, Daniel; Piessens, Frank; Sunar, Berk; Yarom, Yuval (2019-05-14). "Fallout: Reading Kernel Writes From User Space" (PDF). Galowicz, Jacek; Prescher, Thomas; Stecklina, Julian (2019-05-14). "ZombieLoad: Cross Privilege-Boundary Data Leakage". Cyberus Technology GmbH. "cpu.fail". Graz University of Technology. 2019-05-14.

Information from processor manufacturers "Side Channel Vulnerability Microarchitectural Data Sampling". Intel. 2019-05-14. "Deep Dive: Intel Analysis of Microarchitectural Data Sampling". Intel. 2019-05-14.

External links Official disclosure website of ZombieLoad RIDL and Fallout: MDS attacks Vrije Universiteit Amsterdam

Illustrations

Microarchitectural Data Sampling illustration

Worked examples

Example 1 — a first encounter with Microarchitectural Data Sampling

Start with the simplest possible case. Write down what Microarchitectural Data Sampling claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Microarchitectural Data Sampling before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Microarchitectural Data Sampling ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Microarchitectural Data Sampling

In research
Microarchitectural Data Sampling appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Microarchitectural Data Sampling in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Microarchitectural Data Sampling is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2019 in computing, Intel x86 microprocessors, Transient execution CPU vulnerabilities, so understanding it makes those chapters shorter.
In everyday life
Look for Microarchitectural Data Sampling outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Microarchitectural Data Sampling” →

How to study Microarchitectural Data Sampling in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Microarchitectural Data Sampling means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Microarchitectural Data Sampling out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Microarchitectural Data Sampling in simple terms?

The Microarchitectural Data Sampling (MDS) vulnerabilities are a set of weaknesses in Intel x86 microprocessors that use hyper-threading, and leak data across protection boundaries that are architecturally supposed to be secure. The attacks exploiting the vulnerabilities have been labeled Fallout…

Why does Microarchitectural Data Sampling matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Microarchitectural Data Sampling?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Microarchitectural Data Sampling.

Tags

  • 2019 in computing
  • Intel x86 microprocessors
  • Transient execution CPU vulnerabilities
  • X86 memory management

Keep exploring