🇰🇷 한글 설명
Linux 커널의 nexthop 구현에서 fib6_check_nh_list() 및 __nexthop_replace_notify() 함수가 nh->lock을 획득하지 않은 상태로 f6i_list를 순회하는 취약점이 발견되었습니다. 이로 인해 IPv6 경로 삭제 작업과 경합이 발생하여 메모리가 해제된 후 접근을 시도하는 slab-use-after-free 오류가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 경로를 관리하는 과정에서 데이터가 삭제되는 동시에 읽으려고 시도할 때 발생하는 오류입니다. 공격자가 이를 악용하면 시스템이 충돌하거나 보안 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nexthop: take nh->lock for f6i_list walks in replace check and notify
fib6_check_nh_list() and __nexthop_replace_notify() walk nh->f6i_list
during an RTNL-serialized nexthop replace without holding nh->lock. IPv6
RTM_NEWROUTE/RTM_DELROUTE run without RTNL and mutate that list under
nh->lock (fib6_add_rt2node_nh(), fib6_purge_rt()), so both walks race a
concurrent route delete that unlinks and frees a fib6_info:
BUG: KASAN: slab-use-after-free in rt6_fill_node.isra.0 (net/ipv6/route.c:5799)
Read of size 4 at addr ffff888014607e64 by task exploit/143
rt6_fill_node.isra.0 (net/ipv6/route.c:5799)
fib6_rt_update (net/ipv6/route.c:6412)
__nexthop_replace_notify (net/ipv4/nexthop.c:2542)
rtm_new_nexthop (net/ipv4/nexthop.c:2554)
rtnetlink_rcv_msg (net/core/rtnetlink.c:7076)
BUG: KASAN: slab-use-after-free in fib6_check_nh_list (net/ipv4/nexthop.c:1605)
Read of size 8 at addr ffff888014a7d068 by task exploit/142
fib6_check_nh_list (net/ipv4/nexthop.c:1605)
rtm_new_nexthop (net/ipv4/nexthop.c:2575)
rtnetlink_rcv_msg (net/core/rtnetlink.c:7076)
Both walks only read the entries and take no tb6_lock, so protect them
with nh->lock; fib6_rt_update() uses gfp_any(), which returns GFP_ATOMIC
under the lock.
📍 영향받는 시스템
Linux Kernel (IPv6 및 nexthop 관련 모듈 사용 시스템)
⚔️ 공격 벡터
RTNetlink 메시지(RTM_NEWROUTE/RTM_DELROUTE)를 이용한 경합 조건(Race Condition) 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 nh->lock 보호 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 보안 공지(CVE-2026-74562)를 통해 확인하십시오.
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux