CVE-2026-99539
- 공개
- 2026년 11월 20일
- 수정
- 2026년 11월 23일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix session reference leak on compounded SESSION_SETUP
A compound request can place SESSION_SETUP after another command. That earlier command leaves a reference to its session in work->sess. smb2_sess_setup() then overwrites work->sess with the session it looks up or creates, and the dispatcher later puts work->sess only once. The inherited reference is never dropped. That leaks the session, together with its setup connection and socket, and every repeat of the compound leaks another.
unreferenced object (size 512): __kmalloc_cache_noprof+0x32c/0x3a0 ksmbd_smb2_session_create+0xf6/0x9c0 [ksmbd] smb2_sess_setup+0xda4/0x6280 [ksmbd] handle_ksmbd_work+0x88c/0x1cb0 [ksmbd]
Save the inherited session on entry. After the request has been processed, release it once, but only when smb2_sess_setup() has replaced work->sess with its own session or cleared it. Do this after ksmbd_conn_unlock() so the put does not run under srv_mutex. An error path may instead leave the inherited session in work->sess. Keep it there, so the dispatcher still puts it and the error response is still signed or encrypted with it as before.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.15.171 | ≤ | 취약 | < | 5.15.226 | 5.15.226이상 |
| 6.1.114 | ≤ | 취약 | < | 6.1.193 | 6.1.193이상 | |
| 6.6.58 | ≤ | 취약 | < | 6.6.163 | 6.6.163이상 | |
| 6.11.5 | ≤ | 취약 | < | 6.12 | 6.12이상 | |
| 이 버전만 | 취약 | = | 6.12 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.12 | — | |
| 5.15.226 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.193 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.163 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.117 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.61 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.3.2 | ≤ | 영향 없음 | ≤ | 7.3.* | — | |
| 7.4-rc1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타7
- git.kernel.org/stable/c/03bd8f5279e490e15e0c0f0fa388ffbd2fbacd65
- git.kernel.org/stable/c/38cddb9f7c9102f23652d198748c658072cf0df5
- git.kernel.org/stable/c/84deaeff31f4bdf5fee5c8dd1e3a4a49c3ffc05d
- git.kernel.org/stable/c/964c39f41c837fc2de221dcb860ff6451e17deae
- git.kernel.org/stable/c/a259b8f25de7b50d43fb94b29489d98848bba580