🇰🇷 한글 설명
리눅스 커널의 NFSD에서 NFSv3 SETATTR/CREATE 처리 시 대용량 파일 크기를 다루는 방식에 결함이 있습니다. 클라이언트가 전달한 파일 크기가 s64_max보다 클 경우, 값을 임의로 제한하면 데이터 불일치가 발생할 수 있어 이를 수정하였습니다.
💡 쉬운 설명
파일의 크기를 설정할 때 너무 큰 숫자가 들어오면 시스템이 이를 잘못 처리하여 데이터가 꼬일 수 있는 문제입니다. 이 문제를 해결하기 위해 시스템이 비정상적으로 큰 숫자를 받았을 때 적절한 오류를 반환하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes
iattr::ia_size is a loff_t, so these NFSv3 procedures must be
careful to deal with incoming client size values that are larger
than s64_max without corrupting the value.
Silently capping the value results in storing a different value
than the client passed in which is unexpected behavior, so remove
the min_t() check in decode_sattr3().
Note that RFC 1813 permits only the WRITE procedure to return
NFS3ERR_FBIG. We believe that NFSv3 reference implementations
also return NFS3ERR_FBIG when ia_size is too large.
📍 영향받는 시스템
NFSv3 프로토콜을 사용하는 리눅스 커널 기반 시스템
⚔️ 공격 벡터
조작된 대용량 파일 크기 값을 포함한 NFSv3 SETATTR 또는 CREATE 요청 전송
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 보안 업데이트 버전인지 확인