🔍 CVE-2026-99212

7.0
CVSS Score
HIGH
2026-10-28
2026-10-31 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RDS(Reliable Datagram Sockets) 모듈에서, RDMA_CM_EVENT_ADDR_RESOLVED 이벤트 처리 중 rdma_resolve_route()가 동기적으로 실패하면 rdma_cm이 RDS가 소유한 연결 ID(ic->i_cm_id)를 파괴하지만 포인터가 초기화되지 않아 해제된 ID를 참조하게 됩니다. 수정은 실패 시 연결을 드롭하고 0을 반환하여 ID의 소유권을 RDS에 유지하는 것입니다.

💡 쉬운 설명

네트워크 연결을 설정하는 과정에서 오류가 나면, 시스템이 이미 사용 중인 연결 정보를 잘못 삭제해 버립니다. 이후 그 삭제된 정보를 다시 사용하려다 시스템이 불안정해지거나 공격에 악용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure rds_rdma_cm_event_handler_cmn() hands the return value of rdma_resolve_route() straight back to the rdma_cm on RDMA_CM_EVENT_ADDR_RESOLVED. A synchronous failure there - -ENOMEM from the route work allocation, an SA query that cannot be set up, a RoCE route with no usable device - makes addr_handler() destroy the id the event was delivered on. That id is ic->i_cm_id, and nothing clears the pointer: the connection sits in RDS_CONN_CONNECTING with a freed id until its shutdown calls rdma_disconnect() and rdma_destroy_id() on it. The ROUTE_RESOLVED case already avoids this: rds_ib_cm_initiate_connect() forces a zero return while ic->i_cm_id == cm_id, as the comment there explains. Do the same here - drop the connection and return 0 - so the id stays RDS's to destroy from the shutdown, and the reconnect gets a fresh one.

📍 영향받는 시스템

RDS(RDMA 기반 Reliable Datagram Sockets) 모듈을 사용하는 수정 이전의 Linux 커널 버전

⚔️ 공격 벡터

로컬 또는 인접 네트워크에서 RDMA 경로 해석 실패를 유발해 해제된 메모리를 참조하게 하여 서비스 거부 또는 권한 상승을 시도

🛡️ 대응 방법

Linux 커널을 해당 CVE 수정이 포함된 최신 안정 버전으로 업데이트하고 재부팅

🔧 검증 코드

커널 버전이 수정된 패치 릴리스 이상인지 확인하고, rds 모듈이 로드되지 않았다면 이 취약점의 영향을 받지 않습니다.

Shell / Script
uname -r && (lsmod | grep -i rds || echo 'rds module not loaded')

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel