CVE-2026-22980
- 공개
- 2026년 1월 24일
- 수정
- 2026년 11월 10일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
nfsd: provide locking for v4_end_grace
Writing to v4_end_grace can race with server shutdown and result in memory being accessed after it was freed - reclaim_str_hashtbl in particularly.
We cannot hold nfsd_mutex across the nfsd4_end_grace() call as that is held while client_tracking_op->init() is called and that can wait for an upcall to nfsdcltrack which can write to v4_end_grace, resulting in a deadlock.
nfsd4_end_grace() is also called by the landromat work queue and this doesn't require locking as server shutdown will stop the work and wait for it before freeing anything that nfsd4_end_grace() might access.
However, we must be sure that writing to v4_end_grace doesn't restart the work item after shutdown has already waited for it. For this we add a new flag protected with nn->client_lock. It is set only while it is safe to make client tracking calls, and v4_end_grace only schedules work while the flag is set with the spinlock held.
So this patch adds a nfsd_net field "client_tracking_active" which is set as described. Another field "grace_end_forced", is set when v4_end_grace is written. After this is set, and providing client_tracking_active is set, the laundromat is scheduled. This "grace_end_forced" field bypasses other checks for whether the grace period has finished.
This resolves a race which can result in use-after-free.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 3.18 | ≤ | 취약 | < | 5.10.248 | 5.10.248이상 |
| 5.11 | ≤ | 취약 | < | 5.15.198 | 5.15.198이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.161 | 6.1.161이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.121 | 6.6.121이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.66 | 6.12.66이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.6 | 6.18.6이상 | |
| 이 버전만 | 취약 | = | 6.19 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc4 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 3.18 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 3.18 | — | |
| 5.10.248 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.198 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.161 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.121 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.66 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.6 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 6.19 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/06600719d0f7a723811c45e4d51f5b742f345309
- git.kernel.org/stable/c/2857bd59feb63fcf40fe4baf55401baea6b4feb4
- git.kernel.org/stable/c/34eb22836e0cdba093baac66599d68c4cd245a9d
- git.kernel.org/stable/c/53f07d095e7e680c5e4569a55a019f2c0348cdc6
- git.kernel.org/stable/c/ba4811c8b433bfa681729ca42cc62b6034f223b0