CVE-2024-47727CWE-754

CVE-2024-47727

High · published October 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
15.1
In the wild
Unconfirmed
What it is

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

x86/tdx: Fix "in-kernel MMIO" check

TDX only supports kernel-initiated MMIO operations. The handle_mmio()

function checks if the #VE exception occurred in the kernel and rejects

the operation if it did not.

However, userspace can deceive the kernel into performing MMIO on its

behalf. For example, if userspace can point a syscall to an MMIO address,

syscall does get_user() or put_user() on it, triggering MMIO #VE. The

kernel will treat the #VE as in-kernel MMIO.

Ensure that the target MMIO address is within the kernel before decoding

instruction.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00247 · 15.1th percentile
Weakness
CWE-754 · Improper Check for Unusual or Exceptional Conditions
Published
2024-10-21T17:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 5.19, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.546.6.54
linux/linux_kernel≥ 6.7, < 6.10.136.10.13
linux/linux_kernel≥ 6.11, < 6.11.26.11.2
References (6)
EPSS history
Timeline
  • 21 OCT 12:14Z
    x86/tdx: Fix "in-kernel MMIO" check
    cvelistv5