🇰🇷 한글 설명
Linux 커널의 SMB 클라이언트 모듈 내 receive_encrypted_standard() 함수에서 메모리 누수 취약점이 발견되었습니다. MAX_COMPOUND 제한을 확인하기 전에 next_buffer를 먼저 할당하여, 제한 초과 시 할당된 메모리가 해제되지 않고 누수되는 문제입니다.
💡 쉬운 설명
컴퓨터가 데이터를 처리할 때 메모리라는 공간을 빌려 쓰는데, 작업을 중단하면서 빌린 공간을 돌려주지 않고 잊어버리는 문제가 있습니다. 이 현상이 반복되면 시스템의 메모리가 부족해져 컴퓨터가 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: Fix next buffer leak in receive_encrypted_standard()
receive_encrypted_standard() allocates next_buffer before checking
whether the number of compound PDUs already reached MAX_COMPOUND. If
the limit check fails, the function returns immediately and the newly
allocated next_buffer is not assigned to server->smallbuf/server->bigbuf,
making it leaked.
Move the MAX_COMPOUND check before allocating next_buffer.
📍 영향받는 시스템
Linux kernel (SMB client module 포함 버전)
⚔️ 공격 벡터
특수하게 조작된 SMB 패킷을 전송하여 클라이언트의 메모리 누수를 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.