🇰🇷 한글 설명
Linux 커널의 netfilter nf_tables 구성 요소에서 타임아웃이 설정된 익명 세트를 해제할 때 발생하는 레이스 컨디션 취약점입니다. 비동기적으로 실행되는 rhashtable 세트 가비지 컬렉션(GC) 과정에서 세트가 해제되는 도중 요소를 수집하려 시도하여 문제가 발생합니다. 이를 해결하기 위해 익명 세트에 'dead' 플래그를 설정하여 비동기 GC를 건너뛰도록 수정되었습니다.
💡 쉬운 설명
리눅스 시스템의 네트워크 관리 기능에서 데이터가 삭제되는 과정 중 충돌이 발생할 수 있는 결함입니다. 이 충돌을 이용하면 시스템의 안정성이 떨어지거나 예기치 않은 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
While the rhashtable set gc runs asynchronously, a race allows it to
collect elements from anonymous sets with timeouts while it is being
released from the commit path.
Mingi Cho originally reported this issue in a different path in 6.1.x
with a pipapo set with low timeouts which is not possible upstream since
7395dfacfff6 ("netfilter: nf_tables: use timestamp to check for set
element timeout").
Fix this by setting on the dead flag for anonymous sets to skip async gc
in this case.
According to 08e4c8c5919f ("netfilter: nf_tables: mark newset as dead on
transaction abort"), Florian plans to accelerate abort path by releasing
objects via workqueue, therefore, this sets on the dead flag for abort
path too.
📍 영향받는 시스템
Linux kernel (netfilter nf_tables 구성 요소가 포함된 버전)
⚔️ 공격 벡터
특정 타임아웃 설정이 적용된 익명 세트를 생성하고 해제하는 과정을 반복하여 레이스 컨디션을 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전 이상인지 확인