🇰🇷 한글 설명
Linux 커널의 SMB 클라이언트에서 open_cached_dir 함수와 리스 브레이크(lease break) 간의 경쟁 상태(race condition)로 인해 발생하는 취약점입니다. 이로 인해 dentry 참조가 누수되어 시스템 자원이 고갈될 수 있습니다.
💡 쉬운 설명
컴퓨터가 파일을 열고 닫는 과정에서 작업 순서가 꼬여 메모리 자원이 제대로 해제되지 않는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: Avoid race in open_cached_dir with lease breaks
A pre-existing valid cfid returned from find_or_create_cached_dir might
race with a lease break, meaning open_cached_dir doesn't consider it
valid, and thinks it's newly-constructed. This leaks a dentry reference
if the allocation occurs before the queued lease break work runs.
Avoid the race by extending holding the cfid_list_lock across
find_or_create_cached_dir and when the result is checked.
📍 영향받는 시스템
Linux kernel (SMB client module 포함 버전)
⚔️ 공격 벡터
특정 네트워크 환경에서 SMB 리스 브레이크를 유도하여 경쟁 상태를 발생시킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인