🔍 CVE-2024-35898

7.0
CVSS Score
HIGH
2024-05-19
2026-10-15 01:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 netfilter nf_tables 구성 요소에서 __nft_flowtable_type_get() 함수 호출 시 데이터 경합(Data-race)이 발생할 수 있는 취약점입니다. nf_tables_flowtables 리스트를 순회할 때 적절한 보호 조치가 없어, 모듈 종료와 새로운 flowtable 생성 과정이 동시에 일어날 경우 리스트 엔트리에 문제가 생길 수 있습니다.

💡 쉬운 설명

컴퓨터의 네트워크 규칙을 관리하는 프로그램에서 두 가지 작업이 동시에 일어날 때 데이터가 엉키는 문제가 발견되었습니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get() nft_unregister_flowtable_type() within nf_flow_inet_module_exit() can concurrent with __nft_flowtable_type_get() within nf_tables_newflowtable(). And thhere is not any protection when iterate over nf_tables_flowtables list in __nft_flowtable_type_get(). Therefore, there is pertential data-race of nf_tables_flowtables list entry. Use list_for_each_entry_rcu() to iterate over nf_tables_flowtables list in __nft_flowtable_type_get(), and use rcu_read_lock() in the caller nft_flowtable_type_get() to protect the entire type query process.

📍 영향받는 시스템

nf_tables 모듈을 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

로컬 공격자가 특정 네트워크 설정 작업을 동시에 수행하여 데이터 경합을 유도함

🛡️ 대응 방법

RCU(Read-Copy-Update) 메커니즘이 적용된 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel