🇰🇷 한글 설명
리눅스 커널의 IPv6 경로 재균형(rt6_multipath_rebalance) 과정에서 0으로 나누기 오류가 발생할 수 있는 취약점입니다. RTM_NEWROUTE 작업 중 경로 업데이트가 동시에 발생할 경우, 가중치 합계가 0으로 계산되어 시스템 오류(Divide by zero)를 유발할 수 있습니다.
💡 쉬운 설명
네트워크 경로를 자동으로 조정하는 과정에서 계산 오류가 발생하여 컴퓨터 시스템이 갑자기 멈추거나 오류를 일으킬 수 있는 문제입니다. 특정 상황에서 숫자를 0으로 나누는 수학적 실수가 발생하여 시스템이 혼란에 빠지는 현상입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ipv6: avoid divide by zero in rt6_multipath_rebalance
rt6_multipath_rebalance() calculates the total eligible nexthop weight
in one pass and programs upper bounds in a second pass. Since
RTM_NEWROUTE is RTNL-free, a concurrent
ignore_routes_with_linkdown update can make the first pass return zero
while the second sees an eligible nexthop, causing
rt6_upper_bound_set() to divide by zero.
UBSAN: division-overflow in net/ipv6/route.c:4845:17
Oops: divide error: 0000 [#1] SMP KASAN NOPTI
rt6_upper_bound_set() net/ipv6/route.c:4845
rt6_multipath_rebalance()
fib6_add_rt2node()
ip6_route_multipath_add()
inet6_rtm_newroute()
Skip upper-bound calculation when the first pass reports a zero total.
This respects the lock-free performance considerations here and solves
insecure scenarios.
📍 영향받는 시스템
IPv6 멀티패스 라우팅을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
동시에 발생하는 네트워크 경로 업데이트 및 라우팅 메시지 조작을 통한 로컬/원격 트리거
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 보안 공지(CVE-2026-89790)와 대조하여 확인