Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97593 Overview
CVE-2026-97593 is a NULL pointer dereference vulnerability in the Linux kernel's s390 IOMMU subsystem. The flaw affects systems using 5-level translation tables via ZPCI_TABLE_TYPE_RFX. When iova_to_phys() is invoked on an unmapped I/O virtual address (IOVA), get_rto_from_iova() fails to validate that the region-second origin (rso) pointer is non-NULL before dereferencing it with rso[rsx]. The result is a kernel NULL pointer dereference instead of a graceful NULL return. The issue is specific to IBM Z (s390) architecture systems configured with PCI passthrough using the region-first translation table format.
Critical Impact
Local triggering of the unchecked dereference can crash the kernel on affected s390 systems, producing a denial-of-service condition.
Affected Products
- Linux kernel on IBM Z (s390) architecture
- Kernels implementing iommu/s390 with ZPCI_TABLE_TYPE_RFX (5-level translation tables)
- Systems using PCI passthrough with the s390 IOMMU driver
Discovery Timeline
- 2026-09-25 - CVE CVE-2026-97593 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97593
Vulnerability Analysis
The vulnerability resides in the s390 IOMMU driver's IOVA-to-physical-address translation path. The s390 architecture supports multi-level DMA translation tables, and ZPCI_TABLE_TYPE_RFX selects a 5-level region-first table layout. During translation, the driver walks the table hierarchy from region-first down to the page table entry.
The helper get_rso_from_iova() correctly returns NULL when a region-first entry is invalid. However, the companion helper get_rto_from_iova() consumes that return value and immediately indexes it as rso[rsx] without checking whether the pointer is NULL. When iova_to_phys() is called on an IOVA that has no mapping, the walk reaches an invalid region-first entry, propagates NULL into get_rto_from_iova(), and the subsequent array access triggers a kernel NULL pointer dereference. This classifies as [CWE-476] NULL Pointer Dereference.
Root Cause
The root cause is a missing NULL check between two helpers in the s390 IOMMU translation walker. get_rso_from_iova() can legitimately return NULL for unmapped regions, but get_rto_from_iova() treats the pointer as always valid. The fix adds the missing NULL check so that iova_to_phys() returns NULL for unmapped IOVAs instead of faulting.
Attack Vector
Triggering requires executing code paths that call iova_to_phys() on an unmapped IOVA on an s390 system configured with a 5-level translation table. This is reachable through kernel subsystems and drivers that query IOVA mappings, including PCI passthrough and VFIO workflows. Exploitation requires local access to an affected s390 host; no evidence of remote exploitation or weaponized proof-of-concept exists. The practical impact is kernel crash and denial of service.
No verified exploit code is available. See the upstream fix commits for the exact patched code paths: Kernel commit 20db6573, Kernel commit 41b5e0ce, and Kernel commit d0502ed0.
Detection Methods for CVE-2026-97593
Indicators of Compromise
- Kernel oops or panic messages referencing iova_to_phys, get_rto_from_iova, or get_rso_from_iova in dmesg or /var/log/messages.
- Unexpected reboots or VFIO/PCI passthrough failures on IBM Z hosts configured with 5-level IOMMU translation tables.
- Call traces that include the s390 IOMMU driver during DMA mapping operations on affected kernels.
Detection Strategies
- Inventory running kernels on s390 hosts and compare against the fixed commit hashes in the upstream references.
- Review PCI passthrough and VFIO workloads for crash signatures correlated with IOVA translation code paths.
- Correlate host crash events with workloads performing DMA mapping or unmapping of guest memory on IBM Z.
Monitoring Recommendations
- Forward s390 host kernel logs to a central logging platform and alert on kernel panics referencing IOMMU symbols.
- Monitor VFIO and PCI subsystem error counters for anomalies that coincide with guest reboots.
- Track kernel package versions on IBM Z fleets to confirm patch coverage after rollout.
How to Mitigate CVE-2026-97593
Immediate Actions Required
- Apply the upstream Linux kernel patches referenced in the fix commits to all affected s390 systems.
- Prioritize patching on IBM Z hosts that run PCI passthrough or VFIO workloads with ZPCI_TABLE_TYPE_RFX enabled.
- Subscribe to your Linux distribution's security advisories to receive packaged backports for supported stable kernel branches.
Patch Information
The fix adds a NULL check for the region-second origin pointer in get_rto_from_iova() so that iova_to_phys() returns NULL for unmapped IOVAs. The change is distributed across three upstream commits: Kernel commit 20db6573, Kernel commit 41b5e0ce, and Kernel commit d0502ed0. Deploy vendor-packaged kernels that incorporate these commits.
Workarounds
- Restrict local access on affected s390 hosts to trusted administrators until patched kernels are deployed.
- Where feasible, avoid configurations that select ZPCI_TABLE_TYPE_RFX (5-level translation tables) on vulnerable kernels.
- Limit exposure of PCI passthrough and VFIO interfaces to untrusted guests on unpatched hosts.
# Verify running kernel version on an s390 host
uname -r
# Check for IOMMU-related errors in kernel log
dmesg | grep -iE 'iommu|iova_to_phys|zpci'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

