🔍 CVE-2026-31555

5.5
CVSS Score
MEDIUM
2026-04-24
2026-11-05 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 futex_lock_pi() 함수 내 재시도 경로에서 오래된 종료 중인 포인터가 초기화되지 않는 취약점입니다. 이로 인해 잘못된 태스크 포인터가 사용되어 커널 경고(WARNING)를 발생시키거나 시스템 불안정을 초래할 수 있습니다.

💡 쉬운 설명

컴퓨터가 작업을 처리하는 과정에서 이미 종료된 작업의 흔적을 지우지 못해 발생하는 오류입니다. 이 오류가 반복되면 시스템이 혼란을 겪어 경고 메시지를 띄우거나 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: futex: Clear stale exiting pointer in futex_lock_pi() retry path Fuzzying/stressing futexes triggered: WARNING: kernel/futex/core.c:825 at wait_for_owner_exiting+0x7a/0x80, CPU#11: futex_lock_pi_s/524 When futex_lock_pi_atomic() sees the owner is exiting, it returns -EBUSY and stores a refcounted task pointer in 'exiting'. After wait_for_owner_exiting() consumes that reference, the local pointer is never reset to nil. Upon a retry, if futex_lock_pi_atomic() returns a different error, the bogus pointer is passed to wait_for_owner_exiting(). CPU0 CPU1 CPU2 futex_lock_pi(uaddr) // acquires the PI futex exit() futex_cleanup_begin() futex_state = EXITING; futex_lock_pi(uaddr) futex_lock_pi_atomic() attach_to_pi_owner() // observes EXITING *exiting = owner; // takes ref return -EBUSY wait_for_owner_exiting(-EBUSY, owner) put_task_struct(); // drops ref // exiting still points to owner goto retry; futex_lock_pi_atomic() lock_pi_update_atomic() cmpxchg(uaddr) *uaddr ^= WAITERS // whatever // value changed return -EAGAIN; wait_for_owner_exiting(-EAGAIN, exiting) // stale WARN_ON_ONCE(exiting) Fix this by resetting upon retry, essentially aligning it with requeue_pi.

📍 영향받는 시스템

Linux Kernel (futex 관련 모듈 사용 시스템)

⚔️ 공격 벡터

특수하게 조작된 futex 호출을 통해 커널의 재시도 로직을 유도하여 발생 (로컬 공격 가능성)

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel