🇰🇷 한글 설명
리눅스 커널의 ip_vti 장치에서 IPv6 패킷을 전송할 때 decode_session6 함수에서 slab-use-after-free 취약점이 발생할 수 있습니다. sfb 유형의 qdisc를 사용할 경우 enqueuing 과정에서 skb의 cb 필드가 수정되어 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 이미 사용이 끝난 메모리 공간을 다시 참조하여 시스템 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 공격에 노출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ip_vti: fix potential slab-use-after-free in decode_session6
When ip_vti device is set to the qdisc of the sfb type, the cb field
of the sent skb may be modified during enqueuing. Then,
slab-use-after-free may occur when ip_vti device sends IPv6 packets.
As commit f855691975bb ("xfrm6: Fix the nexthdr offset in
_decode_session6.") showed, xfrm_decode_session was originally intended
only for the receive path. IP6CB(skb)->nhoff is not set during
transmission. Therefore, set the cb field in the skb to 0 before
sending packets.
📍 영향받는 시스템
Linux kernel (ip_vti 및 xfrm6 관련 모듈 사용 시스템)
⚔️ 공격 벡터
특정 네트워크 설정(sfb qdisc) 환경에서 조작된 IPv6 패킷을 전송하여 메모리 오류 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인합니다.