🇰🇷 한글 설명
Linux 커널의 IPv4 경로 처리 과정에서 fib_nlmsg_size() 함수가 nexthop 공간을 잘못 계산하는 취약점이 발견되었습니다. IPv4 경로가 IPv6 게이트웨이를 포함할 경우(RTA_VIA) 메모리 할당량이 부족해져 커널 패닉이 발생할 수 있습니다.
💡 쉬운 설명
네트워크 경로 정보를 처리할 때 필요한 메모리 크기를 실제보다 작게 계산하는 오류가 있습니다. 이로 인해 시스템이 예상치 못한 오류를 일으키거나 갑자기 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops
fib_nlmsg_size() still estimates nexthop space as if every gateway is
encoded as an IPv4 RTA_GATEWAY attribute. IPv4 routes can also carry an
IPv6 gateway, which fib_nexthop_info() dumps as RTA_VIA.
As a result, route notifications can allocate an skb that is too small.
fib_dump_info() then fails with -EMSGSIZE and rtmsg_fib() hits the
WARN_ON() that marks such failures as a fib_nlmsg_size() bug. With
panic_on_warn set, this becomes a kernel panic.
Mirror the actual nexthop dump layout in fib_nlmsg_size(): account for
IPv6 nexthop gateways dumped as RTA_VIA, for the no-header rtnexthop
layout used inside RTA_MULTIPATH, and for RTA_FLOW only when it is
actually present.
📍 영향받는 시스템
IPv4 nexthop에 IPv6 게이트웨이를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특수하게 구성된 IPv4 경로 정보를 생성하여 커널의 메모리 할당 오류를 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 보안 공지(CVE-2026-74657)와 대조