CVE-2025-39726
s390/ism: fix concurrency management in ism_cmd()
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.
INFO
Published Date :
Sept. 5, 2025, 6:15 p.m.
Last Modified :
Oct. 30, 2026, 1:18 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the provided kernel patch.
- Ensure all systems are updated.
- Monitor for error messages.
- Test system stability post-update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-39726.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-39726 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-39726
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-39726 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-39726 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 30, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/39xxx/CVE-2025-39726.json">CVE-2025-39726</a> Added Reference https://git.kernel.org/stable/c/79536c83cf38c285709757c4026da4ae151223ae -
CVE Translated by [email protected]
Oct. 19, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: s390/ism: corregir la gestión de concurrencia en ism_cmd() La hoja de datos del dispositivo ISM s390x establece claramente que solo una secuencia de solicitud-respuesta es permitida por función ISM en cualquier momento. Desafortunadamente, a día de hoy, el controlador s390/ism en Linux no cumple con ese requisito. Este parche tiene como objetivo rectificar eso. Este problema fue descubierto basándose en el informe de error de Aliaksei, el cual establece que para ciertas cargas de trabajo las funciones ISM terminan entrando en estado de error (con PEC 2 como se ve en los registros) después de un tiempo y, como consecuencia, las conexiones manejadas por la función respectiva se rompen, y para futuras solicitudes de conexión el dispositivo ISM no es considerado -- dado que está en un estado disfuncional. Durante la depuración adicional también se observó PEC 3A. Un mensaje del kernel como [ 1211.244319] zpci: 061a:00:00.0: El evento 0x2 informa un error para la función PCI 0x61a es un indicador fiable de que la función mencionada entra en estado de error con PEC 2. Permítanme también señalar que un mensaje del kernel como [ 1211.244325] zpci: 061a:00:00.0: El controlador ism vinculado al dispositivo no soporta la recuperación de errores es un indicador fiable de que la función ISM no se recuperará automáticamente porque el controlador ISM actualmente carece de soporte para ello. A nivel técnico, sin esta sincronización, los comandos (entradas al FW) pueden ser parcial o totalmente sobrescritos (corrompidos) por otra CPU intentando emitir comandos en la misma función. Existe evidencia sólida de que esto puede llevar a que los valores de token DMB se utilicen como IOVA DMB, lo que lleva a eventos PCI PEC 2 que indican DMA inválido. Pero este es solo uno de los modos de fallo imaginables. En teoría, incluso perder completamente un comando y ejecutar otro dos veces y luego intentar interpretar las salidas como si el comando que pretendíamos ejecutar se hubiera ejecutado realmente y no el otro, también es posible. Francamente, no me siento seguro de proporcionar una lista exhaustiva de posibles consecuencias. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/1194ad0d44d66b273a02a3a22882dc863a68d764 Added Reference https://git.kernel.org/stable/c/897e8601b9cff1d054cdd53047f568b0e1995726 Added Reference https://git.kernel.org/stable/c/faf44487dfc80817f178dc8de7a0b73f960d019b Added Reference https://git.kernel.org/stable/c/fafaa4982bedb5532f5952000f714a3e63023f40 Removed Reference https://git.kernel.org/stable/c/1194ad0d44d66b273a02a3a22882dc863a68d764 Removed Reference https://git.kernel.org/stable/c/897e8601b9cff1d054cdd53047f568b0e1995726 Removed Reference https://git.kernel.org/stable/c/faf44487dfc80817f178dc8de7a0b73f960d019b Removed Reference https://git.kernel.org/stable/c/fafaa4982bedb5532f5952000f714a3e63023f40 Removed Reference Type https://git.kernel.org/stable/c/1194ad0d44d66b273a02a3a22882dc863a68d764 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/897e8601b9cff1d054cdd53047f568b0e1995726 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/faf44487dfc80817f178dc8de7a0b73f960d019b Types: Patch Removed Reference Type https://git.kernel.org/stable/c/fafaa4982bedb5532f5952000f714a3e63023f40 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 15, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-39726', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T21:53:46.367254Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '684b89bc39ce4f204b1a2b180f39f2eb36a6b695', 'lessThan': 'faf44487dfc80817f178dc8de7a0b73f960d019b', 'versionType': 'git'}, {'status': 'affected', 'version': '684b89bc39ce4f204b1a2b180f39f2eb36a6b695', 'lessThan': '1194ad0d44d66b273a02a3a22882dc863a68d764', 'versionType': 'git'}, {'status': 'affected', 'version': '684b89bc39ce4f204b1a2b180f39f2eb36a6b695', 'lessThan': 'fafaa4982bedb5532f5952000f714a3e63023f40', 'versionType': 'git'}, {'status': 'affected', 'version': '684b89bc39ce4f204b1a2b180f39f2eb36a6b695', 'lessThan': '897e8601b9cff1d054cdd53047f568b0e1995726', 'versionType': 'git'}], 'programFiles': ['drivers/s390/net/ism_drv.c', 'include/linux/ism.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.101', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.41', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.15.9', 'versionType': 'semver', 'lessThanOrEqual': '6.15.*'}, {'status': 'unaffected', 'version': '6.16', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/s390/net/ism_drv.c', 'include/linux/ism.h'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
Nov. 25, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-362 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.41 *cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19 up to (excluding) 6.6.101 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.15.9 *cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.16:rc7:*:*:*:*:*:* Added Reference Type kernel.org: https://git.kernel.org/stable/c/1194ad0d44d66b273a02a3a22882dc863a68d764 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/897e8601b9cff1d054cdd53047f568b0e1995726 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/faf44487dfc80817f178dc8de7a0b73f960d019b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fafaa4982bedb5532f5952000f714a3e63023f40 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 05, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/1194ad0d44d66b273a02a3a22882dc863a68d764 Added Reference https://git.kernel.org/stable/c/897e8601b9cff1d054cdd53047f568b0e1995726 Added Reference https://git.kernel.org/stable/c/faf44487dfc80817f178dc8de7a0b73f960d019b Added Reference https://git.kernel.org/stable/c/fafaa4982bedb5532f5952000f714a3e63023f40