🇰🇷 한글 설명
Linux 커널의 neigh_xmit 함수에서 이웃 테이블이 초기화되지 않은 경우 skb(소켓 버퍼)를 해제하지 않고 반환하여 메모리 누수가 발생하는 취약점입니다. 이로 인해 시스템 자원이 지속적으로 소모될 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 사용한 메모리를 제대로 돌려주지 않고 잃어버리는 버그가 발견되었습니다. 이 문제가 계속되면 컴퓨터의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
neigh: let neigh_xmit take skb ownership
neigh_xmit always releases the skb, except when no neighbour table is
found. But even the first added user of neigh_xmit (mpls) relied on
neigh_xmit to release the skb (or queue it for tx).
sashiko reported:
If neigh_xmit() is called with an uninitialized neighbor table (for
example, NEIGH_ND_TABLE when IPv6 is disabled), it returns -EAFNOSUPPORT
and bypasses its internal out_kfree_skb error path. Because the return
value of neigh_xmit() is ignored here, does this leak the SKB?
Assume full ownership and remove the last code path that doesn't
xmit or free skb.
📍 영향받는 시스템
Linux Kernel (IPv6가 비활성화된 환경에서 neigh_xmit 호출 시 영향)
⚔️ 공격 벡터
특정 네트워크 프로토콜(예: MPLS)을 통해 초기화되지 않은 이웃 테이블을 호출하도록 유도하여 메모리 누수 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.