🇰🇷 한글 설명
Linux 커널의 netfilter nf_tables 구성 요소에서 발생한 취약점으로, nft reset, ipset list, iptables-nft 명령이 동시에 실행될 때 commit_mutex, nfnl_subsys_ipset, nlk_cb_mutex 간의 순환 잠금 의존성(Circular Lock Dependency)이 발생합니다. 이로 인해 시스템 데드락(Deadlock) 현상이 발생할 수 있습니다.
💡 쉬운 설명
여러 네트워크 설정 명령이 동시에 실행될 때, 시스템 내부의 자원 잠금 순서가 꼬여 컴퓨터가 멈춰버리는 현상이 발생할 수 있습니다. 특정 네트워크 규칙을 초기화하고 목록을 확인하는 작업이 겹칠 때 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: revert commit_mutex usage in reset path
It causes circular lock dependency between commit_mutex, nfnl_subsys_ipset
and nlk_cb_mutex when nft reset, ipset list, and iptables-nft with '-m set'
rule run at the same time.
Previous patches made it safe to run individual reset handlers concurrently
so commit_mutex is no longer required to prevent this.
📍 영향받는 시스템
Linux Kernel (nf_tables 및 ipset 관련 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 사용자가 특정 네트워크 설정 명령(nft, ipset, iptables)을 동시에 실행하여 시스템 데드락 유도
🛡️ 대응 방법
커널 패치가 적용된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인