🇰🇷 한글 설명
리눅스 커널의 filelock 구성 요소에서 fcntl/close 경합 상황 발생 시 잠금을 제대로 해제하지 못하는 취약점이 발견되었습니다. 특히 32비트 커널에서 64비트 오프셋을 사용하는 호환성 경로(compat path)에 수정 사항이 누락되어 문제가 발생했습니다.
💡 쉬운 설명
파일을 잠그고 사용하는 과정에서 파일이 갑자기 닫힐 때, 시스템이 잠금 상태를 제대로 정리하지 못하는 오류입니다. 이로 인해 시스템의 파일 관리 기능에 혼란이 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
filelock: Fix fcntl/close race recovery compat path
When I wrote commit 3cad1bc01041 ("filelock: Remove locks reliably when
fcntl/close race is detected"), I missed that there are two copies of the
code I was patching: The normal version, and the version for 64-bit offsets
on 32-bit kernels.
Thanks to Greg KH for stumbling over this while doing the stable
backport...
Apply exactly the same fix to the compat path for 32-bit kernels.
📍 영향받는 시스템
32비트 커널 환경에서 64비트 오프셋을 사용하는 리눅스 시스템
⚔️ 공격 벡터
특정 시점에 fcntl 호출과 close 호출을 동시에 유도하는 경합 조건(Race Condition) 공격
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.
uname -a && grep -E 'Linux version' /proc/version