🔍 CVE-2026-80775

0.0
CVSS Score
UNKNOWN
2026-09-04
2026-10-19 09:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 futex 구현에서 vfork가 중첩된 경우 발생할 수 있는 레이스 컨디션 취약점입니다. 특정 상황에서 메모리 할당 및 참조 카운트 관리에 오류가 발생하여, 이미 해제된 메모리에 데이터를 쓰는 Use-After-Free(UAF) 문제가 발생할 수 있습니다.

💡 쉬운 설명

여러 프로세스가 동시에 같은 메모리 자원을 관리하려고 할 때 충돌이 발생하는 문제입니다. 이 충돌로 인해 컴퓨터가 이미 사용이 끝났다고 판단해 버린 메모리 영역에 잘못된 데이터를 써서 시스템 오류나 보안 문제를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: futex: Fix race on the initial mm->futex.phash.ref allocation futex_hash_allocate() allocates mm->futex.phash.ref without any locking. Commit d9b05321e21e ("futex: Move futex_hash_free() back to __mmput()") moved the allocation here and assumed that the process has just a single thread at this point. Commit ee9dce44362b ("futex: Drop CLONE_THREAD requirement for private default hash alloc") widened need_futex_hash_allocate_default() to cover any CLONE_VM clone, but left out vfork because the parent is suspended and cannot race. That no longer holds once vfork is nested. If a vfork child calls vfork again and is then killed with SIGKILL, the parent is released from its vfork wait and runs concurrently with the grandchild in the same mm. Neither of them went through futex_hash_allocate_default(). When both call prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS) at the same time, each one sees mm->futex.phash.ref as NULL and stores its own percpu counter. Only the last store survives. The counter stored first is no longer reachable from the mm, so the references on it are not seen by __futex_ref_atomic_end(). A private hash that still has references is then considered dead and freed, and a task that still holds one of its buckets writes into freed memory in futex_q_lock(). Store the counter once with cmpxchg() and let the loser free_percpu() its own. The initial reference has to be taken before the store, otherwise another task can install a private hash while the counter is still 0.

📍 영향받는 시스템

vfork 중첩 사용이 가능한 Linux 커널 버전 (패치 적용 전)

⚔️ 공격 벡터

중첩된 vfork 환경에서 특정 시그널(SIGKILL)을 유도하여 레이스 컨디션을 발생시키는 방식

🛡️ 대응 방법

커널 패치(commit d9b05321e21e 및 ee9dce44362b 관련 수정 사항)를 적용하여 커널 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 최신 보안 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel