🇰🇷 한글 설명
Linux 커널의 nfsd 구성 요소에서 nfs4_lookup_stateid() 함수가 SC_STATUS_FREEABLE 상태를 검색할 때 이를 허용하지 않는 취약점이 발견되었습니다. 이로 인해 권한이 취소된 위임(delegation) 상태를 올바르게 식별하지 못하고 잘못된 오류 코드를 반환하는 문제가 발생합니다.
💡 쉬운 설명
리눅스 서버에서 파일 공유 기능을 사용할 때, 이미 취소된 권한을 시스템이 제대로 인식하지 못해 오류가 발생하는 문제입니다. 이로 인해 파일 접근 제어가 의도한 대로 작동하지 않을 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfsd: allow SC_STATUS_FREEABLE when searching via nfs4_lookup_stateid()
The pynfs DELEG8 test fails when run against nfsd. It acquires a
delegation and then lets the lease time out. It then tries to use the
deleg stateid and expects to see NFS4ERR_DELEG_REVOKED, but it gets
bad NFS4ERR_BAD_STATEID instead.
When a delegation is revoked, it's initially marked with
SC_STATUS_REVOKED, or SC_STATUS_ADMIN_REVOKED and later, it's marked
with the SC_STATUS_FREEABLE flag, which denotes that it is waiting for
s FREE_STATEID call.
nfs4_lookup_stateid() accepts a statusmask that includes the status
flags that a found stateid is allowed to have. Currently, that mask
never includes SC_STATUS_FREEABLE, which means that revoked delegations
are (almost) never found.
Add SC_STATUS_FREEABLE to the always-allowed status flags, and remove it
from nfsd4_delegreturn() since it's now always implied.
📍 영향받는 시스템
SC_STATUS_FREEABLE 플래그 처리가 누락된 Linux Kernel nfsd 구성 요소
⚔️ 공격 벡터
네트워크를 통한 NFSv4 프로토콜 요청을 이용한 상태 식별 오류 유도
🛡️ 대응 방법
SC_STATUS_FREEABLE 플래그가 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.