CVE-2025-39726
s390/ism: fix concurrency management in ism_cmd()
Check your servers for CVE-2025-39726
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39726 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
s390/ism: fix concurrency management in ism_cmd()
The s390x ISM device data sheet clearly states that only one request-response sequence is allowable per ISM function at any point in time. Unfortunately as of today the s390/ism driver in Linux does not honor that requirement. This patch aims to rectify that.
This problem was discovered based on Aliaksei's bug report which states that for certain workloads the ISM functions end up entering error state (with PEC 2 as seen from the logs) after a while and as a consequence connections handled by the respective function break, and for future connection requests the ISM device is not considered -- given it is in a dysfunctional state. During further debugging PEC 3A was observed as well.
A kernel message like [ 1211.244319] zpci: 061a:00:00.0: Event 0x2 reports an error for PCI function 0x61a is a reliable indicator of the stated function entering error state with PEC 2. Let me also point out that a kernel message like [ 1211.244325] zpci: 061a:00:00.0: The ism driver bound to the device does not support error recovery is a reliable indicator that the ISM function won't be auto-recovered because the ISM driver currently lacks support for it.
On a technical level, without this synchronization, commands (inputs to the FW) may be partially or fully overwritten (corrupted) by another CPU trying to issue commands on the same function. There is hard evidence that this can lead to DMB token values being used as DMB IOVAs, leading to PEC 2 PCI events indicating invalid DMA. But this is only one of the failure modes imaginable. In theory even completely losing one command and executing another one twice and then trying to interpret the outputs as if the command we intended to execute was actually executed and not the other one is also possible. Frankly, I don't feel confident about providing an exhaustive list of possible consequences.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 684b89bc39ce4f204b1a2b180f39f2eb36a6b695, before 79536c83cf38c285709757c4026da4ae151223ae affected from 684b89bc39ce4f204b1a2b180f39f2eb36a6b695, before faf44487dfc80817f178dc8de7a0b73f960d019b affected from 684b89bc39ce4f204b1a2b180f39f2eb36a6b695, before 1194ad0d44d66b273a02a3a22882dc863a68d764 affected from 684b89bc39ce4f204b1a2b180f39f2eb36a6b695, before fafaa4982bedb5532f5952000f714a3e63023f40 affected from 684b89bc39ce4f204b1a2b180f39f2eb36a6b695, before 897e8601b9cff1d054cdd53047f568b0e1995726
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.101 up to and including 6.6.* unaffected from 6.12.41 up to and including 6.12.* unaffected from 6.15.9 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39726 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39726
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39726
trivy image --scanners vuln IMAGE | grep CVE-2025-39726
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/79536c83cf38c285709757c4026da4ae151223ae git.kernel.org
- https://git.kernel.org/stable/c/faf44487dfc80817f178dc8de7a0b73f960d019b git.kernel.org
- https://git.kernel.org/stable/c/1194ad0d44d66b273a02a3a22882dc863a68d764 git.kernel.org
- https://git.kernel.org/stable/c/fafaa4982bedb5532f5952000f714a3e63023f40 git.kernel.org
- https://git.kernel.org/stable/c/897e8601b9cff1d054cdd53047f568b0e1995726 git.kernel.org
Source: the record CVE-2025-39726 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse