🔍 CVE-2026-99116

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

🇰🇷 한글 설명

Linux 커널의 PSP 네트워크 모듈에서, 리스너 소켓으로부터 복제된 자식 소켓이 부모의 Rx 연결(psp_assoc) 포인터를 참조 카운트 없이 상속하는 문제가 수정되었습니다. 이로 인해 TIME_WAIT 상태 소켓 정리 과정에서 이미 해제된 메모리에 쓰기가 발생하는 use-after-free 취약점이 존재했습니다.

💡 쉬운 설명

리눅스 커널이 네트워크 연결을 만들 때 부모 연결의 정보를 잘못 물려받아, 이미 지워진 메모리를 다시 건드리는 버그가 있었습니다. 이 때문에 시스템이 불안정해지거나 공격자가 메모리 손상을 일으킬 수 있었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: psp: do not inherit the Rx association on clone sk->psp_assoc sits past sk_dontcopy_end, so sock_copy() copies it into every socket accepted from a listener without taking a reference, while inet_sock_destruct() puts for every inet socket. psp_twsk_init() does refcount_inc() for the timewait socket, so a child closing through TIME_WAIT cancels its own put and leaves the association with one reference and N timewait sockets holding the same pointer. Closing the listener frees it, and the timewait timers then put freed memory. Rejecting the association on a listening socket is not sufficient: a socket can acquire one while established and then be turned back into a listener, because tcp_disconnect() leaves sk->psp_assoc in place. BUG: KASAN: slab-use-after-free in psp_twsk_assoc_free+0x6f/0xf0 Write of size 4 at addr ffff888110f9255c by task swapper/7/0 psp_twsk_assoc_free+0x6f/0xf0 inet_twsk_put+0xda/0x1b0 call_timer_fn+0x53/0x2e0 __run_timers+0x764/0xa80 Freed by task 99: kfree+0x1a7/0x500 process_one_work+0x7ec/0x1100 An association carries a per-connection SPI and key, so a child must not inherit the parent's. Clear it on clone.

📍 영향받는 시스템

PSP 기능이 포함된 Linux 커널 (수정 커밋 적용 이전의 해당 버전, 배포판별 패치 버전 확인 필요)

⚔️ 공격 벡터

네트워크를 통해 PSP 연결 상태를 조작하는 공격자가 TIME_WAIT 소켓 정리 과정의 메모리 손상을 유발하여 커널 충돌 또는 권한 상승을 시도할 수 있습니다.

🛡️ 대응 방법

배포판 벤더가 제공하는 수정된 커널 패키지로 업데이트 후 재부팅하십시오.

🔧 검증 코드

출력된 커널 버전이 벤더의 수정 버전 이상인지 확인하고, 해당 버전 정보는 배포판 보안 공지(CVE-2026-99116)와 대조하여 패치 적용 여부를 판단하십시오. PSP 항목이 출력되지 않으면 해당 기능이 비활성화된 것입니다.

Shell / Script
uname -r && grep -ri psp /proc/net/protocols 2>/dev/null | head -n 1

📊 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