🔍 CVE-2026-46063

5.5
CVSS Score
MEDIUM
2026-05-27
2026-11-06 17:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 x86/shstk 구성 요소에서 sigreturn 처리 중 데드락(Deadlock)이 발생할 수 있는 취약점이 발견되었습니다. 섀도 스택 프레임을 읽는 과정에서 mmap 읽기 잠금을 유지한 채 페이지 폴트가 발생하면, 다른 CPU의 쓰기 요청과 충돌하여 시스템이 멈출 수 있습니다.

💡 쉬운 설명

컴퓨터의 보안 기능을 처리하는 과정에서 특정 상황이 겹치면 시스템이 무한 대기 상태에 빠져 멈춰버리는 문제입니다. 이는 공격자가 시스템을 마비시키는 서비스 거부(DoS) 공격에 이용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: x86/shstk: Prevent deadlock during shstk sigreturn During sigreturn the shadow stack signal frame is popped. The kernel does this by reading the shadow stack using normal read accesses. When it can't assume the memory is shadow stack, it takes extra steps to makes sure it is reading actual shadow stack memory and not other normal readable memory. It does this by holding the mmap read lock while doing the access and checking the flags of the VMA. Unfortunately that is not safe. If the read of the shadow stack sigframe hits a page fault, the fault handler will try to recursively grab another mmap read lock. This normally works ok, but if a writer on another CPU is also waiting, the second read lock could fail and cause a deadlock. Fix this by not holding mmap lock during the read access to userspace. Instead use mmap_lock_speculate_...() to watch for changes between dropping mmap lock and the userspace access. Retry if anything grabbed an mmap write lock in between and could have changed the VMA. These mmap_lock_speculate_...() helpers use mm::mm_lock_seq, which is only available when PER_VMA_LOCK is configured. So make X86_USER_SHADOW_STACK depend on it. On x86, PER_VMA_LOCK is a default configuration for SMP kernels. So drop support for the other configs under the assumption that the !SMP shadow stack user base does not exist. Currently there is a check that skips the lookup work when the SSP can be assumed to be on a shadow stack. While reorganizing the function, remove the optimization to make the tricky code flows more common, such that issues like this cannot escape detection for so long.

📍 영향받는 시스템

Linux Kernel (x86 architecture with Shadow Stack support)

⚔️ 공격 벡터

특정 시점에 페이지 폴트를 유도하여 커널의 mmap 잠금 경합을 일으킴으로써 시스템 데드락 유발

🛡️ 대응 방법

커널 패치를 통해 mmap 잠금을 해제하고 mmap_lock_speculate 기능을 사용하여 메모리 접근 방식을 수정해야 함

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 보안 패치 버전인지 확인합니다.

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