🇰🇷 한글 설명
Linux 커널의 net/rds 구성 요소에서 혼잡 제어 맵 업데이트 시 메모리 순서 보장 문제로 인해 발생합니다. 업데이트 프로세스가 대기 큐의 상태를 확인하는 과정에서 동기화 오류가 발생하여, 대기 중인 프로세스에 깨움 신호(wake-up)가 전달되지 않을 수 있습니다.
💡 쉬운 설명
네트워크 통신 중 데이터 흐름을 조절하는 과정에서 신호 전달이 누락되는 버그입니다. 이로 인해 시스템이 데이터가 전송될 수 있는 상태임에도 불구하고 계속 대기 상태에 머물러 응답이 없는 현상이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/rds: use wq_has_sleeper() in rds_cong_map_updated()
rds_cong_map_updated() runs after a peer's congestion map has been
rewritten (by rds_tcp_cong_recv() and rds_ib_cong_recv(), or the
clear-all in the loopback and IB send-completion paths). It bumps
rds_cong_generation and then checks waitqueue_active() on
map->m_waitq and on rds_poll_waitq to decide whether anyone needs
waking. atomic_inc() carries no ordering and waitqueue_active() is a
plain load, so nothing orders the map and generation stores before
the wait queue reads. The waiters do the mirror image: rds_cong_wait()
adds itself to m_waitq and then tests the port bit, and rds_poll()
registers on rds_poll_waitq and then reads the generation. That is
the store-buffering pattern described above waitqueue_active() in
include/linux/wait.h - the updater can observe an empty wait queue
while the waiter still observes the port as congested, and no wake-up
is issued.
rds_cong_wait() is an interruptible sleep with no timeout, so a
sender blocked on a congested port stays blocked until the next
congestion update from that peer arrives or a signal is delivered.
A poll() waiter misses the map-updated notification the same way.
Use wq_has_sleeper(), which is waitqueue_active() preceded by the
required full barrier, as rds_tcp_state_change() already does for
the same pattern.
📍 영향받는 시스템
Linux Kernel (RDS 프로토콜을 사용하는 버전)
⚔️ 공격 벡터
직접적인 공격보다는 특정 네트워크 혼잡 상황에서 시스템의 가용성을 저하시키는 서비스 거부(DoS) 형태의 현상 유발 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 rds_cong_map_updated() 함수 내 wq_has_sleeper() 적용 확인
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 보안 공지(CVE-2026-90081 관련)와 대조하여 판단