Exploit database

GH-fa386b592df6375c1efae7da603b3406

freax13/cve-2023-20573-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-20573

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files10
freax13/cve-2023-20573-pocRevision 7543d420dfd3

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

tee/kernel/src/cpuid.rs

Rust · 238 bytes
use 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()));