All reports
Medium

kernel: iommu/s390: Fix memory corruption when using identity domain

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-39939

Probability of exploitation in the next 30 days: 0.15%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel's s390 IOMMU (Input-Output Memory Management Unit) driver. When reporting statistics for devices configured with an identity domain, improper address handling causes an out-of-bounds memory access. A local privileged attacker can exploit this issue during device monitoring to trigger kernel memory corruption, resulting in a Denial of Service (DoS) via a system crash.