🔍 CVE-2026-46289

9.8
CVSS Score
CRITICAL
2026-06-08
2026-07-23 08:10
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 lib/scatterlist 모듈에서 extract_kvec_to_sg 함수의 길이 계산 버그로 인해 페이지 경계를 초과하거나 메모리 누수가 발생할 수 있습니다. 이 취약점은 커널 버전 6.5 이상에서 영향을 받으며, 잘못된 스캐터리스트 처리로 인해 시스템 불안정이나 데이터 손상 위험이 있습니다.

💡 쉬운 설명

리눅스 커널의 메모리 관리 기능이 잘못 작동하여 예상치 못한 오류나 시스템 충돌을 일으킬 수 있습니다. 이는 데이터 처리 과정에서 경계를 넘어서는 오류가 발생하기 때문에, 최신 커널로 업데이트하여 해결해야 합니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Linux Kernel version 6.5 and above

⚔️ 공격 벡터

로컬에서 스캐터리스트 API를 호출하는 애플리케이션을 통해 메모리 손상 또는 정보 노출 유도

🛡️ 대응 방법

리눅스 커널을 최신 안정 버전으로 업그레이드하여 패치 적용

🔧 검증 코드

출력된 커널 버전이 6.5 이상인 경우 취약점이 존재할 수 있으므로 패치 확인 필요

Shell / Script
uname -r | grep -E '^[0-9]+\.(5|6\.[5-9]|6\.[1-9][0-9]|7)'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel