🇰🇷 한글 설명
Linux kernel SMB 클라이언트의 메모리 접근 취약점. 악의적 서버가 구조 오류가 있는 ACE를 반환하면 경계를 벗어난 메모리를 읽을 수 있음. parse_dacl() 함수에서 subauthority 개수 검증 추가로 수정됨.
💡 쉬운 설명
리눅스의 파일 공유 기능에서 악의적 서버가 잘못된 데이터를 보내 메모리 정보를 읽을 수 있는 버그. 커널 업데이트로 해결됨.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: require a full NFS mode SID before reading mode bits
parse_dacl() treats an ACE SID matching sid_unix_NFS_mode as an NFS
mode SID and reads sid.sub_auth[2] to recover the mode bits.
That assumes the ACE carries three subauthorities, but compare_sids()
only compares min(a, b) subauthorities. A malicious server can return
an ACE with num_subauth = 2 and sub_auth[] = {88, 3}, which still
matches sid_unix_NFS_mode and then drives the sub_auth[2] read four
bytes past the end of the ACE.
Require num_subauth >= 3 before treating the ACE as an NFS mode SID.
This keeps the fix local to the special-SID mode path without changing
compare_sids() semantics for the rest of cifsacl.
📍 영향받는 시스템
Linux kernel 2.6.37 이후 버전 중 SMB client code가 포함된 모든 배포판
⚔️ 공격 벡터
악의적 SMB 서버가 num_subauth=2인 ACE를 응답으로 전송하여 클라이언트의 out-of-bounds 메모리 읽기 유발
🛡️ 대응 방법
Linux kernel을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 커널 버전을 확인한 후 git log에서 해당 CVE 패치 적용 여부 확인 (패치 커밋이 보이면 수정됨)
uname -r | grep -E '^[0-9]+\.[0-9]+' && git log --oneline --all 2>/dev/null | grep -i 'require a full NFS mode SID\|CVE-2026-43350' | head -1