Exploit databaseDownload repository ZIP
GH-fa386b592df6375c1efae7da603b3406
freax13/cve-2023-20573-poc
Sources for CVE-2023-20573
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files10
freax13/cve-2023-20573-pocRevision 7543d420dfd3
- ↑..Parent directory
- exception/
- cpuid.rs
- exception.rs
- ghcb.rs
- main.rs
- pagetable.rs
- panic.rs
- reset_vector.rs
- reset_vector.s
- serial_logger.rs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
tee/kernel/src/cpuid.rs
Rust · 238 bytesuse core::cell::UnsafeCell;
use snp_types::cpuid::CpuidPage;
use crate::FakeSync;
#[no_mangle]
#[link_section = ".cpuid_page"]
static CPUID_PAGE: FakeSync<UnsafeCell<CpuidPage>> =
FakeSync::new(UnsafeCell::new(CpuidPage::zero()));