🔍 CVE-2026-64390

8.8
CVSS Score
HIGH
2026-07-25
2026-09-04 19:07
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ksmbd 구성 요소에서 SMB3 멀티채널 사용 시 발생하는 레이스 컨디션 취약점입니다. 파일 잠금 해제 과정에서 서로 다른 스핀락을 사용하여 연결 목록을 삭제함으로써, 동시 접근 시 이미 해제된 메모리 객체에 접근하게 되어 시스템 충돌이나 권한 상승을 유발할 수 있습니다.

💡 쉬운 설명

파일을 잠그고 푸는 과정에서 컴퓨터가 메모리를 관리하는 방식에 오류가 있어 시스템이 멈추거나 해킹될 위험이 있습니다. 특히 여러 연결을 동시에 사용하는 환경에서 데이터가 꼬이는 문제가 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: track the connection owning a byte-range lock SMB2_LOCK adds each granted byte-range lock to both the file lock list and the lock list of the connection which handled the request. The final close and durable handle paths, however, remove the connection list entry while holding fp->conn->llist_lock. With SMB3 multichannel, the connection handling the LOCK request can be different from the connection which opened the file. The entry can therefore be removed under a different spinlock from the one protecting the list it belongs to. A concurrent traversal can then access freed struct ksmbd_lock and struct file_lock objects. Record the connection owning each lock's clist entry and hold a reference to it while the entry is linked. Use that connection and its llist_lock for unlock, rollback, close, and durable preserve. Durable reconnect assigns the new connection as the owner when publishing the locks again.

📍 영향받는 시스템

Linux kernel (ksmbd module enabled, SMB3 multichannel in use)

⚔️ 공격 벡터

SMB3 멀티채널 환경에서 정교하게 설계된 LOCK/UNLOCK 요청을 연속적으로 보내 메모리 오류 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel