# CVE-2024-47727: x86/tdx: Fix "in-kernel MMIO" check

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-10-21T12:14:00.330Z
- Modified: 2026-08-05T11:39:46.427Z
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 31d58c4e557d46fa7f8557714250fb6f89c941ae before 25703a3c980e21548774eea8c8a87a75c5c8f58c; from 31d58c4e557d46fa7f8557714250fb6f89c941ae before 4c0c5dcb5471de5fc8f0a1c4980e5815339e1cee; from 31d58c4e557d46fa7f8557714250fb6f89c941ae before 18ecd5b74682839e7cdafb7cd1ec106df7baa18c; from 31d58c4e557d46fa7f8557714250fb6f89c941ae before bca2e29f7e26ce7c3522f8b324c0bd85612f68e3; from 31d58c4e557d46fa7f8557714250fb6f89c941ae before d4fc4d01471528da8a9797a065982e05090e1d81; 5.19 (not affected: before 5.19; from 6.1.113 up to 6.1.*; from 6.6.54 up to 6.6.*; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.19 before 6.1.113; from 6.2 before 6.6.54; from 6.7 before 6.10.13; from 6.11 before 6.11.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/25703a3c980e21548774eea8c8a87a75c5c8f58c> (patch)
- <https://git.kernel.org/stable/c/4c0c5dcb5471de5fc8f0a1c4980e5815339e1cee> (patch)
- <https://git.kernel.org/stable/c/18ecd5b74682839e7cdafb7cd1ec106df7baa18c> (patch)
- <https://git.kernel.org/stable/c/bca2e29f7e26ce7c3522f8b324c0bd85612f68e3> (patch)
- <https://git.kernel.org/stable/c/d4fc4d01471528da8a9797a065982e05090e1d81> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-47727](https://www.cve.org/CVERecord?id=CVE-2024-47727), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-47727](https://nvd.nist.gov/vuln/detail/CVE-2024-47727), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-47727 · Whole record: https://cve.day/CVE-2024-47727.json · Rebuilt by cve.day 2026-11-25T22:58:46.989Z
