🇰🇷 한글 설명
Linux 커널의 NFSv4에서 sillyrenamed 파일의 상태 복구 중 데드락이 발생하는 취약점입니다. 서버 재부팅 시 파일 닫기 작업과 오픈 재클레임 작업이 경합을 벌이면서, 권한 문제로 인해 동기식 delegreturn 호출이 데드락을 유발할 수 있습니다.
💡 쉬운 설명
네트워크 파일 시스템(NFS)을 사용할 때 특정 상황에서 파일 처리 과정이 서로 엉켜 시스템이 멈추는 현상이 발생할 수 있습니다. 이는 서버가 재시작되거나 파일을 삭제하는 과정에서 충돌이 일어날 때 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
NFSv4: Fix a deadlock when recovering state on a sillyrenamed file
If the file is sillyrenamed, and slated for delete on close, it is
possible for a server reboot to triggeer an open reclaim, with can again
race with the application call to close(). When that happens, the call
to put_nfs_open_context() can trigger a synchronous delegreturn call
which deadlocks because it is not marked as privileged.
Instead, ensure that the call to nfs4_inode_return_delegation_on_close()
catches the delegreturn, and schedules it asynchronously.
📍 영향받는 시스템
Linux Kernel (NFSv4 사용 환경)
⚔️ 공격 벡터
서버 재부팅 및 특정 파일(sillyrenamed)의 close/delete 작업이 동시에 발생하는 조건 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인