🇰🇷 한글 설명
Linux 커널의 netfilter nfnetlink_osf 구성 요소에서 TTL 확인 시 NULL 포인터 역참조가 발생할 수 있는 취약점이 발견되었습니다. nf_osf_ttl() 함수가 장치 포인터의 유효성을 검증하지 않고 skb->dev에 접근하며, 서브넷 판단 로직의 오류로 인해 잘못된 TTL 처리가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 패킷의 수명을 확인하는 과정에서 컴퓨터가 잘못된 메모리 주소를 참조하여 시스템 오류를 일으킬 수 있는 문제입니다. 특히 가상화 환경이나 컨테이너 환경에서 네트워크 주소를 잘못 판단할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check
The nf_osf_ttl() function accessed skb->dev to perform a local interface
address lookup without verifying that the device pointer was valid.
Additionally, the implementation utilized an in_dev_for_each_ifa_rcu
loop to match the packet source address against local interface
addresses. It assumed that packets from the same subnet should not see a
decrement on the initial TTL. A packet might appear it is from the same
subnet but it actually isn't especially in modern environments with
containers and virtual switching.
Remove the device dereference and interface loop. Replace the logic with
a switch statement that evaluates the TTL according to the ttl_check.
📍 영향받는 시스템
Linux Kernel (netfilter/nfnetlink_osf 모듈 사용 시스템)
⚔️ 공격 벡터
조작된 네트워크 패킷을 전송하여 커널의 NULL 포인터 역참조를 유도하거나 네트워크 로직 오류를 악용
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인