CVE-2023-54137
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54137 is an information disclosure vulnerability in the Linux kernel's VFIO (Virtual Function I/O) type1 IOMMU driver, caused by an uninitialized 4-byte memory hole in struct vfio_iommu_type1_info_cap_migration being exposed to userspace via the ioctl(VFIO_IOMMU_GET_INFO) call. The vulnerability was discovered through code inspection and publicly disclosed on December 24, 2025. It affects the Linux kernel's VFIO/type1 subsystem across multiple stable branches. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is an uninitialized memory exposure (CWE-200 / CWE-909) in the vfio_iommu_migration_build_caps() function within drivers/vfio/vfio_iommu_type1.c. The structure vfio_iommu_type1_info_cap_migration has a 4-byte alignment hole between the flags field (offset 8, 4 bytes) and the pgsize_bitmap field (offset 16, 8 bytes), as confirmed by pahole(1) analysis. When the function populates the structure on the stack and passes it to vfio_info_add_capability(), the hole is never zeroed; the data is then copied via memcpy to a heap buffer and subsequently returned to userspace through the VFIO_IOMMU_GET_INFO ioctl, leaking whatever kernel stack bytes occupied that 4-byte gap. Exploitation requires only local access with low privileges and no user interaction (Red Hat Bugzilla).

Impact

A low-privileged local attacker with access to VFIO interfaces can read 4 bytes of uninitialized kernel stack memory per VFIO_IOMMU_GET_INFO ioctl invocation. While this does not directly enable code execution or data modification, the leaked kernel memory could contain sensitive information such as kernel pointers, cryptographic material, or other process data, potentially aiding in bypassing kernel ASLR or facilitating further exploitation. Availability and integrity are not directly impacted (Red Hat CVE, Red Hat Bugzilla).

Mitigation and workarounds

The fix involves initializing the cap_mig structure to zero before populating its fields (e.g., using memset or a zero-initializer), ensuring the 4-byte hole is not leaked to userspace. Patches have been committed to multiple Linux stable branches (commits 1b5feb8, 13fd667, ad83d83, cbac29a). Users should apply the latest kernel security updates for their distribution. As a workaround, restricting access to VFIO interfaces for untrusted users (via appropriate permissions or namespacing) reduces exposure (Red Hat Bugzilla, Red Hat CVE).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management