🇰🇷 한글 설명
리눅스 커널의 netfilter flowtable 구성 요소에서 가비지 컬렉션(GC)이 불완전하게 설치된 흐름을 먼저 감지하여 발생하는 취약점입니다. 이로 인해 flow_offload_add() 과정 중 메모리 해제가 먼저 일어나 Slab-use-after-free 오류를 유발할 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 데이터가 완전히 저장되기도 전에 시스템이 이를 삭제해버리는 오류입니다. 이로 인해 시스템 메모리 오류가 발생하거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: flowtable: publish GC-visible tuple last
nf_flow_table_iterate() only treats original-direction tuple nodes as
owning entries. Publishing the original node first lets GC observe and
free a flow while flow_offload_add() is still inserting the reply node.
Publish the reply node first and the original node last so GC never
sees a partially installed flow.
KASAN can trigger slab-use-after-free read and write reports in the
flowtable/rhashtable path (rht_deferred_worker, jhash, flow_offload_del,
flow_offload_lookup, etc.).
📍 영향받는 시스템
Linux kernel (netfilter flowtable 구성 요소 포함 버전)
⚔️ 공격 벡터
특수하게 조작된 네트워크 패킷을 전송하여 flowtable의 race condition 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인