🇰🇷 한글 설명
리눅스 커널의 NFSD에서 새로운 time_deleg FATTR4 속성에 대한 처리 로직이 누락되어 발생한 취약점입니다. NFSv4 클라이언트가 해당 속성을 GETATTR 요청으로 보낼 경우, NFSD가 적절히 대응하지 못해 시스템이 충돌할 수 있는 위험이 있었습니다.
💡 쉬운 설명
파일 정보를 요청하는 과정에서 잘못된 형식이 들어왔을 때 서버가 이를 제대로 처리하지 못해 멈출 수 있는 문제입니다. 이번 패치를 통해 잘못된 요청이 들어오면 서버가 충돌하는 대신 오류 메시지를 보내도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Define actions for the new time_deleg FATTR4 attributes
NFSv4 clients won't send legitimate GETATTR requests for these new
attributes because they are intended to be used only with CB_GETATTR
and SETATTR. But NFSD has to do something besides crashing if it
ever sees a GETATTR request that queries these attributes.
RFC 8881 Section 18.7.3 states:
> The server MUST return a value for each attribute that the client
> requests if the attribute is supported by the server for the
> target file system. If the server does not support a particular
> attribute on the target file system, then it MUST NOT return the
> attribute value and MUST NOT set the attribute bit in the result
> bitmap. The server MUST return an error if it supports an
> attribute on the target but cannot obtain its value. In that case,
> no attribute values will be returned.
Further, RFC 9754 Section 5 states:
> These new attributes are invalid to be used with GETATTR, VERIFY,
> and NVERIFY, and they can only be used with CB_GETATTR and SETATTR
> by a client holding an appropriate delegation.
Thus there does not appear to be a specific server response mandated
by specification. Taking the guidance that querying these attributes
via GETATTR is "invalid", NFSD will return nfserr_inval, failing the
request entirely.
📍 영향받는 시스템
Linux kernel (NFSD component)
⚔️ 공격 벡터
조작된 GETATTR 요청을 보내는 NFSv4 클라이언트를 통한 서비스 거부(DoS) 공격
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인하십시오.