CVE 목록
High7.5유형: 운영체제

CVE-2026-64141

공개
2026년 7월 20일
수정
2026년 8월 18일
조회
0
상태
Analyzed
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
7.5High

개요

이 취약점이 무엇인지

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix null pointer dereference in compare_guid_key()

session_fd_check() walks the per-inode m_op_list during durable-handle session teardown and sets op->conn = NULL for every opinfo whose conn matched the closing session's connection. The matching opinfo, however, stays linked in its per-ClientGuid lease_table_list entry's lb->lease_list because destroy_lease_table() only runs on full TCP-connection teardown, not on SESSION_LOGOFF.

If the same TCP connection then negotiates a fresh session with the same ClientGuid (ClientGuid is bound to NEGOTIATE, not the session, and is unchanged across LOGOFF + SETUP) and issues a SMB2 CREATE with a lease context on a different inode, find_same_lease_key() walks lb->lease_list, reaches the stale opinfo, and calls compare_guid_key(), which unconditionally dereferences opinfo->conn->ClientGUID. The conn pointer is NULL and the kernel panics.

Reproducer requires only a successful SMB2 SESSION_SETUP and a share configured with 'durable handles = yes'. KASAN report on mainline 70390501d194:

general protection fault, probably for non-canonical address 0xdffffc0000000069: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000348-0x000000000000034f] Workqueue: ksmbd-io handle_ksmbd_work RIP: 0010:bcmp+0x5b/0x230 Call Trace: compare_guid_key+0x4b/0xd0 find_same_lease_key+0x324/0x690 smb2_open+0x6aea/0x8e60 handle_ksmbd_work+0x796/0xee0 ...

Faulting address 0x348 is the offset of ClientGUID within struct ksmbd_conn, confirming opinfo->conn was NULL.

Read opinfo->conn once and bail out if it has been cleared by a concurrent session_fd_check(). A half-detached opinfo cannot be the owner of an active lease, so returning 0 is the correct match result.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
linux_kernellinux6.6.32≤취약<6.6.1426.6.142이상
6.9≤취약<6.12.926.12.92이상
6.13≤취약<6.18.346.18.34이상
6.19≤취약<7.0.117.0.11이상
이 버전만취약=7.1 rc1벤더 공지 확인
이 버전만취약=7.1 rc2벤더 공지 확인
이 버전만취약=7.1 rc3벤더 공지 확인
이 버전만취약=7.1 rc4벤더 공지 확인

NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

할당 기관(CNA)이 적은 버전 8줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux6.6.32≤취약<6.6.1426.6.142이상
이 버전만취약=6.9벤더 공지 확인
최초 버전≤영향 없음<6.9—
6.6.142≤영향 없음≤6.6.*—
6.12.92≤영향 없음≤6.12.*—
6.18.34≤영향 없음≤6.18.*—
7.0.11≤영향 없음≤7.0.*—
7.1≤영향 없음≤최신 버전—

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.