🇰🇷 한글 설명
리눅스 커널의 SMB 클라이언트에서 디렉토리 캐시 오픈 실패 시 정리 과정에 결함이 발견되었습니다. CREATE 요청은 성공했으나 후속 명령에서 오류가 발생할 경우, 생성된 파일 식별자(FID)를 적절히 유지하여 SMB2_close()를 호출하지 못하는 문제가 있었습니다.
💡 쉬운 설명
컴퓨터가 네트워크 폴더를 열려고 시도하다가 중간에 오류가 나면, 열려 있는 통로를 제대로 닫지 못하고 남겨두는 버그입니다. 이로 인해 시스템 자원이 낭비되거나 연결 관리에 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: clean up failed cached directory opens
open_cached_dir() sends CREATE and QUERY_INFO as a compound request. If
the CREATE succeeds but a later command returns an error, the function
must retain the CREATE FID so common cleanup can issue SMB2_close(). It
also must not treat a response error as a valid CREATE.
Validate the CREATE response before using its fields, record the FIDs, and
mark the handle open before handling errors from later compound commands.
Move the -EREMCHG reconnect handling before response validation so a
missing response does not hide the reconnect request. Count the handle
when it is marked open; confirmed close responses decrement the counter,
while existing close retry behavior remains best effort on transport
failures.
📍 영향받는 시스템
Linux kernel (SMB client component)
⚔️ 공격 벡터
네트워크를 통해 조작된 SMB 응답을 보내 클라이언트의 리소스 정리 로직을 방해하는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.