🇰🇷 한글 설명
리눅스 커널의 netfilter nf_tables 구성 요소에서 가비지 컬렉션(GC) 시퀀스 도중 뮤텍스(Mutex)가 부적절하게 해제되는 취약점입니다. 이로 인해 비동기 GC 워커가 만료된 객체를 수집하는 과정에서 잠금 메커니즘이 무력화될 수 있습니다.
💡 쉬운 설명
시스템이 불필요한 데이터를 정리하는 과정에서 보안 잠금 장치가 너무 일찍 풀리는 문제입니다. 이로 인해 데이터 정리 작업이 꼬이면서 시스템 오류나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
The commit mutex should not be released during the critical section
between nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GC
worker could collect expired objects and get the released commit lock
within the same GC sequence.
nf_tables_module_autoload() temporarily releases the mutex to load
module dependencies, then it goes back to replay the transaction again.
Move it at the end of the abort phase after nft_gc_seq_end() is called.
📍 영향받는 시스템
Linux kernel (nf_tables 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 권한을 가진 공격자가 특수하게 조작된 nftables 트랜잭션을 실행하여 레이스 컨디션 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인