CVE-2023-54239
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54239 is a vulnerability in the Linux kernel's iommufd subsystem where insufficient validation of user-supplied virtual address (uptr) and size parameters can cause an integer overflow, triggering kernel WARN_ON conditions. The flaw was discovered via syzkaller fuzzing and affects Linux kernel versions prior to the fix being applied. It was published to NVD on December 30, 2025. The CVSS score and severity rating are not yet publicly assigned (Feedly).

Technical details

The root cause is an integer overflow (CWE-190) in the iommufd pages subsystem (drivers/iommu/iommufd/pages.c). When a user-space process sets up an IOMMU mapping with a virtual address (uptr) and size that together wrap past zero (i.e., uptr + size overflows), the kernel does not detect the invalid range before passing it to pin_user_pages. This causes pin_user_pages to receive invalid arguments and return 0 unexpectedly, triggering a WARN_ON at pfn_reader_user_pin+0x2e6/0x390. The fix adds an overflow check to prevent creation of page mappings with such invalid address/size combinations (Feedly, Kernel Fix 1, Kernel Fix 2).

Impact

Exploitation of this vulnerability by a local user with access to the iommufd interface can trigger kernel WARN_ON conditions, potentially causing a kernel panic or denial of service. Because the overflow occurs in the IOMMU page-pinning path, it may also lead to unpredictable kernel behavior affecting system stability and availability. Confidentiality and integrity impacts are not clearly established based on available information (Feedly).

Exploitation steps

  1. Prerequisite: Obtain local access to a Linux system with a vulnerable kernel version that exposes the iommufd interface to unprivileged or low-privileged users.
  2. Craft malicious mapping request: Prepare an iommufd IOAS mapping request with a user virtual address (uptr) and size value chosen such that uptr + size wraps past zero (integer overflow).
  3. Submit the request: Use the appropriate iommufd ioctl (e.g., IOMMU_IOAS_MAP) to submit the crafted mapping to the kernel.
  4. Trigger overflow: The kernel, lacking the overflow check, passes the invalid address range to pin_user_pages, which returns 0 due to invalid arguments.
  5. Kernel instability: The WARN_ON at pfn_reader_user_pin is triggered, potentially causing a kernel panic or denial of service (Feedly).

Indicators of compromise

  • Logs: Kernel logs (dmesg) showing WARNING: CPU: X PID: X at drivers/iommu/iommufd/pages.c:793 pfn_reader_user_pin+0x2e6/0x390 with associated stack traces.
  • Process: Unusual processes making repeated iommufd-related ioctl calls, particularly with crafted or boundary-value address/size parameters.
  • System Behavior: Unexpected kernel panics or system reboots on systems with IOMMU/iommufd enabled.

Mitigation and workarounds

Apply the upstream Linux kernel patches that add overflow checks for uptr + size in the iommufd pages subsystem. The fixes are available at the stable kernel tree commits 800963e7eb001ada8cf2418f159fb649694467f1 and e4395701330fc4aee530905039516fe770b81417. Administrators should update to a patched kernel version as soon as their distribution provides one. As a temporary workaround, restricting unprivileged access to the iommufd interface can reduce exposure (Kernel Fix 1, Kernel Fix 2).

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