🔍 CVE-2026-53186

9.1
CVSS Score
CRITICAL
2026-06-25
2026-10-19 20:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RDMA/srp 구성 요소에서 SRP 응답의 sense 데이터를 복사할 때 수신된 실제 데이터 길이를 검증하지 않는 취약점이 발견되었습니다. 공격자가 조작된 SRP 응답을 보내면 잘못된 메모리 오프셋을 참조하게 되어 시스템 읽기 오류(read fault)를 유발할 수 있습니다.

💡 쉬운 설명

네트워크를 통해 들어온 데이터가 실제 크기보다 훨씬 크다고 속이면, 컴퓨터가 엉뚱한 메모리 영역을 읽으려다 시스템이 멈추거나 오류가 발생하는 문제입니다. 악의적인 장치가 가짜 데이터를 보내 시스템을 마비시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: RDMA/srp: bound SRP_RSP sense copy by the received length srp_process_rsp() copies sense data from rsp->data + resp_data_len, where resp_data_len is the full 32-bit value supplied by the SRP target and is never checked against the number of bytes actually received (wc->byte_len). The copy length is bounded to SCSI_SENSE_BUFFERSIZE, so at most 96 bytes are copied, but the source offset is not bounded. A malicious or compromised SRP target on the InfiniBand/RoCE fabric that the initiator has logged into can return an SRP_RSP with SRP_RSP_FLAG_SNSVALID set and a large resp_data_len. The receive buffer is allocated at the target-chosen max_ti_iu_len, so the source of the sense copy lands past the bytes actually received; with resp_data_len near 0xFFFFFFFF it is gigabytes past the buffer and the read faults. Copy the sense data only if it has not been truncated, that is, only if the response header, the response data, and the sense region fit within the bytes actually received; otherwise drop the sense and log. The in-tree iSER and NVMe-RDMA receive paths already bound their parse by wc->byte_len; this brings ib_srp into line with them.

📍 영향받는 시스템

Linux kernel (RDMA/srp 모듈 사용 환경)

⚔️ 공격 벡터

InfiniBand/RoCE 패브릭에 연결된 악의적인 또는 탈취된 SRP 타겟으로부터 조작된 SRP_RSP 패킷 전송

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 srp_process_rsp()의 길이 검증 로직을 적용해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.

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:N/A:H

💻 영향받는 소프트웨어

Linux Kernel