r/lowlevel • u/ChrisAtStealthium • 55m ago
Turning a lowlevel vulnerability into an exploit chain. Getting GPU root with CVE-2026-47597
stealthium.ioBug found by D. Cohen Hillel (@0xDACA) and N. Trobishi & demoed at DEF CON 34 without releasing the exploit details.
Patched with a one line fix in 580.178.04 / 595.91.07 / 610.57.04 / 615.71.09
Why posting now? We found the bug interesting and wanted to take an attacker's perspective to see what's possible before we looked at detection possibilities. On the NVIDIA 595.84 driver we built a new deterministic exploit chain.
It's an(other) unprivileged pod to root on host for GPU environments stort, so most concerning for environments renting sliced/multi-tenanted GPU time.
The bug: refRemoveMapping() skips a check that the create path makes. When a mapping's context is the resource itself, cleanup removes a list node (that was never inserted in the first place), which corrupts the back-reference list, and teardown frees a ref that mappings still point to.
Starting point: uid 1001 in an ordinary GPU pod, using /dev/nvidia0 and /dev/nvidiactl. No privileged flag, hostPID or hostNetwork. + needs System V IPC with MSG_COPY and about 28 GiB of address space. On the validated kernels (7.0.0-1017-gcp, 6.11.0-1017-gcp) the first placement candidate is correct every time. Video in post is us demonstrating on Linux.
RE disclosure, I work at Stealthium! Authors are on our security team. Free to answer any Qs