🔍 CVE-2025-39726

9.8
CVSS Score
CRITICAL
2025-09-05
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 s390/ism 드라이버에서 동시성 관리 미흡으로 인해 발생하는 취약점입니다. 여러 CPU가 동시에 ISM 함수에 명령을 내릴 경우 데이터가 오염되어 장치가 오류 상태에 빠지거나 연결이 끊어질 수 있습니다.

💡 쉬운 설명

장치에 명령을 내릴 때 한 번에 하나씩만 처리해야 하는데, 여러 명령이 동시에 들어가면서 데이터가 엉키는 문제입니다. 이로 인해 장치가 고장 난 것처럼 작동을 멈추거나 잘못된 동작을 할 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Linux kernel (s390x architecture, ism driver)

⚔️ 공격 벡터

동시 다발적인 ISM 명령 요청을 통한 데이터 오염 및 장치 오류 유도

🛡️ 대응 방법

ism_cmd() 함수 내 동시성 제어를 위한 커널 패치 적용

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel