🇰🇷 한글 설명
Linux 커널의 netfilter 구성 요소에서 읽을 수 없는 파편(fragment)을 처리할 때 발생하는 취약점입니다. u32 모듈이 읽을 수 없는 데이터 조각을 처리하려 할 때 발생하며, 이를 수정하기 위해 xt_u32 및 nfnetlink 관련 모듈에서 오류 처리를 강화했습니다.
💡 쉬운 설명
컴퓨터가 네트워크 데이터를 읽을 때, 읽을 수 없는 잘못된 데이터 조각이 들어오면 시스템이 혼란을 겪을 수 있는 문제입니다. 이 문제를 해결하여 잘못된 데이터가 들어와도 시스템이 안전하게 무시하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: handle unreadable frags
sashiko reports:
When an skb with unreadable fragments (such as from devmem TCP, where
skb_frags_readable(skb) returns false) is processed by the u32 module,
skb_copy_bits() will safely return a negative error code [..]
xt_u32: bail out with hotdrop in this case.
gather_frags: return -1, just as if we had no fragment header.
nfnetlink_queue: restrict to the linear part.
nfnetlink_log: restrict to the linear part.
v2:
- skb_zerocopy helpers don't copy readable flag, i.e. nfnetlink_queue
is broken too
xt_u32 shouldn't return true if hotdrop was set.
📍 영향받는 시스템
Linux Kernel (netfilter, xt_u32, nfnetlink 관련 모듈 사용 시스템)
⚔️ 공격 벡터
조작된 네트워크 패킷(읽을 수 없는 파편을 포함한 패킷)을 전송하여 취약한 커널 모듈을 자극
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인