CVE-2025-39939CWE-787

CVE-2025-39939

High · published October 4, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
3.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00144 · 3.4th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-10-04T12:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 6.15, < 6.16.96.16.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (2)
EPSS history
Timeline
  • 04 OCT 07:31Z
    iommu/s390: Fix memory corruption when using identity domain
    cvelistv5