CVE-2025-21640
- 공개
- 2025년 1월 19일
- 수정
- 2026년 10월 16일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy
As mentioned in a previous commit of this series, using the 'net' structure via 'current' is not recommended for different reasons:
- Inconsistency: getting info from the reader's/writer's netns vs only from the opener's netns.
- current->nsproxy can be NULL in some cases, resulting in an 'Oops' (null-ptr-deref), e.g. when the current task is exiting, as spotted by syzbot [1] using acct(2).
The 'net' structure can be obtained from the table->data using container_of().
Note that table->data could also be used directly, as this is the only member needed from the 'net' structure, but that would increase the size of this fix, to use '*data' everywhere 'net->sctp.sctp_hmac_alg' is used.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 3.8 | ≤ | 취약 | < | 6.1.125 | 6.1.125이상 |
| 6.2 | ≤ | 취약 | < | 6.6.72 | 6.6.72이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.10 | 6.12.10이상 | |
| 이 버전만 | 취약 | = | 6.13 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc5 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc6 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 3.8 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 3.8 | — | |
| 5.4.292 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.234 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.177 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.125 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.72 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.10 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.13 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치6
- git.kernel.org/stable/c/03ca51faba2b017bf6c90e139434c4117d0afcdc
- git.kernel.org/stable/c/3cd0659deb9c03535fd61839e91d4d4d3e51ac71
- git.kernel.org/stable/c/86ddf8118123cb58a0fb8724cad6979c4069065b
- git.kernel.org/stable/c/ad673e514b2793b8d5902f6ba6ab7e890dea23d5
- git.kernel.org/stable/c/ea62dd1383913b5999f3d16ae99d411f41b528d4