🇰🇷 한글 설명
Linux 커널의 xfrm AH6 구성 요소에서 IPv6 라우팅 헤더의 segments_left 값을 검증하지 않아 발생하는 취약점입니다. 조작된 HDRINCL 패킷을 통해 segments_left 값을 비정상적으로 크게 설정할 경우, memmove() 함수 호출 시 메모리 경계를 벗어난 접근(Out-of-bounds access)이 발생할 수 있습니다.
💡 쉬운 설명
네트워크 패킷의 특정 정보가 실제 데이터 길이보다 훨씬 크다고 속여서 컴퓨터 메모리의 잘못된 부분을 건드리게 만드는 오류입니다. 이를 통해 시스템이 오작동하거나 보안이 뚫릴 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xfrm: ah6: validate routing header segments_left
AH6 rearranges routing-header addresses before computing or verifying the
ICV. ipv6_rearrange_rthdr() assumes that segments_left is not larger than
the number of addresses described by the routing header's hdrlen field.
That assumption does not hold for raw IPv6 HDRINCL packets. A packet with
hdrlen equal to 2 describes one address, but can carry an arbitrary
segments_left value. With segments_left equal to 255, the function moves
its address pointer 4,064 bytes backwards and passes a 4,064-byte length to
memmove(), resulting in an out-of-bounds access.
Validate the invariant locally before modifying the routing header or
performing any address-pointer arithmetic, and propagate malformed-header
errors to the existing AH6 input and output error paths.
📍 영향받는 시스템
Linux Kernel (xfrm/ah6 모듈을 사용하는 시스템)
⚔️ 공격 벡터
조작된 segments_left 값을 포함한 악의적인 IPv6 HDRINCL 패킷 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인
💻 영향받는 소프트웨어
IBM Security Verify Access