TECH FLOW Svět Androida
← Back to the stream
github.com · picked by Petr Mišák · 51d ago

DRAM controller vulnerability: accessing protected CPU regions via address translation manipulation

Source preview: DRAM controller vulnerability: accessing protected CPU regions via address translation manipulation
AI summary

The skitter-creek-bath-salts project demonstrates a vulnerability in AMD Family 16h CPU DRAM controllers that allows manipulation of physical addresses in memory. This "scrambling" of DRAM enables access to protected regions such as PSP, SMM, and microcode, bypassing security mechanisms built on address translation.

The summary is written by AI from the source; it isn’t the newsroom’s opinion. For details, read the source.

7 people have already opened the source

AI questions & answers
How does address translation work in modern processors?

An address starts as a virtual address (VA), which the MMU translates via TLB and page tables into a physical address. This physical address then undergoes further transformations in the memory controller (interleaving, scrambling) before accessing physical DRAM.

Why is manipulating the DRAM controller dangerous?

The DRAM controller is normally used for performance optimization (interleaving, XOR scrambling), but modifying its registers can be exploited to redirect physical addresses. This allows bypassing memory isolation and accessing protected regions like SMM or PSP.

Why doesn't this vulnerability affect newer processors?

AMD stopped documenting DRAM controller registers and their locking mechanisms from the 17h series onward. Without public documentation, the technique cannot be applied to newer processors, though the physical principles remain the same.

Which security features can be bypassed?

The technique can bypass isolation of the Platform Security Processor (PSP), System Management Mode (SMM), and access to CPU microcode. All these components rely on physical memory protection, which DRAM scrambling compromises.

Questions and answers are written by AI about the topic, not taken from the source; they aren’t the newsroom’s opinion.
Related from the stream
Mentions
  • skitter-creek-bath-salts
  • AMD Family 16h
  • Platform Security Processor
  • System Management Mode
  • DRAM
  • MMU
  • TLB
  • IOMMU
  • xoreaxeaxeax