CVE-2026-45870
- 공개
- 2026년 5월 27일
- 수정
- 2026년 11월 7일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: auth_gss: fix memory leaks in XDR decoding error paths
The gssx_dec_ctx(), gssx_dec_status(), and gssx_dec_name() functions allocate memory via gssx_dec_buffer(), which calls kmemdup(). When a subsequent decode operation fails, these functions return immediately without freeing previously allocated buffers, causing memory leaks.
The leak in gssx_dec_ctx() is particularly relevant because the caller (gssp_accept_sec_context_upcall) initializes several buffer length fields to non-zero values, resulting in memory allocation:
struct gssx_ctx rctxh = { .exported_context_token.len = GSSX_max_output_handle_sz, .mech.len = GSS_OID_MAX_LEN, .src_name.display_name.len = GSSX_max_princ_sz, .targ_name.display_name.len = GSSX_max_princ_sz };
If, for example, gssx_dec_name() succeeds for src_name but fails for targ_name, the memory allocated for exported_context_token, mech, and src_name.display_name remains unreferenced and cannot be reclaimed.
Add error handling with goto-based cleanup to free any previously allocated buffers before returning an error.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 3.10 | ≤ | 취약 | < | 5.10.252 | 5.10.252이상 |
| 5.11 | ≤ | 취약 | < | 5.15.202 | 5.15.202이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.165 | 6.1.165이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.128 | 6.6.128이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.75 | 6.12.75이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.14 | 6.18.14이상 | |
| 6.19 | ≤ | 취약 | < | 6.19.4 | 6.19.4이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 3.10 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 3.10 | — | |
| 5.10.252 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.202 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.165 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.128 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.75 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.14 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 6.19.4 | ≤ | 영향 없음 | ≤ | 6.19.* | — | |
| 7.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/3b56eb90feb8a3709417f5624f3871847d42bcb1
- git.kernel.org/stable/c/3e6397b056335cc56ef0e9da36c95946a19f5118
- git.kernel.org/stable/c/64303b92d94c0c7845a273acd8d84b796d6f1db7
- git.kernel.org/stable/c/b4af3806846778799cd4ab0766dc18341e777264
- git.kernel.org/stable/c/c81431b1b9fbd21e9a5a9211b5517b7295d18e6a