🇰🇷 한글 설명
Linux kernel의 netfilter ipset 모듈에서 RCU 보호 메커니즘이 pernet exit 단계에서 제대로 작동하지 않아 발생하는 메모리 안전성 취약점입니다. 시스템 종료나 ipset 제거 명령 실행 시 보호되지 않은 메모리 접근으로 인해 정보 유출 또는 시스템 불안정이 초래될 수 있습니다.
💡 쉬운 설명
Linux의 네트워크 필터링 기능에서 메모리 보호가 제대로 되지 않아 시스템 종료 시 메모리 손상이 발생할 수 있습니다. 로컬 공격자가 특정 명령어를 실행하여 시스템을 불안정하게 만들 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ipset: Fix suspicious rcu_dereference_protected()
When destroying all sets, we are either in pernet exit phase or
are executing a "destroy all sets command" from userspace. The latter
was taken into account in ip_set_dereference() (nfnetlink mutex is held),
but the former was not. The patch adds the required check to
rcu_dereference_protected() in ip_set_dereference().
📍 영향받는 시스템
Linux kernel ipset 모듈 (5.10 이후 버전, 패치 전)
⚔️ 공격 벡터
로컬 사용자가 ipset 명령어 실행 또는 시스템 종료 시 취약점 활용
🛡️ 대응 방법
Linux kernel을 최신 패치 버전(5.10.226, 6.1.99, 6.6.40, 6.9.8 이상)으로 업데이트
🔧 검증 코드
kernel 버전이 5.10.226, 6.1.99, 6.6.40, 6.9.8 이상인 경우 패치됨, 미만인 경우 업데이트 필요
uname -r | grep -E '^([5-6]\.[0-9]+\.[0-9]+|6\.[0-9]+\\.[0-9]+)' && echo 'Kernel 버전 확인 필요'