CVE-2026-99226
- 공개
- 2026년 11월 3일
- 수정
- 2026년 11월 4일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
keys: Avoid the owner account dereference in named keyring lookup
Named keyring lookup must keep the storage containing the owner UID alive through the namespace mapping check. find_keyring_by_name() reads keyring->user->uid under keyring_name_lock, but that lock protects the keyring's name entry and allocation, not its separate key_user.
A named session-keyring join can overlap a privileged KEYCTL_CHOWN on another CPU. If the keyring holds the last reference to its old dynamic key_user and the ownership transfer succeeds, the following ordering is possible:
Named join Chown find_keyring_by_name() keyctl_chown_key() read_lock(keyring_name_lock) down_write(key->sem) load old keyring->user replace key->user and key->uid up_write(key->sem) key_put(key) key_user_put(old user): free read old user->uid read_unlock(keyring_name_lock)
Chown neither takes keyring_name_lock nor key_session_mutex, so it can free the old account between the pointer load and the UID read. The lookup then reads freed memory even though the keyring itself is alive.
Use keyring->uid for the mapping check. key_alloc() initializes this inline owner UID and keyctl_chown_key() updates it on chown. The existing name lock keeps its containing keyring allocated throughout the check, so lookup no longer depends on the account's lifetime. This also matches the owner UID used by the permission check.
KASAN report as below:
BUG: KASAN: slab-use-after-free in find_keyring_by_name+0x577/0x5d0 Read of size 4 at addr ffff8881128ae2ec by task keycase/500
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 2.6.30 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 2.6.30 | — | |
| 5.10.273 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.224 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.191 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.161 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.115 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.60 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.14 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3.1 | ≤ | 영향 없음 | ≤ | 7.3.* | — | |
| 7.4-rc1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타9
- git.kernel.org/stable/c/0b865fa477d94ac96c26848aab1fd176397de3f6
- git.kernel.org/stable/c/40b12b93ae4ab9e22c3d571e9b09fd08afad53f6
- git.kernel.org/stable/c/51409aaa01f8602552c336009fd22b226b0cdf1d
- git.kernel.org/stable/c/5c6a9512887a6cc694d594d9c0b57c0841d215b5
- git.kernel.org/stable/c/6763329f673d261641c79212abf773af77b2c922