🔍 CVE-2026-98788

0.0
CVSS Score
UNKNOWN
2026-10-18
2026-10-19 10:19
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 futex 구현에서 해시 테이블 크기 조정 시 private hash에 대한 Use-After-Free 취약점이 발견되었습니다. 해시 포인터 할당과 grace period 확인 순서가 잘못되어, 새로운 grace period가 시작될 경우 이전 해시를 참조하는 리더가 메모리 해제 후 접근할 수 있는 문제가 발생합니다.

💡 쉬운 설명

컴퓨터가 데이터를 정리하는 과정에서 순서가 뒤바뀌어, 이미 삭제된 메모리 공간을 다시 사용하려고 시도하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: futex: Fix private hash use-after-free on resize poll_state_synchronize_rcu(mm->futex.phash.batches) is used by futex_ref_drop() to check that a grace period has passed since the current hash was published. This relies on batches referencing a grace period which started after the hash pointer was assigned. __futex_pivot_hash() sets mmph->batches before it replaces mmph->hash: scoped_guard(rcu) { mmph->batches = get_state_synchronize_rcu(); rcu_assign_pointer(mmph->hash, new); } The scoped_guard(rcu) doesn't stop new grace periods from starting, and if one starts between those two assignments, futex_ref_drop() can move forward while a reader still holds a pointer to the old hash. Fix things by setting mmph->batches after assigning mmph->hash. The scoped_guard(rcu) isn't needed, so let's drop that as well.

📍 영향받는 시스템

Linux Kernel (futex subsystem 관련 버전)

⚔️ 공격 벡터

특정 조건에서 futex 해시 테이블 크기 조정을 유도하여 메모리 오류를 일으키는 로컬 공격

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel