
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52874 is a vulnerability discovered in the Linux kernel, specifically affecting the x86/tdx TDX_HYPERCALL macro implementation. The vulnerability was officially recorded on May 21, 2024, and involves improper handling of register clearing after TDCALL instruction returns from the untrusted VMM (CVE Mitre).
The vulnerability stems from a missing register clearing operation in the TDX_HYPERCALL assembly code. Specifically, after the TDCALL instruction returns from the untrusted VMM, certain registers shared with the VMM need to be cleared to prevent speculative execution of VMM-provided values. The RSI register, although specified in the bitmap of registers to be cleared, was not being properly zeroed out. This issue originated from a series of code changes where the 'pop %rsi' instruction was removed without adding back the necessary 'xor %rsi, %rsi' operation (CVE Mitre).
The vulnerability could potentially lead to speculative execution of VMM-provided values, which could compromise the security of the TDX (Trust Domain Extensions) implementation in the Linux kernel (CVE Mitre).
The vulnerability has been resolved by adding back the missing 'xor %rsi, %rsi' instruction in the TDX_HYPERCALL macro. This fix ensures proper clearing of the RSI register after TDCALL instruction returns (CVE Mitre).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."