🔍 CVE-2026-98167

0.0
CVSS Score
UNKNOWN
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SMB 클라이언트에서 복합 암호화 PDU 처리 중 server->total_read 값이 전체 복호화된 프레임 크기로 유지되는 취약점이 발견되었습니다. 이로 인해 PDU 길이 검증이 잘못 수행되어, 잘린 형태의 하위 PDU가 검증을 우회하고 smb2_get_data_area_len()에서 경계 외 읽기(Out-of-bounds read)를 유발할 수 있습니다.

💡 쉬운 설명

데이터를 묶어서 보낼 때 보안 검사를 제대로 하지 않아, 일부 데이터가 잘려 있어도 정상인 것처럼 속일 수 있는 문제입니다. 이로 인해 시스템이 허용되지 않은 메모리 영역을 읽어 들여 오류가 발생하거나 정보가 유출될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix server->total_read for compound encrypted PDUs In receive_encrypted_standard(), server->total_read is left at the full decrypted frame size when walking sub-PDUs of a compound encrypted frame. As a result, cifs_handle_standard() passes this full size to smb2_check_message(), causing the PDU length guards to incorrectly validate the entire compound frame instead of the current sub-PDU. This allows truncated non-last sub-PDUs to bypass length validation, leading to out-of-bounds reads in smb2_get_data_area_len(). Fix this by setting server->total_read to the true length of the current sub-PDU: next_cmd for non-last sub-PDUs, and the remaining pdu_length for the last one.

📍 영향받는 시스템

Linux kernel (SMB client module)

⚔️ 공격 벡터

조작된(truncated) 하위 PDU를 포함한 암호화된 SMB 복합 프레임을 전송하여 공격

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel