🇰🇷 한글 설명
Linux 커널의 Open vSwitch에서 GSO(Generic Segmentation Offload) 사용자 공간 절단 언더플로우 취약점이 발견되었습니다. OVS_ACTION_ATTR_TRUNC이 원래 skb 길이와의 차이값을 저장하는 과정에서, 세그먼트화된 패킷이 원래 길이보다 큰 절단 길이를 가지게 되어 skb_zerocopy() 호출 시 언더플로우가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 데이터의 길이를 계산하는 방식에 오류가 있어, 시스템이 잘못된 메모리 값을 참조할 수 있는 문제입니다. 이로 인해 네트워크 성능 저하나 시스템 불안정을 초래할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
openvswitch: fix GSO userspace truncation underflow
OVS_ACTION_ATTR_TRUNC currently stores a delta from the original skb
length in OVS_CB(skb)->cutlen. When a later userspace action segments a
GSO skb, queue_gso_packets() reuses that delta for each smaller segment.
A segment can then reach queue_userspace_packet() with cutlen greater
than skb->len, underflowing the length passed to skb_zerocopy().
Store the maximum preserved length instead and bound each consumer
against the current skb length. Use U32_MAX as the no-truncation
sentinel so the value remains valid if skb geometry changes before a
consumer handles it.
📍 영향받는 시스템
Open vSwitch를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
조작된 GSO 패킷을 전송하여 네트워크 스택의 길이 계산 오류를 유도하는 방식
🛡️ 대응 방법
Open vSwitch 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 사용 중인 커널 버전과 Open vSwitch 모듈 정보를 확인하여 패치 적용 여부를 검토합니다.
uname -r && modinfo openvswitch 2>/dev/null
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux