AMD vulnerabilities
4 real-world CVEs in AMD. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2023-31315high 7.52024
Sinkclose: AMD SMM save-state redirection
A ring-0 attacker can set the TClose compatibility bit before an SMI so SMM accesses to the protected TSeg range are redirected through MMIO, exposing the save-state path to attacker influence.
- CVE-2023-20592medium 6.52023
CacheWarp: INVD drops confidential-VM writes
A malicious hypervisor can use unexpected INVD behavior to invalidate selected dirty cache lines without writing them back, making an SEV-ES or SEV-SNP guest later reload an older encrypted memory value.
- CVE-2023-20569medium 4.72023
Inception: transient calls poison future return prediction
Phantom speculation can make a non-branch instruction appear as a recursive call, allowing transient execution itself to overflow the return predictor with an attacker-controlled target that a later victim return follows.
- CVE-2023-20593medium 5.52023
Zenbleed: speculative VZEROUPPER releases live register state
A mispredicted VZEROUPPER combined with merge optimization and register renaming can roll back zero metadata after a physical vector-register slot has been released and reused, exposing data from another execution context.