←
Ruiyi Zhang104 posts
Ruiyi Zhang avatar

Ruiyi Zhang

@Rayiizzz

Microarchitectural Security | PhD Candidate at CISPA | Ex Research Intern @Google | #StackWarp #CacheWarp

◷ Joined August 2019▧ 5 Photos and videos
Ruiyi Zhang avatar
Ruiyi Zhang@Rayiizzz·Jan 15

Today we reveal StackWarp: a new CPU vulnerability exploiting a synchronization bug in AMD’s stack engine across Zen 1–5 CPUs. It enables deterministic manipulation of Confidential VM's stack pointer, allowing RCE and privilege escalation via both control- and data-flow hijacking

0:53
Michael Schwarz avatar
⟳ Ruiyi Zhang retweeted
Michael Schwarz@misc0110·Jul 28

The uASC'27 submission deadline has been extended by one week to August 4, 2026. We welcome work on all aspects of microarchitectural security, including attacks, defenses, analysis, and hardware-software interactions. uasc.cc/ #uASC #Microarchitecture

Post attachment
Daniel Weber avatar
⟳ Ruiyi Zhang retweeted
Daniel Weber@weber_daniel·Apr 17

After an embargo of 256 days, I'm happy to reveal our newest work: we present TREVEX, a black-box CPU fuzzer that detects transient execution vulnerabilities in an automated manner. Running TREVEX on AMD, Intel, and Zhaoxin CPUs discovered multiple new CPU vulnerabilities!

Post attachment
HOSEIN YAVARZADEH avatar
⟳ Ruiyi Zhang retweeted
HOSEIN YAVARZADEH@hosein_yz·Apr 2

Private AI in Confidential VMs isn't as private as we thought. 🤯 We just showed how to reconstruct user LLM prompts word-for-word from inside an encrypted Intel TDX enclave—without breaking any cryptography. Introducing TDXRay (IEEE S&P 2026): tdxray.cpusec.org/ (1/4)

0:29
Ruiyi Zhang avatar
Ruiyi Zhang@Rayiizzz·Jan 16

If an SMT sibling disables it, the RSP delta becomes 'frozen' and is only released to a future execution context when the bit is toggled again. While the underlying bug exists across Zen 1-5, it only poses a security risk in specific scenarios, like within confidential computing.

Ruiyi Zhang avatar
Ruiyi Zhang@Rayiizzz·Jan 16

To clear up some confusion: the root cause lies in the stack engine, a CPU frontend optimization that manages the Stack Pointer (RSP) to reduce backend overhead. We discovered that an undocumented MSR bit acts as a toggle for this optimization. (1/2)

Today we reveal StackWarp: a new CPU vulnerability exploiting a synchronization bug in AMD’s stack engine across Zen 1–5 CPUs. It enables deterministic manipulation of Confidential VM's stack pointer, allowing RCE and privilege escalation via both control- and data-flow hijacking

0:53
Kav avatar
⟳ Ruiyi Zhang retweeted
Kav@kavehrazavi·Jan 12

The program for uASC'26 is online uasc.cc/program.html We have some very interesting papers which are already available, so be sure to check them out. Better yet, join us in Leuven next month to listen to the authors! Registration is still open and free but seats are limited.

Kav avatar
⟳ Ruiyi Zhang retweeted
Kav@kavehrazavi·20 May 2025

I am chairing the second edition of the microarchitecture security conference (uASC'26). Paper deadline for the first cycle is July 15. Please spread the word, submit, and/or join us in charming Leuven in February 2026! More info: uasc.cc