Critical Vulnerability in Linux Kernel: TDX_HYPERCALL Register Handling Flaw

linux Updated 02 Oct 2025

Summary

21/05/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-52874: 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 regi... Affects linux versions < 6.6.8-1. Fixed in 6.6.8-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It is a critical piece of software that supports a wide range of functionalities, including process management, memory management, and device control. The vulnerability in question affects the TDX (Trusted Domain Extensions) feature, which is designed to enhance security in virtualized environments. This specific flaw can lead to potential security risks if not addressed promptly.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the TDX_HYPERCALL macro, where the RSI register is not zeroed out after a TDCALL instruction returns from an untrusted Virtual Machine Monitor (VMM). This oversight can lead to speculative execution of untrusted values, potentially compromising the security of the TDX guest. The issue originated from a series of commits that altered register handling, ultimately resulting in the omission of the necessary instruction to clear the RSI register. This vulnerability could allow attackers to exploit the system by manipulating the uninitialized register values.

How To Fix

Minimum fixed version

6.6.8-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

The identified vulnerability in the Linux kernel's TDX_HYPERCALL macro poses significant security risks due to improper handling of the RSI register. It is vital for users to update their systems to the patched version 6.6.8-1 to ensure protection against potential exploits. Regular monitoring and prompt updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

It is a flaw in the Linux kernel where the RSI register is not properly cleared after a TDCALL instruction, potentially allowing speculative execution of untrusted values.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.

If exploited, this vulnerability could allow attackers to manipulate uninitialized register values, leading to potential security breaches in the TDX guest environment.

Yes, the patched version of the Linux package is 6.6.8-1. It is recommended to update your system to this version to mitigate the risk.

While there are no specific workarounds, it is crucial to monitor your system for any suspicious activity and apply the patch as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.6.8-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback