🔍 CVE-2026-68335

7.8
CVSS Score
HIGH
2026-08-10
2026-10-19 22:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RDS 프로토콜에서 네트워크 네임스페이스 경계를 넘나드는 메시지를 적절히 차단하지 못해 발생하는 취약점입니다. 서로 다른 네트워크 네임스페이스 간에 메시지가 전달될 경우, 연결된 객체가 해제된 후에도 참조를 시도하여 Use-After-Free(UAF) 오류를 유발할 수 있습니다.

💡 쉬운 설명

서로 격리되어 있어야 할 네트워크 공간 사이에서 데이터가 잘못 전달되어 시스템 메모리 오류를 일으키는 문제입니다. 이로 인해 해커가 시스템 권한을 탈취하거나 시스템을 강제로 종료시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: rds: drop incoming messages that cross network namespace boundaries rds_find_bound() looks up the destination socket using a global rhashtable keyed solely on (addr, port, scope_id). Network namespaces are not part of the key, so a sender in netns A can deliver an incoming message (inc) to a socket that lives in a different netns B. When this happens, inc->i_conn points to an rds_connection whose c_net is netns A, but the receiving rs lives in netns B. Once the child process that created netns A exits, cleanup_net() calls rds_loop_exit_net() -> rds_loop_kill_conns() -> rds_conn_destroy(), freeing that connection. If the survivor socket in netns B still holds the inc, any subsequent dereference of inc->i_conn is a use-after-free. There are two dangerous sites in rds_clear_recv_queue(): 1. inc->i_conn->c_lcong (offset 88 of freed rds_connection, size 200) read via rds_recv_rcvbuf_delta() -- confirmed by KASAN. 2. inc->i_conn->c_trans->inc_free(inc) (function pointer at offset 80) called via rds_inc_put() when the inc refcount reaches zero -- same race window, potential call-through-freed-object primitive. The bug is reachable from unprivileged user namespaces (CLONE_NEWUSER + CLONE_NEWNET), available since Linux 3.8. Fix this by rejecting the delivery in rds_recv_incoming() when the socket returned by rds_find_bound() belongs to a different network namespace than the connection that carried the message. Use the existing rds_conn_net() / sock_net() helpers and net_eq() for the comparison.

📍 영향받는 시스템

Linux kernel 3.8 이상 버전 (RDS 프로토콜 사용 시)

⚔️ 공격 벡터

비특권 사용자가 사용자 및 네트워크 네임스페이스를 생성하여 메시지를 전송함으로써 발생

🛡️ 대응 방법

RDS 메시지 수신 시 네트워크 네임스페이스 일치 여부를 확인하도록 커널을 최신 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인

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

💻 영향받는 소프트웨어

NVIDIA vGPU Guest Driver for Linux