🔍 CVE-2026-53383

7.5
CVSS Score
HIGH
2026-07-19
2026-08-17 05:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ksmbd 모듈에서 COMPOUND 요청 처리 시 세션 유효성 검사를 건너뛰는 취약점이 발견되었습니다. 공격자가 특수하게 조작된 SMB2 요청을 보내면 인증이 완료되지 않은 세션에서 NULL 포인터를 참조하게 되어 커널 패닉(Kernel Oops)이 발생하고 서비스가 중단될 수 있습니다.

💡 쉬운 설명

해커가 가짜 로그인 요청을 섞어서 보내면 서버의 핵심 기능이 갑자기 멈춰버리는 버그입니다. 이로 인해 서버가 응답하지 않게 되어 서비스가 중단될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: reject non-VALID session in compound request branch smb2_check_user_session() takes a shortcut for any operation that is not the first in a COMPOUND request: it reuses work->sess (the session bound by the first operation) and validates only the SessionId, then returns "valid". It never re-checks work->sess->state == SMB2_SESSION_VALID, and a SessionId of 0xFFFFFFFFFFFFFFFF (ULLONG_MAX, the MS-SMB2 related-operation value) skips even the id comparison. The standalone path (ksmbd_session_lookup_all() plus the SESSION_SETUP state machine) does enforce the VALID state; the compound branch bypasses all of it. A SESSION_SETUP carrying only an NTLM Type-1 (NtLmNegotiate) blob publishes a fresh SMB2_SESSION_IN_PROGRESS session whose sess->user is still NULL (->user is assigned later, by ntlm_authenticate()). Used as operation 1 of a COMPOUND with operation 2 = TREE_CONNECT (related, SessionId=ULLONG_MAX, \\host\IPC$), the tree-connect then runs on that IN_PROGRESS session and reaches ksmbd_ipc_tree_connect_request(), which dereferences user_name(sess->user) with sess->user == NULL (transport_ipc.c:687/701/704) -> remote NULL-pointer dereference and a kernel Oops that wedges the ksmbd worker for all clients. Reject any non-first compound operation that lands on a session which is not SMB2_SESSION_VALID, mirroring the validity the standalone lookup path enforces. SESSION_SETUP itself legitimately runs on an IN_PROGRESS session, but it is never carried as a non-first compound operation, so multi-leg authentication is unaffected by this check.

📍 영향받는 시스템

Linux kernel with ksmbd module enabled

⚔️ 공격 벡터

조작된 SMB2 COMPOUND 요청을 통한 원격 NULL 포인터 역참조 유도

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel