r/linux • u/GrahamPhisher • 14d ago
Security KVM vulnerability: a VM read 127 GB of host RAM
https://opnf.sh/news/kvm-vulnerability-cve-2026-99312/?via=redditTerra Security's Oren Yomtov had root inside a DigitalOcean Droplet and used it to read about 127 GB of the host server's memory. On a shared host, that memory holds other customers' virtual machines. The KVM vulnerability behind it, CVE-2026-99312, only works on AMD hosts with nested virtualization switched on, which KVM's AMD module does by default.
723
Upvotes
56
u/looncraz 14d ago
Does this bypass AMD's memory encryption technologies? I would imagine they could get to host RAM, but not see other VM content since each VM is encrypted by hardware with a different key and can't even be read by the hypervisor...
84
u/nertwork 14d ago
Yeah - stuff like this is why strict IOMMU isolation and keeping untrusted workloads off shared hypervisors matters so much ... curious if this ended up being a QEMU device emulation bug or an actual KVM MMU/page-table issue
13
u/Sea_Today8613 13d ago
And this is why everybody got pissed when AMD pulled TSME from consumer Ryzen.
134
u/[deleted] 14d ago
Couldn't happen to a nicer company
36
u/yawara25 14d ago
I'm not an expert, but isn't this somewhat irresponsible to do without coordinating with DO first?
3
u/guillaje 13d ago
What are the use cases of nested virtualization ?
3
u/natermer 13d ago
Redhat's article on it is easier to consume: https://access.redhat.com/security/cve/cve-2026-99312
7
u/SoilMassive6850 14d ago
That sounds illegal.
2
u/drinkplentyofwater 14d ago
crazy