{"id":"CVE-2024-47727","summary":"x86/tdx: Fix \"in-kernel MMIO\" check","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/tdx: Fix \"in-kernel MMIO\" check\n\nTDX only supports kernel-initiated MMIO operations. The handle_mmio()\nfunction checks if the #VE exception occurred in the kernel and rejects\nthe operation if it did not.\n\nHowever, userspace can deceive the kernel into performing MMIO on its\nbehalf. For example, if userspace can point a syscall to an MMIO address,\nsyscall does get_user() or put_user() on it, triggering MMIO #VE. The\nkernel will treat the #VE as in-kernel MMIO.\n\nEnsure that the target MMIO address is within the kernel before decoding\ninstruction.","modified":"2026-04-02T12:20:23.518593Z","published":"2024-10-21T12:14:00.330Z","related":["ALSA-2025:20518","MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47727.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18ecd5b74682839e7cdafb7cd1ec106df7baa18c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/25703a3c980e21548774eea8c8a87a75c5c8f58c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c0c5dcb5471de5fc8f0a1c4980e5815339e1cee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bca2e29f7e26ce7c3522f8b324c0bd85612f68e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d4fc4d01471528da8a9797a065982e05090e1d81"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47727.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47727"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"31d58c4e557d46fa7f8557714250fb6f89c941ae"},{"fixed":"25703a3c980e21548774eea8c8a87a75c5c8f58c"},{"fixed":"4c0c5dcb5471de5fc8f0a1c4980e5815339e1cee"},{"fixed":"18ecd5b74682839e7cdafb7cd1ec106df7baa18c"},{"fixed":"bca2e29f7e26ce7c3522f8b324c0bd85612f68e3"},{"fixed":"d4fc4d01471528da8a9797a065982e05090e1d81"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47727.json"}}],"schema_version":"1.7.5"}