CVE-2024-46794
JSON

3.3low

x86/tdx: Fix data leak in mmio_read()

Severity
3.3low CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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. ]

Affected

Product or packageVersionsReported by
Linux Linuxfrom 31d58c4e557d46fa7f8557714250fb6f89c941ae before 26c6af49d26ffc377e392e30d4086db19eed0ef7, from 31d58c4e557d46fa7f8557714250fb6f89c941ae before ef00818c50cf55a3a56bd9a9fae867c92dfb84e7, from 31d58c4e557d46fa7f8557714250fb6f89c941ae before b55ce742afcb8e8189d82f2f1e635ba1b5a461fa, from 31d58c4e557d46fa7f8557714250fb6f89c941ae before b6fb565a2d15277896583d471b21bc14a0c99661, 5.19
Not affected: before 5.19, from 6.1.110 up to 6.1.*, from 6.6.51 up to 6.6.*, from 6.10.10 up to 6.10.*, from 6.11 up to *
CVE List
linux linux_kernelup to 5.19, from 6.1 before 6.1.110, from 6.6 before 6.6.51, from 6.10 before 6.10.10, 6.11NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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. ]

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: x86/tdx: Se corrige la fuga de datos en mmio_read() La función mmio_read() realiza una TDVMCALL para recuperar datos MMIO para una dirección del VMM. Sean notó que mmio_read() expone involuntariamente el valor de una variable inicializada (val) en la pila al VMM. Esta variable solo se necesita como valor de salida. No era necesario pasarla al VMM en primer lugar. No envíe el valor original de *val al VMM. [ dhansen: aclare para qué se usa 'val'. ]

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46794 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-46794 changed 2026-06-17Public domain