🇰🇷 한글 설명
Linux 커널의 SMB 클라이언트에서 SMB2_flush() 재시도 과정 중 double-free 취약점이 발견되었습니다. 재시도 실패 시 이전 응답 포인터를 중복으로 해제하여 메모리 오류를 유발할 수 있으며, 이를 해결하기 위해 재시도 루프 상단에서 응답 상태를 재초기화하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터가 네트워크 작업을 다시 시도하는 과정에서 이미 지운 메모리 정보를 또 지우려고 시도하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 공격에 취약해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix double-free in SMB2_flush() replay
SMB2_flush() keeps its response buffer bookkeeping across replay
attempts. If a replayable flush response is received and the retry then
fails before cifs_send_recv() stores a replacement response, flush_exit
will free the stale response pointer a second time.
Reinitialize resp_buftype and rsp_iov at the top of the replay loop so
cleanup only acts on response state produced by the current attempt.
This fixes a double-free without changing replay handling for successful
requests.
📍 영향받는 시스템
SMB2 프로토콜을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
조작된 SMB2_flush 응답을 전송하여 클라이언트의 메모리 해제 로직을 트리거함
🛡️ 대응 방법
SMB2_flush() 재시도 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인