🔍 CVE-2026-68117

9.8
CVSS Score
CRITICAL
2026-08-10
2026-10-19 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 TIPC 프로토콜에서 tipc_sk_create() 함수가 소켓 삽입에 실패할 경우, 이미 해제된 메모리 객체를 가리키는 dangling pointer를 남겨두는 취약점입니다. 이로 인해 accept() 경로에서 use-after-free가 발생하여 커널 메모리 오염 및 시스템 불안정을 초래할 수 있습니다.

💡 쉬운 설명

프로그램이 사용이 끝난 메모리 주소를 지우지 않고 계속 붙잡고 있다가, 나중에 그 주소를 다시 사용하려고 할 때 발생하는 오류입니다. 이 오류를 이용하면 해커가 시스템의 중요한 정보를 조작하거나 제어권을 뺏을 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tipc: clear sock->sk on the failed-insert path in tipc_sk_create() When tipc_sk_create() fails to insert the new socket (tipc_sk_insert() returns non-zero), its error path frees the sk with sk_free() but leaves sock->sk pointing at the freed object: if (tipc_sk_insert(tsk)) { sk_free(sk); pr_warn("Socket create failed; port number exhausted\n"); return -EINVAL; } This is harmless for plain socket(): the syscall layer clears sock->ops before releasing, so tipc_release() is never called. It is not harmless on the accept() path. tipc_accept() creates the pre-allocated child socket with tipc_sk_create(net, new_sock, 0, kern); on failure it leaves new_sock->sk dangling and new_sock->ops non-NULL, and do_accept() then fput()s the new file, so __sock_release() -> tipc_release() runs lock_sock(new_sock->sk) on the freed sk -- a use-after-free write of the sk_lock spinlock. tipc_release() already guards this exact "failed accept() releases a pre-allocated child" case with "if (sk == NULL) return 0;", but the guard is bypassed because tipc_sk_create() left sock->sk non-NULL (dangling) rather than NULL. Clear sock->sk on the failed-insert path so the existing tipc_release() NULL check fires and the use-after-free is avoided. The tipc_sk_insert() failure is reached when the per-netns socket rhashtable hits its max_size (tsk_rht_params.max_size = 1048576, ~2M elements) -- i.e. once a netns holds ~2M TIPC sockets every insert returns -E2BIG. BUG: KASAN: slab-use-after-free in lock_sock_nested (net/core/sock.c:3839) Write of size 8 at addr ffff8880047cdc38 by task init/1 lock_sock_nested (net/core/sock.c:3839) tipc_release (net/tipc/socket.c:638) __sock_release (net/socket.c:710) sock_close (net/socket.c:1501) __fput (fs/file_table.c:512) Allocated by task 1: sk_alloc (net/core/sock.c:2308) tipc_sk_create (net/tipc/socket.c:487) tipc_accept (net/tipc/socket.c:2744) do_accept (net/socket.c:2034) Freed by task 1: __sk_destruct (net/core/sock.c:2391) tipc_sk_create (net/tipc/socket.c:504) tipc_accept (net/tipc/socket.c:2744) do_accept (net/socket.c:2034)

📍 영향받는 시스템

Linux Kernel (TIPC 프로토콜이 활성화된 환경)

⚔️ 공격 벡터

네트워크 네임스페이스 내의 TIPC 소켓 수를 최대치(약 200만 개)까지 늘려 소켓 삽입 실패를 유도한 후 accept() 호출

🛡️ 대응 방법

TIPC 관련 커널 패치 적용 또는 TIPC 프로토콜 비활성화

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

NVIDIA vGPU Guest Driver for Linux