🇰🇷 한글 설명
Linux 커널 5.12-rc8 이전 버전의 SCTP 소켓 구현에서 발생하는 레이스 컨디션 취약점입니다. 적절한 잠금(locking) 없이 리스트 요소가 제거되어 네트워크 서비스 권한이나 일반 사용자 권한에서 커널 권한 상승으로 이어질 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제(커널)에서 데이터 처리 순서가 꼬이는 문제가 발생하여, 일반 사용자가 관리자 권한을 탈취할 수 있는 보안 약점입니다. 네트워크 통신 방식 중 하나인 SCTP를 사용할 때 발생할 수 있습니다.
🇺🇸 원문 (English)
A race condition in Linux kernel SCTP sockets (net/sctp/socket.c) before 5.12-rc8 can lead to kernel privilege escalation from the context of a network service or an unprivileged process. If sctp_destroy_sock is called without sock_net(sk)->sctp.addr_wq_lock then an element is removed from the auto_asconf_splist list without any proper locking. This can be exploited by an attacker with network service privileges to escalate to root or from the context of an unprivileged user directly if a BPF_CGROUP_INET_SOCK_CREATE is attached which denies creation of some SCTP socket.
📍 영향받는 시스템
Linux kernel versions prior to 5.12-rc8
⚔️ 공격 벡터
네트워크 서비스 권한을 가진 공격자 또는 특정 조건(BPF_CGROUP_INET_SOCK_CREATE) 하의 일반 사용자가 레이스 컨디션을 유도하여 공격
🛡️ 대응 방법
Linux 커널을 5.12-rc8 이상 버전으로 업데이트하거나 최신 보안 패치를 적용하십시오.
🔧 검증 코드
출력된 커널 버전이 5.12-rc8 미만인지 확인하십시오.