🇰🇷 한글 설명
Linux 커널의 netfilter 구성 요소 중 nft_fib에서 발생하는 NULL 포인터 역참조 취약점입니다. netdev egress 훅에서 fib 표현식을 사용할 때 잘못된 검증 로직으로 인해 시스템 오류가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 잘못된 명령이 전달될 경우 컴퓨터의 핵심 시스템인 커널이 멈추거나 오류를 일으킬 수 있는 문제입니다. 특정 네트워크 설정 규칙을 사용할 때 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_fib: reject fib expression on the netdev egress hook
A fib expression in a netdev egress base chain dereferences nft_in(pkt),
NULL on the transmit path, causing a NULL pointer dereference at eval.
nft_fib_validate() masks the hook with NF_INET_* values, but netdev hook
numbers are a separate enum that aliases them (NF_NETDEV_EGRESS ==
NF_INET_LOCAL_IN), so an egress chain passes validation and then faults.
Add nft_fib_netdev_validate() that limits each result/flag to the netdev
hook where the device it reads exists: the input-device cases (OIF,
OIFNAME, ADDRTYPE with F_IIF) to ingress, the output-device case (ADDRTYPE
with F_OIF) to egress, ADDRTYPE with no device flag to both. Also restrict
nft_fib_validate() to NFPROTO_IPV4/IPV6/INET so its NF_INET_* masks are
not applied to another family's hooks.
📍 영향받는 시스템
Linux kernel (netfilter/nftables 사용 시스템)
⚔️ 공격 벡터
조작된 nftables 규칙을 통해 네트워크 패킷의 egress 경로에서 NULL 포인터 역참조 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인하십시오.