🔍 CVE-2026-98096

7.4
CVSS Score
HIGH
2026-09-25
2026-10-28 18:58
✅ 완료

🇰🇷 한글 설명

Linux 커널의 IPv6 Segment Routing Header(SRH) 처리 과정에서 네트워크 헤더 위치를 잘못 계산하는 취약점이 발견되었습니다. SRH 앞에 다른 확장 헤더가 있을 경우 네트워크 오프셋이 음수로 계산되어, BPF 로직 오류나 메모리 범위 외(OOB) 읽기/쓰기 및 버퍼 오버플로우를 유발할 수 있습니다.

💡 쉬운 설명

인터넷 데이터 패킷을 처리할 때 데이터의 시작 위치를 잘못 계산하여 시스템 오류를 일으키거나 메모리 보안을 해칠 수 있는 문제입니다. 공격자가 특수하게 조작된 패킷을 보내면 시스템이 비정상적으로 동작할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: restore network header before routing and forwarding ipv6_srh_rcv() runs with skb->data at the Segment Routing Header (SRH) while skb_network_header() points at the IPv6 header. When segments_left > 0, ipv6_srh_rcv() previously restored the skb->data position by pushing sizeof(struct ipv6hdr), assuming the SRH immediately followed the fixed IPv6 header. If another extension header (such as a Hop-by-Hop options header) precedes the SRH, skb_network_offset() remained negative. This led to two problems: 1. During ip6_route_input(), fib6_rules_early_flow_dissect() invokes __skb_flow_dissect() which passes the negative skb_network_offset() to flow dissection, breaking BPF and C flow dissector logic. 2. If forwarded via ip6_forward() or redirected via act_mirred, downstream handlers (like sch_fragment() or neighbour output) pass the negative offset as an unsigned length, triggering OOB memcpy or buffer overflows. Fix this by pushing -skb_network_offset(skb) before routing, ensuring skb_network_offset(skb) is 0 for route lookup / flow dissection as well as downstream forwarding. On the loopback path, pull skb_transport_offset(skb) to restore skb->data to the SRH before looping back.

📍 영향받는 시스템

Segment Routing(SRH) 기능을 사용하는 IPv6 설정이 활성화된 Linux 커널

⚔️ 공격 벡터

조작된 IPv6 확장 헤더(SRH 및 기타 헤더 조합)를 포함한 패킷 전송

🛡️ 대응 방법

IPv6 SRH 관련 패치가 적용된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 배포판의 보안 패치 버전 이상인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel