🔍 CVE-2026-80905

0.0
CVSS Score
UNKNOWN
2026-09-04
2026-10-21 13:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 tap 네트워크 드라이버에서 VLAN 태그가 포함된 프레임을 처리할 때 transport_header가 잘못 설정되는 취약점입니다. 네트워크 헤더를 먼저 설정함으로써 VLAN 헤더가 아닌 내부 프로토콜 헤더를 VLAN 헤더로 오인하여 처리하는 문제가 발생합니다. 이로 인해 transport_header가 초기화되지 않은 상태로 남게 됩니다.

💡 쉬운 설명

네트워크 데이터 패킷을 읽을 때 VLAN이라는 꼬리표를 잘못 해석하여 데이터의 위치를 엉뚱하게 파악하는 문제입니다. 이로 인해 데이터의 실제 전송 계층 정보가 제대로 설정되지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: tap: fix wrong transport_header when sending VLAN-tagged frame In tap_get_user_xdp(), when processing a VLAN-tagged frame (e.g. ETH_P_8021Q), skb_set_network_header() is called first to advance network_header past the VLAN tag to the inner protocol header. skb_probe_transport_header() is then called with skb->protocol still set to ETH_P_8021Q, while nhoff (derived from skb_network_offset()) already points past the VLAN tag to the inner protocol header. In __skb_flow_dissect(), proto is initialized to ETH_P_8021Q and nhoff points past the VLAN tag. When the dissector hits case ETH_P_8021Q, it reads a struct vlan_hdr at the current nhoff via __skb_header_pointer(), but that offset contains the inner protocol header (e.g. an IP header). The bytes are misinterpreted as a VLAN header, yielding a garbage encapsulated EtherType that matches no known protocol. The dissector returns false, so skb_probe_transport_header() never calls skb_set_transport_header(), leaving transport_header at its uninitialized sentinel value (~0U). Move skb_set_network_header() to after skb_probe_transport_header(). At the time skb_probe_transport_header() is called, network_header still points to the VLAN header (offset ETH_HLEN), so nhoff is correct and the flow dissector can parse the VLAN header, extract the inner EtherType, and advance nhoff to the inner protocol header, allowing transport_header to be set correctly.

📍 영향받는 시스템

VLAN 태그를 사용하는 Linux 커널의 tap 네트워크 드라이버를 사용하는 시스템

⚔️ 공격 벡터

특수하게 조작된 VLAN 태그가 포함된 네트워크 프레임을 전송하여 커널의 헤더 처리 로직을 교란

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 skb_set_network_header 호출 순서를 수정

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel