Menu

Star on GitHub · 3.2k

CVE-2025-39958

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: iommu/s390: Make attach succeed when the device was surprise removed When a PCI device is removed with surprise hotplug, there…

Published Oct 9, 2025EPSS 0.14%

Overview

CVE-2025-39958 is a high-severity vulnerability. It was published on October 9, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

iommu/s390: Make attach succeed when the device was surprise removed

When a PCI device is removed with surprise hotplug, there may still be

attempts to attach the device to the default domain as part of tear down

via (__iommu_release_dma_ownership()), or because the removal happens

during probe (__iommu_probe_device()). In both cases zpci_register_ioat()

fails with a cc value indicating that the device handle is invalid. This

is because the device is no longer part of the instance as far as the

hypervisor is concerned.

Currently this leads to an error return and s390_iommu_attach_device()

fails. This triggers the WARN_ON() in __iommu_group_set_domain_nofail()

because attaching to the default domain must never fail.

With the device fenced by the hypervisor no DMAs to or from memory are

possible and the IOMMU translations have no effect. Proceed as if the

registration was successful and let the hotplug event handling

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-39958?

CVE-2025-39958 is a high-severity vulnerability. It was published on October 9, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-39958?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-39958?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-39958?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-39958 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all