CVE-2026-52996
- 공개
- 2026년 6월 25일
- 수정
- 2026년 7월 15일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix durable fd leak on ClientGUID mismatch in durable v2 open
ksmbd_lookup_fd_cguid() returns a ksmbd_file with its refcount incremented via ksmbd_fp_get(). parse_durable_handle_context() in the DURABLE_REQ_V2 case properly releases this reference on every path inside the ClientGUID-match branch, either by calling ksmbd_put_durable_fd() or by transferring ownership to dh_info->fp for a successful reconnect. However, when an entry exists in the global file table with the same CreateGuid but a different ClientGUID, the code simply falls through to the new-open path without dropping the reference obtained from ksmbd_lookup_fd_cguid().
Per MS-SMB2 section 3.3.5.9.10 ("Handling the SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 Create Context"), the server MUST locate an Open whose Open.CreateGuid matches the request's CreateGuid AND whose Open.ClientGuid matches the ClientGuid of the connection that received the request. If no such Open is found, the server MUST continue with the normal open execution phase. A CreateGuid hit with a ClientGUID mismatch is therefore the "Open not found" case: proceeding with a new open is correct, but the reference obtained purely as a side effect of the lookup must not be leaked.
Repeated requests that hit this mismatch pin global_ft entries, prevent __ksmbd_close_fd() from ever running for the corresponding files, and defeat the durable scavenger, leading to long-lived resource leaks.
Release the reference in the mismatch path and clear dh_info->fp so subsequent logic does not mistake a non-matching lookup result for a reconnect target.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 6.6.32 | ≤ | 취약 | < | 6.6.141 | 6.6.141이상 |
| 6.9 | ≤ | 취약 | < | 6.12.91 | 6.12.91이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.33 | 6.18.33이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.10 | 7.0.10이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 8줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.6.32 | ≤ | 취약 | < | 6.6.141 | 6.6.141이상 |
| 이 버전만 | 취약 | = | 6.9 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.9 | — | |
| 6.6.141 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.91 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.33 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.10 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/06f709d0e531f3e54d88665dd426be3998a774e6
- git.kernel.org/stable/c/407b6e699ba8b45b72cc265eed8a1bc8a7191609
- git.kernel.org/stable/c/804054d19886ac6628883d82410f6ee42a818664
- git.kernel.org/stable/c/8c4a0ef19c8264c150833131af34541495832cd0
- git.kernel.org/stable/c/f31beef633fbf2b5af7805fa187a10bcff1d4b49