CVE-2026-46063
- 공개
- 2026년 5월 27일
- 수정
- 2026년 11월 7일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
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.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 6.6 | ≤ | 취약 | < | 6.6.140 | 6.6.140이상 |
| 6.7 | ≤ | 취약 | < | 6.12.88 | 6.12.88이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.27 | 6.18.27이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.4 | 7.0.4이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 6.6 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 6.6 | — | |
| 6.6.140 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.88 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.27 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.4 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/3d29db827502067626062f5c74dd502d14ab15bc
- git.kernel.org/stable/c/4f3374c990fb2adec06d20fd6d780927811c9aa0
- git.kernel.org/stable/c/9874b2917b9fbc30956fee209d3c4aa47201c64e
- git.kernel.org/stable/c/d042d69b417515959e49021fef008c9b04a99bd5
- git.kernel.org/stable/c/e2c2b044458cbf22da05264fa707308e8d4f86f9