Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
MediumPublic exploit

StackWarp

IdentifiersCVE-2025-29943CWE-123· Write-what-where Condition

StackWarp (CVE-2025-29943) is a hardware/microarchitectural vulnerability in AMD Zen 1 through Zen 5 processors that affects confidential virtual machines protected by AMD SEV-SNP. The issue allows an admin-privileged host attacker, such as a malicious hypervisor or compromised cloud host, to modify CPU pipeline configuration in a way that corrupts the stack pointer inside an SEV-SNP guest. Public technical reporting attributes the flaw to improper synchronization in the CPU speculative stack engine and abuse of bit 19 of an undocumented core-scoped MSR (0xC0011029). By toggling this control from a sibling hyperthread, an attacker can freeze and later release stack-pointer updates, injecting a chosen offset into the guest VM’s stack pointer with deterministic precision. This breaks SEV-SNP integrity guarantees without requiring decryption of guest memory and can be used to hijack control flow or data flow inside the protected VM.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can undermine the integrity of SEV-SNP-protected guests and enable deterministic manipulation of execution state inside a confidential VM. Reported proof-of-concept impacts include authentication bypass in OpenSSH and sudo-related flows, guest privilege escalation including conditions leading the guest to treat a process as root, kernel-mode/ring-0 code execution through kernel stack modification, and extraction of cryptographic secrets such as recovery of an RSA-2048 private key from a faulty signature. More broadly, the vulnerability enables compromise of confidential VMs hosted on affected AMD platforms despite SEV-SNP protections, particularly in hostile-host or multi-tenant cloud threat models.

Mitigation

If you can’t patch tonight, do this now.

As an immediate compensating control, disable Simultaneous Multithreading (SMT) on SEV-SNP hosts, because published research states the attack requires cross-hyperthread manipulation from a sibling logical core. For high-integrity confidential computing deployments, restrict SEV-SNP workloads to fully patched hosts, avoid co-scheduling untrusted host activity on sibling threads, and monitor protected guests for anomalous crashes, stack corruption symptoms, unexpected authentication successes, or unexplained privilege transitions. Detection is inherently difficult because the attack is hardware-based.

Remediation

Patch, then assume compromise.

Apply AMD-provided microcode and platform/firmware updates referenced in AMD Security Bulletin AMD-SB-3027 for affected Zen 1–5 SEV-SNP-capable processors and associated EPYC/EPYC Embedded product lines. Available reporting indicates AMD released hot-loadable microcode updates for affected products beginning in July 2025 and October 2025, with some AGESA/platform initialization updates for certain EPYC Embedded lines scheduled later. Remediation should include updating host firmware, microcode, and any required platform initialization components across all SEV-SNP hosts.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 1 / 1 TOTALView more in app
POC_CVE-2025-29943_Write-what-where-ConditionMaturityPoCVerified exploit

