Lucene search

K
cveLinuxCVE-2024-46794
HistorySep 18, 2024 - 8:15 a.m.

CVE-2024-46794

2024-09-1808:15:06
Linux
web.nvd.nist.gov
9
linux kernel
x86/tdx
data leak
mmio_read
vulnerability

AI Score

6.5

Confidence

High

EPSS

0

Percentile

16.4%

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 configurations

Vulners
Node
linuxlinux_kernelRange5.196.1.110
OR
linuxlinux_kernelRange6.2.06.6.51
OR
linuxlinux_kernelRange6.7.06.10.10
OR
linuxlinux_kernelRange6.11.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/coco/tdx/tdx.c"
    ],
    "versions": [
      {
        "version": "31d58c4e557d",
        "lessThan": "26c6af49d26f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "31d58c4e557d",
        "lessThan": "ef00818c50cf",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "31d58c4e557d",
        "lessThan": "b55ce742afcb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "31d58c4e557d",
        "lessThan": "b6fb565a2d15",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/coco/tdx/tdx.c"
    ],
    "versions": [
      {
        "version": "5.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.19",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.110",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.51",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.10",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

High

EPSS

0

Percentile

16.4%

Related for CVE-2024-46794