🇰🇷 한글 설명
Linux 커널의 VXLAN 네트워크 모듈에서 vxlan_xmit_one 함수 호출 시 sock4 또는 sock6 포인터가 NULL인 상태로 참조될 수 있는 취약점입니다. 인터페이스가 비활성화되는 등의 상황에서 발생하며, 이는 커널의 NULL 포인터 역참조(NULL pointer dereference)를 유발하여 시스템 오류를 일으킬 수 있습니다.
💡 쉬운 설명
네트워크 연결 통로가 갑자기 끊겼을 때, 컴퓨터가 존재하지 않는 연결 정보를 참조하려고 시도하다가 시스템이 멈추거나 오류가 발생하는 문제입니다. 이로 인해 시스템이 예기치 않게 중단될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: vxlan: prevent NULL deref in vxlan_xmit_one
Neither sock4 nor sock6 pointers are guaranteed to be non-NULL in
vxlan_xmit_one, e.g. if the iface is brought down. This can lead to the
following NULL dereference:
BUG: kernel NULL pointer dereference, address: 0000000000000010
Oops: Oops: 0000 [#1] SMP NOPTI
RIP: 0010:vxlan_xmit_one+0xbb3/0x1580
Call Trace:
vxlan_xmit+0x429/0x610
dev_hard_start_xmit+0x55/0xa0
__dev_queue_xmit+0x6d0/0x7f0
ip_finish_output2+0x24b/0x590
ip_output+0x63/0x110
Mentioned commits changed the code path in vxlan_xmit_one and as a side
effect the sock4/6 pointer validity checks in vxlan(6)_get_route were
lost. Fix this by adding back checks.
Since both commits being fixed were released in the same version (v6.7)
and are strongly related, bundle the fixes in a single commit.
📍 영향받는 시스템
Linux kernel v6.7 및 관련 VXLAN 모듈을 사용하는 시스템
⚔️ 공격 벡터
네트워크 인터페이스를 의도적으로 비활성화하거나 조작하여 커널의 NULL 포인터 역참조를 유도
🛡️ 대응 방법
VXLAN 관련 커널 패치를 적용하여 sock4/6 포인터 유효성 검사 로직을 복구해야 함
🔧 검증 코드
출력된 커널 버전이 취약점이 포함된 v6.7 버전인지 확인하고 최신 보안 패치가 적용된 버전인지 점검