CVE-2025-39939

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
04/10/2025
Last modified:
27/01/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> iommu/s390: Fix memory corruption when using identity domain<br /> <br /> zpci_get_iommu_ctrs() returns counter information to be reported as part<br /> of device statistics; these counters are stored as part of the s390_domain.<br /> The problem, however, is that the identity domain is not backed by an<br /> s390_domain and so the conversion via to_s390_domain() yields a bad address<br /> that is zero&amp;#39;d initially and read on-demand later via a sysfs read.<br /> These counters aren&amp;#39;t necessary for the identity domain; just return NULL<br /> in this case.<br /> <br /> This issue was discovered via KASAN with reports that look like:<br /> BUG: KASAN: global-out-of-bounds in zpci_fmb_enable_device<br /> when using the identity domain for a device on s390.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.15 (including) 6.16.9 (excluding)
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc6:*:*:*:*:*:*