🇰🇷 한글 설명
리눅스 커널의 UDP GSO(Generic Segmentation Offload) 처리 과정에서 fraglist 세그먼트의 기하학적 구조가 손상될 때 발생하는 취약점입니다. NAT나 BPF와 같은 데이터 경로 훅이 skb 데이터를 수정할 경우, 잘못된 구조로 인해 NULL 포인터 역참조가 발생하여 시스템이 충돌할 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 효율적으로 나누어 보내는 과정에서 데이터 구조가 꼬여 컴퓨터가 멈추거나 오류가 발생하는 문제입니다. 특정 네트워크 설정이 데이터를 건드릴 때 발생할 수 있는 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
gso: fix udp gso fraglist segmentation after pull from frag_list
Detect gso fraglist skbs with corrupted geometry (see below) and
pass these to skb_segment instead of skb_segment_list, as the first
can segment them correctly.
Valid SKB_GSO_FRAGLIST skbs
- consist of two or more segments
- the head_skb holds the protocol headers plus first gso_size
- one or more frag_list skbs hold exactly one segment
- all but the last must be gso_size
Optional datapath hooks such as NAT and BPF (bpf_skb_pull_data) can
modify these skbs, breaking these invariants.
In extreme cases they pull all data into skb linear. For UDP, this
causes a NULL ptr deref in __udpv4_gso_segment_list_csum at
udp_hdr(seg->next)->dest.
Detect invalid geometry due to pull, by checking head_skb size.
Don't just drop, as this may blackhole a destination. Convert to be
able to pass to regular skb_segment.
📍 영향받는 시스템
UDP GSO 및 fraglist를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특정 네트워크 데이터 경로(NAT, BPF 등)를 통해 조작된 패킷 구조가 유입될 때 발생
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인