🇰🇷 한글 설명
Linux kernel 4.8.14 이전 버전의 L2TPv3 IP Encapsulation 기능에서 발생하는 Race condition 취약점으로, 로컬 사용자가 multiple bind system calls를 통해 SOCK_ZAPPED 상태를 우회하여 권한 상승 또는 use-after-free 취약점을 이용한 서비스 거부 공격을 수행할 수 있습니다.
💡 쉬운 설명
Linux 커널의 L2TP 네트워킹 기능에서 메모리 관리 순서 문제로, 로컬 접근 권한이 있는 사용자가 이를 악용하여 시스템 권한을 얻거나 시스템을 마비시킬 수 있습니다. 인터넷을 통한 원격 공격은 불가능하며 시스템 접근 사용자만 위협 대상입니다.
🇺🇸 원문 (English)
Race condition in the L2TPv3 IP Encapsulation feature in the Linux kernel before 4.8.14 allows local users to gain privileges or cause a denial of service (use-after-free) by making multiple bind system calls without properly ascertaining whether a socket has the SOCK_ZAPPED status, related to net/l2tp/l2tp_ip.c and net/l2tp/l2tp_ip6.c.
📍 영향받는 시스템
Linux kernel 4.8.14 이전 버전, CONFIG_L2TP 또는 CONFIG_L2TP_IP 활성화된 시스템
⚔️ 공격 벡터
로컬 사용자가 L2TP socket에 대해 bind() system call을 반복 호출하여 race condition 유발 및 메모리 오염
🛡️ 대응 방법
Linux kernel을 4.8.14 이상 버전으로 업그레이드하거나 L2TPv3 커널 모듈 비활성화/로드 해제
🔧 검증 코드
표시되는 커널 버전이 4.8.14 미만이면 취약하고, 4.8.14 이상이면 패치됨