🇰🇷 한글 설명
Linux 커널의 smb/client 구성 요소에서 smb2_compound_op() 함수 내 경계 외 읽기(out-of-bounds read) 취약점이 발견되었습니다. 공격자가 조작된 SMB2 응답을 보내면 커널 힙 메모리의 경계를 넘어 데이터를 읽어낼 수 있으며, 이는 민감한 커널 메모리 정보 유출로 이어질 수 있습니다.
💡 쉬운 설명
해커가 조작된 데이터를 보내 컴퓨터의 핵심 메모리 영역을 몰래 훔쳐볼 수 있는 보안 결함입니다. 이로 인해 시스템 내부의 중요한 정보가 외부로 유출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb/client: fix out-of-bounds read in smb2_compound_op()
If a server sends a truncated response but a large OutputBufferLength, and
terminates the EA list early, check_wsl_eas() returns success without
validating that the entire OutputBufferLength fits within iov_len.
Then smb2_compound_op() does:
memcpy(idata->wsl.eas, data[0], size[0]);
Where size[0] is OutputBufferLength. If iov_len is smaller than size[0],
memcpy can read beyond the end of the rsp_iov allocation and leak adjacent
kernel heap memory.
📍 영향받는 시스템
SMB2 클라이언트 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된(truncated) SMB2 응답을 전송하여 커널의 메모리 읽기 범위를 초과하도록 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인