CVE-2024-46794: x86/tdx: Fix data leak in mmio_read()
In the Linux kernel, the following vulnerability has been resolved:
x86/tdx: Fix data leak in mmioread()
The mmioread() function makes a TDVMCALL to retrieve MMIO data for an address from the VMM.
Sean noticed that mmioread() unintentionally exposes the value of an initialized variable (val) on the stack to the VMM.
This variable is only needed as an output value. It did not need to be passed to the VMM in the first place.
Do not send the original value of val to the VMM.
[ dhansen: clarify what 'val' is used for. ]
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-46794?
CVE-2024-46794 is classified as a high-severity vulnerability due to its potential to leak initialized MMIO data.
How do I fix CVE-2024-46794?
To address CVE-2024-46794, upgrade to the latest patched versions of the Linux kernel, specifically 5.10.223-1, 6.1.123-1, or later versions.
Which versions of the Linux kernel are affected by CVE-2024-46794?
CVE-2024-46794 affects Linux kernel versions up to 5.19, as well as versions from 6.1.0 up to 6.1.110, and certain versions from 6.6.x and 6.10.x.
What type of vulnerability is CVE-2024-46794?
CVE-2024-46794 is a data leak vulnerability in the Linux kernel's mmio_read() function.
Is there a known exploit for CVE-2024-46794?
As of now, there are no public reports of an exploit actively being used against CVE-2024-46794.