🇰🇷 한글 설명
Linux 커널의 SMB 클라이언트 구성 요소에서 free_tgts() 함수 호출 시 ce->tgthint 포인터가 해제된 메모리를 계속 가리키는 취약점이 발견되었습니다. 이로 인해 해제된 메모리에 다시 접근하는 Use-After-Free(UAF) 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 버린 메모리 주소를 여전히 유효한 것으로 착각하여 접근할 때 발생하는 보안 문제입니다. 이 허점을 이용하면 공격자가 시스템을 마비시키거나 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: clear ce->tgthint in free_tgts()
When free_tgts() frees all structures in ce->tlist, ce->tgthint
is left pointing to one of the freed cache_dfs_tgt structures.
If ce->tgthint is not reset before it is used later, it results
in a use-after-free.
Set ce->tgthint to NULL in free_tgts() after the elements are
freed to reflect that no elements remain.
📍 영향받는 시스템
Linux Kernel (SMB client module 포함 버전)
⚔️ 공격 벡터
특수하게 조작된 네트워크 패킷을 통해 SMB 클라이언트의 메모리 관리 로직을 트리거하여 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ce->tgthint를 NULL로 초기화하도록 수정
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인