Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-46794

x86/tdx: Fix data leak in mmio_read()

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 31d58c4e557d46fa7f8557714250fb6f89c941ae to < 26c6af49d26ffc377e392e30d4086db19eed0ef7affected
  • 31d58c4e557d46fa7f8557714250fb6f89c941ae to < ef00818c50cf55a3a56bd9a9fae867c92dfb84e7affected
  • 31d58c4e557d46fa7f8557714250fb6f89c941ae to < b55ce742afcb8e8189d82f2f1e635ba1b5a461faaffected
  • 31d58c4e557d46fa7f8557714250fb6f89c941ae to < b6fb565a2d15277896583d471b21bc14a0c99661affected

Linux Linux

Default version status: affected

  • 5.19affected
  • 0 to < 5.19unaffected
  • 6.1.110 to ≤ 6.1.*unaffected
  • 6.6.51 to ≤ 6.6.*unaffected
  • 6.10.10 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References