Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-52874

7.1 · HIGH
Published May 21, 2024 linux EPSS 0.25% (17th pctl)

Overview

CVE-2023-52874 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

x86/tdx: Zero out the missing RSI in TDX_HYPERCALL macro

In the TDX_HYPERCALL asm, after the TDCALL instruction returns from the

untrusted VMM, the registers that the TDX guest shares to the VMM need

to be cleared to avoid speculative execution of VMM-provided values.

RSI is specified in the bitmap of those registers, but it is missing

when zeroing out those registers in the current TDX_HYPERCALL.

It was there when it was originally added in commit 752d13305c78

("x86/tdx: Expand __tdx_hypercall() to handle more arguments"), but was

later removed in commit 1e70c680375a ("x86/tdx: Do not corrupt

frame-pointer in __tdx_hypercall()"), which was correct because %rsi is

later restored in the "pop %rsi". However a later commit 7a3a401874be

("x86/tdx: Drop flags from __tdx_hypercall()") removed that "pop %rsi"

but forgot to add the "xor %rsi, %rsi" back.

Fix by adding it back.

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.4, < 6.5.12 Affected

Frequently Asked Questions

What is CVE-2023-52874?

CVE-2023-52874 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2023-52874?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-52874?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52874?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-52874 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.