🔍 CVE-2026-80784

0.0
CVSS Score
UNKNOWN
2026-09-04
2026-09-04 16:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 MPTCP 구성 요소에서 소켓 해제 과정 중 발생하는 레이스 컨디션으로 인해 메모리 누수가 발생합니다. 소켓 파괴 과정에서 락(lock)을 해제하는 사이에 사용자 공간의 PM(Path Manager) 알림이 동시에 처리되면, 할당된 메모리 객체가 리스트에 추가된 후 참조되지 못하고 누수됩니다.

💡 쉬운 설명

컴퓨터가 네트워크 연결을 끊는 도중에 동시에 새로운 연결 정보가 들어오면, 시스템이 사용한 메모리를 제대로 회수하지 못하고 계속 쌓아두게 되는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: fix memory leak from alloc-during-teardown race mptcp_pm_destroy() empties msk->pm.anno_list and msk->pm.userspace_pm_local_addr_list under msk->pm.lock during socket teardown, dropping the lock between the two. A concurrent userspace PM genl ANNOUNCE on the same msk holds a sock reference via mptcp_token_get_sock() and, in mptcp_pm_nl_announce_doit(), calls mptcp_userspace_pm_append_new_local_addr() and mptcp_pm_announced_alloc(). Both take msk->pm.lock briefly to add to their respective lists. Because the genl handler holds a sock reference, mptcp_pm_destroy() may run on the same msk via mptcp_disconnect(), which invokes mptcp_destroy_common() without dropping the sock refcount, before the handler completes. If the lock acquisitions interleave such that mptcp_pm_destroy() empties a list first, the later alloc adds its entry to a list head that nothing else iterates for this msk, and the entry leaks. kmemleak reports both mptcp_pm_add_addr objects (from mptcp_pm_announced_alloc()) and mptcp_pm_addr_entry objects (from mptcp_userspace_pm_append_new_local_addr()) under sustained concurrent ANNOUNCE + close load against the userspace PM. Add an MPTCP_PM_DESTROYING bit in msk->pm.status, set by mptcp_pm_destroy() under pm.lock before the lists are emptied and checked under pm.lock by the alloc paths. Either the alloc takes pm.lock first, in which case its entry is on the list when mptcp_pm_destroy() frees it; or mptcp_pm_destroy() takes pm.lock first, in which case the later alloc observes the bit and refuses. Found by an MPTCP protocol-flow harness extending BRF (arXiv:2305.08782).

📍 영향받는 시스템

Linux kernel (MPTCP 기능이 활성화된 버전)

⚔️ 공격 벡터

사용자 공간에서 MPTCP PM genl ANNOUNCE 메시지를 지속적으로 보내며 동시에 소켓을 닫는 방식의 로컬 공격

🛡️ 대응 방법

MPTCP 상태 플래그(MPTCP_PM_DESTROYING)를 도입하여 소켓 파괴 중에는 새로운 메모리 할당을 차단하도록 커널 패치 적용

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전인지 배포판 보안 공지를 통해 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel