Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2024-47727
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-21 Oct, 2024 | 12:14
Updated At-04 May, 2025 | 09:38
Rejected At-
▼CVE Numbering Authority (CNA)
x86/tdx: Fix "in-kernel MMIO" check

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.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • arch/x86/coco/tdx/tdx.c
Default Status
unaffected
Versions
Affected
  • From 31d58c4e557d46fa7f8557714250fb6f89c941ae before 25703a3c980e21548774eea8c8a87a75c5c8f58c (git)
  • From 31d58c4e557d46fa7f8557714250fb6f89c941ae before 4c0c5dcb5471de5fc8f0a1c4980e5815339e1cee (git)
  • From 31d58c4e557d46fa7f8557714250fb6f89c941ae before 18ecd5b74682839e7cdafb7cd1ec106df7baa18c (git)
  • From 31d58c4e557d46fa7f8557714250fb6f89c941ae before bca2e29f7e26ce7c3522f8b324c0bd85612f68e3 (git)
  • From 31d58c4e557d46fa7f8557714250fb6f89c941ae before d4fc4d01471528da8a9797a065982e05090e1d81 (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • arch/x86/coco/tdx/tdx.c
Default Status
affected
Versions
Affected
  • 5.19
Unaffected
  • From 0 before 5.19 (semver)
  • From 6.1.113 through 6.1.* (semver)
  • From 6.6.54 through 6.6.* (semver)
  • From 6.10.13 through 6.10.* (semver)
  • From 6.11.2 through 6.11.* (semver)
  • From 6.12 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/25703a3c980e21548774eea8c8a87a75c5c8f58c
N/A
https://git.kernel.org/stable/c/4c0c5dcb5471de5fc8f0a1c4980e5815339e1cee
N/A
https://git.kernel.org/stable/c/18ecd5b74682839e7cdafb7cd1ec106df7baa18c
N/A
https://git.kernel.org/stable/c/bca2e29f7e26ce7c3522f8b324c0bd85612f68e3
N/A
https://git.kernel.org/stable/c/d4fc4d01471528da8a9797a065982e05090e1d81
N/A
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found