Repository purpose and structure: - This repo is presented as a proof-of-concept for a hardware/virtualization vulnerability dubbed “StackWarp” (CVE-2025-29943) affecting AMD Zen CPUs and SEV-SNP guests. The stated threat model is a malicious/compromised hypervisor with root privileges manipulating CPU MSRs to corrupt a guest VM’s stack pointer (RSP), enabling control-flow hijack and potential secret extraction. Key components: 1) Kernel-module PoC (file: exploit) - A Linux kernel module named stackwarp_exploit (DRIVER_NAME "stackwarp_exploit"). - Core behavior: - Checks CPU vendor is AMD and family range 0x17–0x1A (intended to represent Zen 1–Zen 5). - In a kernel thread, reads MSR 0xC00110FF, sets bit 58 (STACKWARP_ENABLE_BIT), sleeps ~1000ms, then logs that it “triggered” corruption (actual trigger is a placeholder), and finally clears the bit. - This is primarily demonstrative: it shows MSR toggling and the intended exploitation phases, but does not implement VMID discovery, precise SMT synchronization, or a real corruption primitive. 2) Configuration and build artifacts (config/*, scripts/*) - config/environment.yaml documents assumed environment (kernel 5.15+, required modules kvm/kvm_amd/msr, SEV-SNP enabled, MSR address 0xC00110FF, control bit 58, delays, safety checks). - config/makefile builds stackwarp_exploit.o into stackwarp_exploit.ko. - scripts/setup.sh installs build dependencies and QEMU, and clones https://github.com/qemu/kvmtool.git. - scripts/build.sh compiles the kernel module (requires root). - scripts/test.sh (truncated in provided content) checks /proc/cpuinfo for AMD vendor/model and heuristically matches “Zen 1..5” strings. 3) Payload and post-exploitation tooling (payload/*) - payload/shellcode/stackwarp_shellcode.asm: x86_64 shellcode intended to run after RSP corruption; reads SYSCFG and SEV_STATUS MSRs, dumps registers, and scans nearby memory for PEM RSA key markers. - payload/memory_analysis/memory_scanner.py: Python tool to scan memory dumps for sensitive patterns (private keys, etc.). - Additional key-extraction logic appears in truncated docs content (searching for RSA/AES keys in a memory_dump.bin). 4) Documentation and references (docs/*, references/*) - docs/methodology.md outlines phases: reconnaissance (CPU/SEV-SNP/VMID), configuration (MSR bit), execution (timing/trigger), exploitation (shellcode/exfiltration). - references/cve-2025-29943.md and other reference docs describe affected CPU lines and mitigations (microcode update, kernel patches, disabling SMT, restricting MSR access). Notable observables / fingerprintable targets: - Local system files: /proc/cpuinfo, /dev/cpu/*/msr, /sys/devices/system/cpu/smt/control. - MSR addresses: 0xC00110FF (control), 0xC0010010 (SYSCFG), 0xC0010130 (SEV_STATUS). - External network endpoint used by setup: https://github.com/qemu/kvmtool.git. Overall assessment: - The kernel module is a PoC-style scaffold demonstrating the claimed MSR toggle and workflow, but the actual exploitation steps (precise trigger, VM targeting, reliable corruption, and code execution chain) are not implemented in the provided C code. The repo includes more aggressive “payload” artifacts (shellcode and memory scanners) consistent with a hypothetical post-compromise demonstration, but they are not integrated into an end-to-end exploit chain here.

fevar54Disclosed Jan 20, 2026cbashlocal (malicious hypervisor / root on host) targeting guest VM via CPU microarchitectural/MSR manipulation
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Advanced Micro DevicesCpuhardware

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

ACTIVITY FEED

Recent activity

13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

rescana blogNews
Jan 25, 2026
StackWarp (CVE-2025-29943): Critical SEV-SNP Vulnerability in AMD Zen 1-5 CPUs Exposes Confidential Computing to Privilege Escalation and Key Theft

A hardware/architectural flaw in AMD Zen 1–5 CPUs’ speculative stack engine (in SEV-SNP contexts) that allows a privileged host/hypervisor attacker to deterministically corrupt a guest VM’s stack pointer, enabling control-flow/data-flow manipulation leading to guest compromise (e.g., auth bypass, privilege escalation) and cryptographic key extraction via faulted operations.

Read more
the hacker newsNews
Jan 19, 2026
New StackWarp Hardware Flaw Breaks AMD SEV-SNP Protections on Zen 1-5 CPUs

A hardware/CPU microarchitectural vulnerability in AMD Zen 1 through Zen 5 affecting SEV-SNP confidential VMs, where a malicious, privileged host/hypervisor can manipulate a guest VM’s stack pointer via the stack engine, enabling control/data-flow hijack leading to code execution and privilege escalation inside the confidential VM.

Read more
scworldNews
Jan 16, 2026
StackWarp vulnerability exposes AMD SEV-SNP virtual machines | SC Media

A microarchitectural weakness in AMD Zen CPUs impacting AMD SEV-SNP confidential VMs, where an attacker with host access can manipulate a control bit to interfere with a VM’s stack pointer, enabling recovery of sensitive data (e.g., private keys), authentication bypass, and privilege escalation—undermining SEV-SNP integrity guarantees.

Read more
register securityNews
Jan 15, 2026
Flipping one bit leaves AMD CPUs open to VM vuln • The Register

A microarchitectural vulnerability in AMD Zen CPUs affecting AMD SEV-SNP confidential VMs when SMT is enabled, enabling a malicious host/hypervisor-side attacker to deterministically manipulate a guest’s stack pointer via the CPU stack engine and potentially recover secrets (e.g., private keys), bypass authentication, and escalate privileges up to ring-0.

Read more
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity7

Community discussion across Reddit, Mastodon, and other social sources.