🇰🇷 한글 설명
Linux 커널의 tunnels 구성 요소에서 IPv6 PMTU 오류를 생성할 때 경계 외 메모리 접근(out-of-bounds access)이 발생하는 취약점입니다. 비선형 skb(socket buffer)를 처리할 때 csum_partial 함수를 사용하여 메모리 오류가 발생하며, 이를 skb_checksum으로 교체하여 해결되었습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 메모리의 허용된 범위를 벗어나 잘못된 위치를 읽는 오류가 발견되었습니다. 이로 인해 시스템이 충돌하거나 보안 문제가 생길 수 있어 수정이 필요합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
tunnels: fix out of bounds access when building IPv6 PMTU error
If the ICMPv6 error is built from a non-linear skb we get the following
splat,
BUG: KASAN: slab-out-of-bounds in do_csum+0x220/0x240
Read of size 4 at addr ffff88811d402c80 by task netperf/820
CPU: 0 PID: 820 Comm: netperf Not tainted 6.8.0-rc1+ #543
...
kasan_report+0xd8/0x110
do_csum+0x220/0x240
csum_partial+0xc/0x20
skb_tunnel_check_pmtu+0xeb9/0x3280
vxlan_xmit_one+0x14c2/0x4080
vxlan_xmit+0xf61/0x5c00
dev_hard_start_xmit+0xfb/0x510
__dev_queue_xmit+0x7cd/0x32a0
br_dev_queue_push_xmit+0x39d/0x6a0
Use skb_checksum instead of csum_partial who cannot deal with non-linear
SKBs.
📍 영향받는 시스템
Linux kernel (vxlan/tunneling 관련 모듈을 사용하는 버전)
⚔️ 공격 벡터
특수하게 조작된 IPv6 PMTU 오류 패킷을 전송하여 커널 메모리 오류 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인