🔍 CVE-2026-31684

5.5
CVSS Score
MEDIUM
2026-04-25
2026-11-06 16:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 net: sched: act_csum 구성 요소에서 중첩된 VLAN 헤더를 검증할 때 발생하는 취약점입니다. VLAN 헤더가 선형 영역에 완전히 포함되어 있는지 확인하지 않고 데이터를 읽음으로써, 메모리 경계를 벗어나 읽거나 skb 불변성을 위반할 수 있습니다.

💡 쉬운 설명

네트워크 패킷 안에 여러 겹의 VLAN 정보가 들어있을 때, 시스템이 이를 확인하는 과정에서 데이터 범위를 벗어나 잘못된 메모리를 읽을 수 있는 문제입니다. 이로 인해 시스템 오류나 예기치 않은 동작이 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: sched: act_csum: validate nested VLAN headers tcf_csum_act() walks nested VLAN headers directly from skb->data when an skb still carries in-payload VLAN tags. The current code reads vlan->h_vlan_encapsulated_proto and then pulls VLAN_HLEN bytes without first ensuring that the full VLAN header is present in the linear area. If only part of an inner VLAN header is linearized, accessing h_vlan_encapsulated_proto reads past the linear area, and the following skb_pull(VLAN_HLEN) may violate skb invariants. Fix this by requiring pskb_may_pull(skb, VLAN_HLEN) before accessing and pulling each nested VLAN header. If the header still is not fully available, drop the packet through the existing error path.

📍 영향받는 시스템

VLAN 중첩 기능을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

조작된 중첩 VLAN 헤더를 포함한 네트워크 패킷을 전송하여 메모리 경계 외 읽기 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 pskb_may_pull 검증 로직 적용

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel