🔍 CVE-2026-46015

7.8
CVSS Score
HIGH
2026-05-27
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 TCP 스택에서 SO_REUSEPORT 그룹 내 리스너 마이그레이션 시 sk_data_ready() 호출이 누락되는 취약점이 발견되었습니다. 이로 인해 특정 상황에서 poll(), epoll_wait() 대기자나 블로킹 accept() 호출자가 무한히 잠든 상태로 유지될 수 있습니다. 이를 해결하기 위해 마이그레이션 후 RCU 보호 하에 데이터 준비 알림을 호출하도록 수정되었습니다.

💡 쉬운 설명

네트워크 연결을 처리하는 과정에서 데이터가 도착했다는 신호를 제대로 보내지 못하는 버그가 있습니다. 이 때문에 프로그램이 새로운 연결을 기다리다가 영원히 응답하지 않는 상태에 빠질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tcp: call sk_data_ready() after listener migration When inet_csk_listen_stop() migrates an established child socket from a closing listener to another socket in the same SO_REUSEPORT group, the target listener gets a new accept-queue entry via inet_csk_reqsk_queue_add(), but that path never notifies the target listener's waiters. A nonblocking accept() still works because it checks the queue directly, but poll()/epoll_wait() waiters and blocking accept() callers can also remain asleep indefinitely. Call READ_ONCE(nsk->sk_data_ready)(nsk) after a successful migration in inet_csk_listen_stop(). However, after inet_csk_reqsk_queue_add() succeeds, the ref acquired in reuseport_migrate_sock() is effectively transferred to nreq->rsk_listener. Another CPU can then dequeue nreq via accept() or listener shutdown, hit reqsk_put(), and drop that listener ref. Since listeners are SOCK_RCU_FREE, wrap the post-queue_add() dereferences of nsk in rcu_read_lock()/rcu_read_unlock(), which also covers the existing sock_net(nsk) access in that path. The reqsk_timer_handler() path does not need the same changes for two reasons: half-open requests become readable only after the final ACK, where tcp_child_process() already wakes the listener; and once nreq is visible via inet_ehash_insert(), the success path no longer touches nsk directly.

📍 영향받는 시스템

Linux Kernel (SO_REUSEPORT를 사용하는 환경)

⚔️ 공격 벡터

로컬 또는 원격에서 특정 TCP 연결 종료 및 마이그레이션 조건을 유도하여 서비스 가용성을 저해(DoS)할 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

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