CVE-2026-98214
- 공개
- 2026년 10월 6일
- 수정
- 2026년 10월 19일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
selinux: recheck intermediate backing files on mprotect()
mprotect() can be used to bypass the SELinux checks that mmap() performs against the intermediate layers of a stacked filesystem.
mmap() checks every backing layer as the request descends through the stack. mprotect() only has the lowest backing file in vma->vm_file, so it rechecks the top-level user and the lowest mounter, but skips the mounters of every layer in between. With two nested overlayfs mounts and a policy denying mounter_t -> middle_file_t:file { execute }, a direct mmap(PROT_EXEC) is denied:
avc: denied { execute } for pid=71 comm="nested_exec" path="/payload" dev="overlay" ino=9 scontext=user_u:base_r:mounter_t tcontext=user_u:object_r:middle_file_t tclass=file permissive=0
while mmap(PROT_NONE) followed by mprotect(PROT_EXEC) succeeds.
Preserve each intermediate path, mounter SID and file-description SID in the backing-file security blob, copying the saved entries when another backing layer is opened. Allocate the array only for nested backing files, and release it and the path references in the backing_file_free hook.
During mprotect(), recheck fd { use } and the requested inode permissions for every saved mounter, and include the intermediate layers in the execmod checks. Policy for nested stacking may then need to grant intermediate mounters what a direct mmap() already requires, and execmod on intermediate labels for binaries using text relocations.
Tested on arm64 QEMU with a small BusyBox initramfs and a purpose-built SELinux policy, on a mainline tree containing commit f2381b546e7e ("fs: fix user path of nested backing files").
[PM: subject tweak]
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.6.144 | ≤ | 취약 | < | 6.6.158 | 6.6.158이상 |
| 6.12.95 | ≤ | 취약 | < | 6.12.112 | 6.12.112이상 | |
| 6.18.38 | ≤ | 취약 | < | 6.18.54 | 6.18.54이상 | |
| 7.0.4 | ≤ | 취약 | < | 7.1 | 7.1이상 | |
| 이 버전만 | 취약 | = | 7.1 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 7.1 | — | |
| 6.6.158 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.112 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.54 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.8 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타5
- git.kernel.org/stable/c/4d50ebe5a27724e020747ffd61a051dec67cb8ec
- git.kernel.org/stable/c/78fc54b934bfb2c18aad8154c7302067146946f9
- git.kernel.org/stable/c/89376fbfdcc1a728e1775f98752cdd90b0930a00
- git.kernel.org/stable/c/c2bbb905af2293549651b614a52ad91e0b462b60
- git.kernel.org/stable/c/d127c7e1f3e1231d8ac8b2738e3f00bea12afe74