🇰🇷 한글 설명
리눅스 커널의 NFSD 구성 요소에서 nfsd4_shutdown_callback 함수가 중단(hang)되는 취약점이 발견되었습니다. nfs4_client가 courtesy 상태일 때 콜백을 전송하려고 시도하면 cl_cb_inflight 값이 0이 되지 않아 약 15분간 시스템이 멈추는 현상이 발생합니다.
💡 쉬운 설명
NFS 서버가 종료될 때 특정 상태의 클라이언트에게 신호를 보내려다 시스템이 약 15분 동안 응답하지 않고 멈추는 문제입니다. 이는 서버의 안정성을 떨어뜨릴 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
NFSD: fix hang in nfsd4_shutdown_callback
If nfs4_client is in courtesy state then there is no point to send
the callback. This causes nfsd4_shutdown_callback to hang since
cl_cb_inflight is not 0. This hang lasts about 15 minutes until TCP
notifies NFSD that the connection was dropped.
This patch modifies nfsd4_run_cb_work to skip the RPC call if
nfs4_client is in courtesy state.
📍 영향받는 시스템
nfsd(Network File System daemon)를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특정 상태(courtesy state)의 NFS 클라이언트와의 연결 종료 과정에서 유도 가능
🛡️ 대응 방법
nfsd4_run_cb_work 함수에 courtesy 상태 확인 로직이 포함된 최신 리눅스 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.