🔍 CVE-2024-39503

7.8
CVSS Score
HIGH
2024-07-12
2026-10-15 01:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 netfilter ipset 구성 요소에서 네임스페이스 정리 작업과 list:set 타입의 가비지 컬렉션(GC) 간에 레이스 컨디션이 발생합니다. 이로 인해 이미 파괴된 세트의 데이터를 참조하게 되어 Use-After-Free 취약점이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 데이터를 정리하는 과정에서, 이미 삭제된 데이터를 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 공격에 노출될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type Lion Ackermann reported that there is a race condition between namespace cleanup in ipset and the garbage collection of the list:set type. The namespace cleanup can destroy the list:set type of sets while the gc of the set type is waiting to run in rcu cleanup. The latter uses data from the destroyed set which thus leads use after free. The patch contains the following parts: - When destroying all sets, first remove the garbage collectors, then wait if needed and then destroy the sets. - Fix the badly ordered "wait then remove gc" for the destroy a single set case. - Fix the missing rcu locking in the list:set type in the userspace test case. - Use proper RCU list handlings in the list:set type. The patch depends on c1193d9bbbd3 (netfilter: ipset: Add list flush to cancel_gc).

📍 영향받는 시스템

리눅스 커널 (netfilter ipset의 list:set 타입을 사용하는 시스템)

⚔️ 공격 벡터

네임스페이스 정리와 가비지 컬렉션이 동시에 일어나는 특정 타이밍을 이용한 로컬 공격

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel