🔍 CVE-2026-74656

7.8
CVSS Score
HIGH
2026-08-22
2026-10-16 20:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ipv4 구성 요소에서 fib_nhc_update_mtu() 함수 실행 중 Use-After-Free 취약점이 발견되었습니다. RTNL 잠금과 PMTU 예외 업데이트 간의 직렬화 부재로 인해, RCU grace period 이후에 이미 해제된 메모리에 접근할 수 있는 문제가 발생합니다.

💡 쉬운 설명

컴퓨터의 네트워크 정보를 업데이트하는 과정에서 이미 삭제된 메모리 영역을 다시 사용하려고 시도하여 시스템 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 보안 공격에 노출될 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ipv4: fix use-after-free in fib_nhc_update_mtu() fib_nhc_update_mtu() walks the nexthop exception table under RTNL, but RTNL does not serialize this walk with PMTU exception updates. The walk uses rcu_dereference_protected() with a constant true condition without holding fnhe_lock. The following interleaving can therefore occur: CPU 0 CPU 1 fib_nhc_update_mtu() update_or_create_fnhe() load fnhe spin_lock_bh(&fnhe_lock) fnhe_remove_oldest() unlink fnhe kfree_rcu(fnhe, rcu) <quiescent state> access fnhe after grace period KASAN reported: BUG: KASAN: slab-use-after-free in fib_nhc_update_mtu+0x3df/0x410 Read of size 8 at addr ffff888107d49000 by task poc/90 Call Trace: fib_nhc_update_mtu+0x3df/0x410 fib_sync_mtu+0x7a/0xd0 fib_netdev_event+0x229/0x3f0 netif_set_mtu_ext+0x33a/0x570 dev_set_mtu+0x88/0x120 The same walk updates fnhe_pmtu and fnhe_mtu_locked. These fields form a pair and other writers serialize them with fnhe_lock. RCU alone prevents reclamation, but would still allow concurrent writers to leave a mixed pair. Walk the table under RCU and acquire fnhe_lock only while updating each exception. RCU keeps the current entry alive while the short critical section serializes its paired PMTU fields. This avoids holding the global lock while scanning all 2048 buckets for every nexthop.

📍 영향받는 시스템

Linux Kernel (ipv4 stack 관련 버전)

⚔️ 공격 벡터

특정 네트워크 설정 변경(MTU 업데이트)을 유도하여 메모리 해제 후 재사용(Use-After-Free) 상황을 발생시킴

🛡️ 대응 방법

해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel