🔍 CVE-2026-98367

7.8
CVSS Score
HIGH
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RDMA/siw 구성 요소에서 siw_accept 함수 호출 중 siw_qp_modify가 실패할 경우, 상태 잠금(state_lock)이 해제되기 전에 연결(cep)을 적절히 정리하지 않는 취약점이 발견되었습니다. 이로 인해 동시 실행 중인 ibv_modify_qp 작업과 경합이 발생하여 Use-After-Free(UAF) 오류가 발생할 수 있습니다.

💡 쉬운 설명

리눅스 시스템의 네트워크 통신 기능에서 데이터 처리 순서가 꼬여 메모리 오류가 발생하는 문제입니다. 공격자가 이를 악용하면 시스템이 충돌하거나 보안이 뚫릴 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Clear association under lock if siw_qp_modify fails in siw_accept We need to clear cep before release state_lock as siw_qp_llp_close and siw_qp_modify->siw_qp_llp_close did. Otherwise if siw_qp_modify() fails in siw_accept(), the QP's state_lock is released before the error path cleanup. A concurrent ibv_modify_qp() transitioning the QP to ERROR can race in this window: siw_accept() ibv_modify_qp(ERROR) ---------------------- ---------------------- siw_qp_modify() fails up_write(&qp->state_lock) down_write(&qp->state_lock) nextstate_from_idle(): if (qp->cep) siw_cep_put(qp->cep) <- frees cep qp->cep = NULL goto error cep->qp = NULL <- UAF Clear qp->cep and drop the association reference taken by siw_cep_get(), all under the write lock held from the initial down_write(&qp->state_lock). Thread B therefore sees qp->cep == NULL, skips its own put, and cannot free the cep before siw_accept() is done with it.

📍 영향받는 시스템

RDMA/siw 모듈을 사용하는 Linux Kernel 버전

⚔️ 공격 벡터

RDMA 연결 수립 과정에서 의도적으로 오류를 유도하여 메모리 경합(Race Condition)을 일으킴

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 siw_accept의 오류 처리 로직을 수정해야 함

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel