🇰🇷 한글 설명
리눅스 커널의 SMB 클라이언트에서 DFS(분산 파일 시스템) 참조를 처리할 때 부모 세션의 자식 객체에 대한 참조 횟수(refcount)를 제대로 관리하지 못하는 취약점입니다. 이로 인해 메모리 해제 후 재사용되는 Use-After-Free 버그가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 네트워크 파일을 읽는 과정에서 이미 사용이 끝난 메모리 영역을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이 오류를 이용하면 해커가 시스템을 중단시키거나 제어권을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: guarantee refcounted children from parent session
Avoid potential use-after-free bugs when walking DFS referrals,
mounting and performing DFS failover by ensuring that all children
from parent @tcon->ses are also refcounted. They're all needed across
the entire DFS mount. Get rid of @tcon->dfs_ses_list while we're at
it, too.
📍 영향받는 시스템
DFS 기능을 사용하는 리눅스 커널 기반 시스템
⚔️ 공격 벡터
조작된 DFS(Distributed File System) 참조를 통해 SMB 클라이언트의 메모리 관리 오류 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인