🇰🇷 한글 설명
Linux 커널의 SMB 클라이언트에서 복합 암호화 PDU 처리 중 발생하는 Use-After-Free(UAF) 및 경계 검사 미흡 취약점입니다. 잘못된 포인터 생명주기 관리와 정수 오버플로우로 인해 메모리 손상 및 보안 위협이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 암호화된 데이터를 해독하는 과정에서 메모리를 잘못 관리하여 발생하는 오류입니다. 공격자가 이를 악용하면 시스템의 제어권을 탈취하거나 프로그램을 강제로 종료시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs
Fix several related bounds checking and pointer lifecycle issues in
receive_encrypted_standard()'s handling of compound encrypted frames:
- Clear next_buffer after assigning it to server->bigbuf. A stale
next_buffer pointer can lead to a use-after-free on subsequent
error paths.
- Update pdu_length to the decrypted plaintext size (buf_size). Using
the pre-decryption length allows NextCommand to point into stale
ciphertext residue.
- Reject next_cmd values smaller than MID_HEADER_SIZE(server).
- Fix an integer overflow in the upper bound check by verifying
pdu_length - next_cmd < MID_HEADER_SIZE(server), ensuring the
trailing slice is large enough for a header.
📍 영향받는 시스템
Linux Kernel (SMB client component)
⚔️ 공격 벡터
암호화된 SMB 네트워크 패킷을 조작하여 취약한 커널 메모리 영역에 접근
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인