🇰🇷 한글 설명
Linux 커널의 ip6_gre 모듈에서 NBMA 터널의 하드웨어 헤더 길이를 잘못 계산하는 취약점이 해결되었습니다. ip6gre_tnl_link_config_route 함수가 하위 장치의 헤더 길이를 tunnel 장치의 hard_header_len에 잘못 누적하여 발생하며, 이를 통해 헤더 길이 계산 오류가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 터널을 만들 때 데이터의 앞부분(헤더) 길이를 계산하는 과정에서 실수가 있었습니다. 이로 인해 데이터가 전송될 때 헤더 크기가 실제보다 크게 계산되어 네트워크 통신에 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ip6_gre: fix hardware header length for NBMA tunnels
ip6gre_tnl_link_config_route() accumulates the lower device's hardware
header length into dev->hard_header_len whenever header_ops is set. This
is incorrect for both users of header_ops.
ip6gretap and ip6erspan have a fixed Ethernet hardware header length.
For an NBMA ip6gre tunnel, ip6gre_header() creates only the GRE header,
the optional FOU or GUE header, and the outer IPv6 header. The lower
device header is headroom needed later, not part of the tunnel device's
hardware header.
Keep the lower device header in needed_headroom. Set hard_header_len to
the tunnel header length only for ARPHRD_IP6GRE devices with header_ops,
and leave the fixed Ethernet header length unchanged for tap and erspan
devices.
📍 영향받는 시스템
Linux kernel (ip6_gre 모듈을 사용하는 시스템)
⚔️ 공격 벡터
특정 네트워크 구성(NBMA tunnel)을 통해 잘못된 헤더 길이를 유도하여 네트워크 스택 오류 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.