CVE-2026-99179
- 공개
- 2026년 10월 28일
- 수정
- 2026년 10월 30일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
watch_queue: Fix note pool publication race in watch_queue_set_size()
There is a race between watch_queue_set_size() and post_one_notification(). watch_queue_set_size() publishes wqueue->notes, notes_bitmap, nr_pages and nr_notes with plain stores, and post_one_notification() reads them with plain loads under a different lock, so nothing orders the four stores against the poster's loads: depending on the build, notes can be stored last (gcc 14 on x86-64 does this). Since keyctl_watch_key() lets a watch attach to a queue before it is sized, post_one_notification() can already be running on another CPU at that moment: it reads nr_notes > 0, passes its bounds check, and then reads notes while it is still NULL, dereferencing notes[0].
An unprivileged user triggers this reliably by watching one of its own keys through a notification pipe and racing ioctl(IOC_WATCH_QUEUE_SET_SIZE) on that pipe against keyctl(KEYCTL_SETPERM) on the key from another CPU, triggering:
BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: 0010:post_one_notification.isra.0+0xa2/0x1e0 Call Trace: __post_watch_notification+0x148/0x180 keyctl_setperm_key+0x119/0x130 do_syscall_64+0x108/0x4c0 entry_SYSCALL_64_after_hwframe+0x77/0x7f Kernel panic - not syncing: Fatal exception in interrupt
Fix this by publishing nr_notes last with smp_store_release(), and by reading it once with smp_load_acquire() in post_one_notification() before the bitmap and the page array are touched. A poster that observes a non-zero nr_notes then also observes the pool behind it; one that observes zero drops the notification as before.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.8 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.8 | — | |
| 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.59 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.13 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타8
- git.kernel.org/stable/c/2137d487b25eefa862be70de489b64f4c679fe1f
- git.kernel.org/stable/c/4b20867d80e7e91fb7db531f34035d91591ba405
- git.kernel.org/stable/c/5e531d62f1f8834faf7a4eed0d41105cf6570a8f
- git.kernel.org/stable/c/6aaa6c1a1b61aae332d6e7e0083140b86ea51e14
- git.kernel.org/stable/c/811fb6d0b07605e8e8d93bde8748be4b3028809a