{"id":"CVE-2025-39939","aliases":["CVE-2025-39939"],"related":[],"kind":"vulnerability","state":"published","title":"iommu/s390: Fix memory corruption when using identity domain","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/s390: Fix memory corruption when using identity domain\n\nzpci_get_iommu_ctrs() returns counter information to be reported as part\nof device statistics; these counters are stored as part of the s390_domain.\nThe problem, however, is that the identity domain is not backed by an\ns390_domain and so the conversion via to_s390_domain() yields a bad address\nthat is zero'd initially and read on-demand later via a sysfs read.\nThese counters aren't necessary for the identity domain; just return NULL\nin this case.\n\nThis issue was discovered via KASAN with reports that look like:\nBUG: KASAN: global-out-of-bounds in zpci_fmb_enable_device\nwhen using the identity domain for a device on s390.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/s390: Fix memory corruption when using identity domain\n\nzpci_get_iommu_ctrs() returns counter information to be reported as part\nof device statistics; these counters are stored as part of the s390_domain.\nThe problem, however, is that the identity domain is not backed by an\ns390_domain and so the conversion via to_s390_domain() yields a bad address\nthat is zero'd initially and read on-demand later via a sysfs read.\nThese counters aren't necessary for the identity domain; just return NULL\nin this case.\n\nThis issue was discovered via KASAN with reports that look like:\nBUG: KASAN: global-out-of-bounds in zpci_fmb_enable_device\nwhen using the identity domain for a device on s390.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niommu/s390: Corregir corrupción de memoria al usar el dominio de identidad\n\nzpci_get_iommu_ctrs() devuelve información de contador para ser reportada como parte de las estadísticas del dispositivo; estos contadores se almacenan como parte del s390_domain. El problema, sin embargo, es que el dominio de identidad no está respaldado por un s390_domain y por lo tanto la conversión a través de to_s390_domain() produce una dirección incorrecta que se pone a cero inicialmente y se lee bajo demanda más tarde a través de una lectura de sysfs. Estos contadores no son necesarios para el dominio de identidad; simplemente devolver NULL en este caso.\n\nEste problema fue descubierto a través de KASAN con informes que se ven así:\nBUG: KASAN: global-out-of-bounds en zpci_fmb_enable_device\nal usar el dominio de identidad para un dispositivo en s390.","source":"nvd"}],"published":"2025-10-04T07:31:02.521Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"64af12c6ec3afd7d44bc8b2044eee59f98059087","fixed":"17a58caf3863163c4a84a218a9649be2c8061443","status":"affected"},{"type":"git","introduced":"64af12c6ec3afd7d44bc8b2044eee59f98059087","fixed":"b3506e9bcc777ed6af2ab631c86a9990ed97b474","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.16.9","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.15","fixed":"6.16.9"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/17a58caf3863163c4a84a218a9649be2c8061443","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b3506e9bcc777ed6af2ab631c86a9990ed97b474","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:54:54.159Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39939","url":"https://www.cve.org/CVERecord?id=CVE-2025-39939","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:33.574Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39939","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39939","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:05.519Z","epss":{"score":0.00147,"percentile":0.04132,"date":"2026-12-01T12:00:22.000Z"}}