🇰🇷 한글 설명
리눅스 커널의 네트워크 스택에서 TCP GSO fraglist 세그먼트 처리 중 데이터 구조가 손상될 수 있는 취약점입니다. NAT나 BPF와 같은 데이터 경로 훅이 SKB 구조를 변경할 경우, 잘못된 메모리 참조로 인해 NULL 포인터 역참조가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 효율적으로 나누어 보내는 과정에서 데이터 구조가 꼬여 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 특정 네트워크 처리 기능이 작동할 때 데이터의 모양이 변하면서 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: gso: fix tcp fraglist segmentation after pull from frag_list
Detect tcp 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 TCP, this
causes a NULL ptr deref in __tcpv4_gso_segment_list_csum at
tcp_hdr(seg->next).
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.
Approach and description based on a patch by Willem de Bruijn.
📍 영향받는 시스템
Linux Kernel (GSO/TCP 관련 모듈 사용 시스템)
⚔️ 공격 벡터
네트워크 패킷 처리 과정에서 NAT 또는 BPF를 통해 조작된 패킷을 전달하여 발생
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인