🇰🇷 한글 설명
리눅스 커널의 UDP 터널 세그멘테이션 과정에서 Use-After-Free 취약점이 발견되었습니다. 터널 헤더를 처리하기 전 UDP 헤더 포인터를 미리 저장할 경우, 메모리 재할당 시 해당 포인터가 무효화되어 발생합니다.
💡 쉬운 설명
데이터를 쪼개는 과정에서 이미 사용이 끝난 메모리 주소를 다시 참조하여 발생하는 오류입니다. 이를 통해 공격자가 시스템을 중단시키거나 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
udp: fix potential use-after-free in tunnel segmentation
__skb_udp_tunnel_segment() gets the UDP header before ensuring the
tunnel header is in the skb head. If the pull reallocates skb->head,
the saved UDP header pointer is no longer valid.
Get the UDP header after the pull to avoid a potential use-after-free.
📍 영향받는 시스템
UDP 터널링 기능을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특수하게 조작된 UDP 터널링 패킷을 전송하여 메모리 오류 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인