CVE-2025-39939
iommu/s390: Fix memory corruption when using identity domain
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 64af12c6ec3afd7d44bc8b2044eee59f98059087, < 17a58caf3863163c4a84a218a9649be2c8061443; >= 64af12c6ec3afd7d44bc8b2044eee59f98059087, < b3506e9bcc777ed6af2ab631c86a9990ed97b474
- Anyone running Linux 6.15
Vulnerability facts
- Affected
- Linux >= 64af12c6ec3afd7d44bc8b2044eee59f98059087, < 17a58caf3863163c4a84a218a9649be2c8061443; >= 64af12c6ec3afd7d44bc8b2044eee59f98059087, < b3506e9bcc777ed6af2ab631c86a9990ed97b474; Linux 6.15
- Fixed in
- Linux 17a58caf3863163c4a84a218a9649be2c8061443
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-787
- Modified
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-39939. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39939.md Affected: Linux >= 64af12c6ec3afd7d44bc8b2044eee59f98059087, < 17a58caf3863163c4a84a218a9649be2c8061443; >= 64af12c6ec3afd7d44bc8b2044eee59f98059087, < b3506e9bcc777ed6af2ab631c86a9990ed97b474; Linux 6.15 Fixed in: Linux 17a58caf3863163c4a84a218a9649be2c8061443 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-39939 being exploited?
There is no confirmed exploitation: CVE-2025-39939 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39939?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-39939?
Linux >= 64af12c6ec3afd7d44bc8b2044eee59f98059087, < 17a58caf3863163c4a84a218a9649be2c8061443; >= 64af12c6ec3afd7d44bc8b2044eee59f98059087, < b3506e9bcc777ed6af2ab631c86a9990ed97b474; Linux 6.15.
Is there a fix for CVE-2025-39939?
Yes. Fixed in Linux 17a58caf3863163c4a84a218a9649be2c8061443. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-39939?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.