🇰🇷 한글 설명
Linux 커널의 nfsd 구성 요소에서 TIME_DELEG 디코딩 경로 중 nseconds 값을 검증하지 않는 취약점이 발견되었습니다. 잘못된 timespec 값이 검증 없이 전달될 경우 notify_change()를 통해 디스크로 전파될 수 있습니다.
💡 쉬운 설명
NFS 서버가 시간을 처리할 때 잘못된 시간 값을 걸러내지 못하는 문제입니다. 이로 인해 조작된 시간 데이터가 시스템 디스크에 잘못 저장될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfsd: validate nseconds in TIME_DELEG decode paths
The xdrgen-based TIME_DELEG_ACCESS and TIME_DELEG_MODIFY decode arms
store a raw uint32_t nseconds directly into tv_nsec without enforcing
nseconds < NSEC_PER_SEC. The legacy nfsd4_decode_nfstime4 has this
check but the TIME_DELEG paths do not. A malformed timespec can
propagate through notify_change() to disk.
Add range checks in both nfs4xdr.c (SETATTR path) and
nfs4callback.c (CB_GETATTR path).
📍 영향받는 시스템
Linux kernel (nfsd component)
⚔️ 공격 벡터
조작된 nseconds 값을 포함한 악의적인 NFS TIME_DELEG 요청 전송
🛡️ 대응 방법
nfs4xdr.c 및 nfs4callback.c에 범위 검사 로직이 포함된 최신 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 패치된 최신 버전인지 확인합니다.