CVE-2026-46289
- 공개
- 2026년 6월 9일
- 수정
- 2026년 7월 23일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
lib/scatterlist: fix length calculations in extract_kvec_to_sg
Patch series "Fix bugs in extract_iter_to_sg()", v3.
Fix bugs in the kvec and user variants of extract_iter_to_sg. This series is growing due to useful remarks made by sashiko.dev.
The main bugs are: - The length for an sglist entry when extracting from a kvec can exceed the number of bytes in the page. This is obviously not intended. - When extracting a user buffer the sglist is temporarily used as a scratch buffer for extracted page pointers. If the sglist already contains some elements this scratch buffer could overlap with existing entries in the sglist.
The series adds test cases to the kunit_iov_iter test that demonstrate all of these bugs. Additionally, there is a memory leak fix for the test itself.
The bugs were orignally introduced into kernel v6.3 where the function lived in fs/netfs/iterator.c. It was later moved to lib/scatterlist.c in v6.5. Thus the actual fix is only marked for backports to v6.5+.
This patch (of 5):
When extracting from a kvec to a scatterlist, do not cross page boundaries. The required length was already calculated but not used as intended.
Adjust the copied length if the loop runs out of sglist entries without extracting everything.
While there, return immediately from extract_iter_to_sg if there are no sglist entries at all.
A subsequent commit will add kunit test cases that demonstrate that the patch is necessary.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 6.3 | ≤ | 취약 | < | 6.6.140 | 6.6.140이상 |
| 6.7 | ≤ | 취약 | < | 6.12.88 | 6.12.88이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.30 | 6.18.30이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.7 | 7.0.7이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 6.3 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 6.3 | — | |
| 6.6.140 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.88 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.30 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.7 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/07b7d66e65d9cfe6b9c2c34aa22cfcaac37a5c45
- git.kernel.org/stable/c/3f17500e86d730c76db638bb3ae52f9b5e496c76
- git.kernel.org/stable/c/8fbba6829057979149d1b37d65690c037f3ddf4d
- git.kernel.org/stable/c/9d38756d0a93b66163554219fa9c3365f40c4035
- git.kernel.org/stable/c/e5e22fc9963469e678c4f4bb38d26adcec107f1e