🔍 CVE-2026-80668

9.8
CVSS Score
CRITICAL
2026-08-28
2026-10-21 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 netfilter 구성 요소 중 nf_conntrack_expect에서 타이머 API 대신 GC(Garbage Collection) 워커 방식을 사용하여 만료된 기대를 정리하도록 개선되었습니다. 이 패치는 기존 타이머 API 사용 시 발생할 수 있었던 레이스 컨디션(Race Condition) 문제를 해결하여, 이미 해제된 메모리 포인터에 접근하는 취약점을 방지합니다.

💡 쉬운 설명

컴퓨터 네트워크 연결 정보를 관리하는 과정에서 오래된 정보를 지우는 방식에 오류가 있어 시스템이 불안정해질 수 있는 문제가 있었습니다. 이 패치는 정보를 정리하는 방식을 더 안전한 방식으로 바꾸어 시스템 충돌이나 오류를 막아줍니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_expect: use conntrack GC to reap expectations This patch replaces the timer API by GC worker approach for expectations, as it already happened in many other subsystems. Use the existing conntrack GC worker to iterate over the local list of expectations in the master conntrack to reap expired expectations. Check IPS_HELPER_BIT to run GC for expectations, set it on for nft_ct expectation which nevers sets it. Hold the expectation spinlock while iterating over the master conntrack expectation list to synchronize with nf_ct_remove_expectations(). This also performs runtime packet path garbage collection through the expectation insertion and lookup functions while walking over one of the chains of the global expectation hashtables. Unconfirmed conntrack entries are skipped since ct->ext can be reallocated and dying are skipped since those will be gone soon. Set on IPS_HELPER_BIT if the helper ct extension is added, then the new GC worker does not need to bump the ct refcount to check if the ct->ext helper is available. This removes the extra bump on the refcount for expectation timers, this allows to remove several nf_ct_expect_put() calls after the unlink, after this update only refcount remains at 1 while on the expectation hashes. This patch implicitly addresses a race with the existing timer API allowing an expectation to access a stale exp->master pointer which has been already released when expectation removal loses races with an expiring timer, ie. timer_del() reporting false. Add a new NF_CT_EXPECT_DEAD flag to reap this expectation via GC. This is needed by nf_conntrack_unexpect_related() which is called in error paths to invalidate newly created expectations that has been added into the hashes. These expectactions cannot be inmediately released as GC or nf_ct_remove_expectations() could race to make it. On expectation insert, the runtime GC reaps stale expectations before checking the expectation limit set by policy. Set current timestamp in nf_ct_expect_alloc(), then add the expectation policy timeout (or custom timeout specified added on top of this) to specify the expectation lifetime.

📍 영향받는 시스템

Linux Kernel (netfilter/nf_conntrack 구성 요소 포함 버전)

⚔️ 공격 벡터

네트워크 연결 기대(expectation) 생성 및 만료 과정에서의 타이밍 공격을 통한 레이스 컨디션 유발

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel