🔍 CVE-2026-98170

0.0
CVSS Score
UNKNOWN
2026-10-06
2026-10-21 13:21
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SMB 클라이언트 모듈 내 move_smb2_ea_to_cifs() 함수에서 경계 외(Out-of-Bounds) 구조체 필드 읽기 취약점이 발견되었습니다. 루프 조건이 불충분하여 smb2_ea_info 구조체를 완전히 포함할 수 없는 크기임에도 반복문이 계속 실행되어 메모리 경계를 벗어난 읽기가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 서버로부터 데이터를 가져올 때, 데이터의 크기를 제대로 확인하지 않고 읽으려다 발생할 수 있는 오류입니다. 이로 인해 잘못된 메모리 영역을 읽게 되어 시스템에 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB struct field reads in move_smb2_ea_to_cifs() In move_smb2_ea_to_cifs(), the while (src_size > 0) loop condition is insufficient. It allows iteration to continue even if the remaining src_size is too small to contain a complete smb2_ea_info structure. Consequently, reads of ea_name_length and ea_value_length can occur out-of-bounds. Fix this by ensuring src_size >= sizeof(*src) before attempting to read any structure fields. Additionally, reject any next_entry_offset that is smaller than sizeof(*src) or that would advance the pointer beyond the available buffer. Note that for calls where the server returns a malformed EA list, the error returned to userspace changes from -ENODATA (getxattr) or -ERANGE (listxattr) to -EIO. This correctly signals a server protocol error rather than misleadingly indicating "attribute not present" or "output buffer too small".

📍 영향받는 시스템

Linux kernel (SMB client module)

⚔️ 공격 벡터

악의적으로 조작된 SMB2 확장 속성(EA) 리스트를 반환하는 서버를 통한 공격

🛡️ 대응 방법

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

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel