CVE-2024-46794

x86/tdx: Fix data leak in mmio_read()

published September 18, 2024

CVSS
—
EPSS
0%
Percentile
9.0
In the wild
Unconfirmed
What it is

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

x86/tdx: Fix data leak in mmio_read()

The mmio_read() function makes a TDVMCALL to retrieve MMIO data for an

address from the VMM.

Sean noticed that mmio_read() 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. ]

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00197 · 9.0th percentile
Published
2024-09-18T07:12Z
EPSS history
Timeline
  • 18 SEP 07:12Z
    x86/tdx: Fix data leak in mmio_read()
    cvelistv5