What’s Vulnerable › Vulnerabilities
CVE-2025-39939: iommu/s390: Fix memory corruption when using identity domain
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-04 · updated 2026-10-19
- Weakness: CWE-787
Description
In the Linux kernel, the following vulnerability has been resolved: iommu/s390: Fix memory corruption when using identity domain zpci_get_iommu_ctrs() returns counter information to be reported as part of device statistics; these counters are stored as part of the s390_domain. The problem, however, is that the identity domain is not backed by an s390_domain and so the conversion via to_s390_domain() yields a bad address that is zero'd initially and read on-demand later via a sysfs read. These counters aren't necessary for the identity domain; just return NULL in this case. This issue was discovered via KASAN with reports that look like: BUG: KASAN: global-out-of-bounds in zpci_fmb_enable_device when using the identity domain for a device on s390.
Affected products
- Linux kernel: from 6.15 before 6.16.9; 6.17-rc1, 6.17-rc2, 6.17-rc3, 6.17-rc4, 6.17-rc5, 6.17-rc6 — fixed in 6.16.9
How to fix
Upgrade to a fixed version: Linux kernel 6.16.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/17a58caf3863163c4a84a218a9649be2c8061443
- https://git.kernel.org/stable/c/b3506e9bcc777ed6af2ab631c86a9990ed97b474
Get alerted when CVE-2025-39939 or the next vulnerability affects your stack