🇰🇷 한글 설명
Linux 커널의 nfsd 구성 요소에서 copy-notify 상태 ID를 취소할 때 클라이언트 소유권을 확인하지 않는 취약점이 발견되었습니다. 인증된 NFSv4.2 클라이언트라면 예측 가능한 상태 ID를 이용해 다른 클라이언트의 copy-notify 상태를 임의로 취소하고 해제할 수 있습니다.
💡 쉬운 설명
NFS 서버를 사용하는 환경에서 악의적인 사용자가 다른 사용자의 파일 복사 알림 상태를 강제로 종료시킬 수 있는 문제입니다. 이는 시스템의 데이터 일관성을 해칠 수 있는 보안 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfsd: check client ownership when cancelling a copy-notify stateid
On the OFFLOAD_CANCEL path (clp != NULL), manage_cpntf_state() freed the
target cpntf state without checking ownership. The lookup key
st->si_opaque.so_id is allocated cyclically (guessable) and the embedded
clientid is the fixed per-net nn->s2s_cp_cl_id, so any authenticated
NFSv4.2 client could cancel and free another client's copy-notify
stateid.
Compare the creating clientid recorded in state->cp_p_clid against the
requesting client's cl_clientid and return nfserr_bad_stateid on a
mismatch instead of freeing the entry.
📍 영향받는 시스템
NFSv4.2 프로토콜을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
인증된 NFSv4.2 클라이언트가 예측 가능한 stateid를 사용하여 타인의 copy-notify 요청을 취소함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 소유권 검증 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.