🇰🇷 한글 설명
리눅스 커널의 netfilter nf_tables 구성 요소에서 __nft_obj_type_get() 함수 호출 시 데이터 경합(Data-race)이 발생할 수 있는 취약점입니다. nft_unregister_obj()와 __nft_obj_type_get()이 동시에 실행될 때 nf_tables_objects 리스트를 보호하지 못해 발생하며, RCU 메커니즘을 통해 수정되었습니다.
💡 쉬운 설명
컴퓨터의 네트워크 규칙을 관리하는 프로그램에서 두 가지 작업이 동시에 일어날 때 데이터가 엉키는 문제가 발견되었습니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
nft_unregister_obj() can concurrent with __nft_obj_type_get(),
and there is not any protection when iterate over nf_tables_objects
list in __nft_obj_type_get(). Therefore, there is potential data-race
of nf_tables_objects list entry.
Use list_for_each_entry_rcu() to iterate over nf_tables_objects
list in __nft_obj_type_get(), and use rcu_read_lock() in the caller
nft_obj_type_get() to protect the entire type query process.
📍 영향받는 시스템
nf_tables를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특수하게 조작된 네트워크 테이블 조작 요청을 통해 데이터 경합을 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인