CVE-2025-39958
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability has been identified in the Linux kernel's IOMMU/s390 subsystem, tracked as CVE-2025-39958. The issue was discovered and disclosed on October 9, 2025, affecting the device attachment process during surprise removal scenarios. This vulnerability specifically impacts Linux systems running on s390 architecture, particularly affecting the PCI device handling mechanism (NVD).

Technical details

The vulnerability occurs when a PCI device is removed with surprise hotplug, where attempts to attach the device to the default domain continue as part of tear down via iommureleasedma_ownership() or during probe via iommuprobedevice(). In these cases, zpciregisterioat() fails with a condition code indicating an invalid device handle, as the device is no longer recognized by the hypervisor. This triggers a WARNON() in _iommugroupsetdomainnofail() due to a failed attachment to the default domain (NVD, Debian Tracker).

Impact

The vulnerability has been assessed as having a low severity impact. When the device is fenced by the hypervisor, no Direct Memory Access (DMA) operations to or from memory are possible, and IOMMU translations have no effect. The issue primarily affects system stability and error handling rather than presenting direct security risks (Red Hat Security).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.16.9-1 and later. Systems running earlier versions should upgrade to the patched version. For Debian systems, fixes are available in the 'forky' and 'sid' releases, while earlier releases remain vulnerable (Debian Tracker).

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-2025-39961N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-partner
NoYesOct 09, 2025
CVE-2025-39959N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesOct 09, 2025
CVE-2025-39958N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-devel-matched
NoYesOct 09, 2025
CVE-2025-39957N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules
NoYesOct 09, 2025
CVE-2025-39956N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-internal
NoYesOct 09, 2025

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