🔍 CVE-2025-68242

0.0
CVSS Score
UNKNOWN
2025-12-16
2026-10-14 13:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 NFS 구현에서 타임스탬프 위임(delegation) 기능이 활성화되었을 때, nfs_setattr 함수가 호출자의 fsuid와 inode의 UID를 적절히 검증하지 않는 취약점이 발견되었습니다. 이로 인해 특정 조건에서 권한이 없는 사용자가 파일의 시간 정보를 수정할 수 있는 문제가 발생할 수 있습니다.

💡 쉬운 설명

파일의 수정 시간을 관리하는 기능에서 보안 검사가 누락되어, 권한이 없는 사용자가 파일 정보를 임의로 바꿀 수 있는 문제입니다. 이 패치를 통해 시스템이 파일 소유자와 요청자를 제대로 대조하도록 수정되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix LTP test failures when timestamps are delegated The utimes01 and utime06 tests fail when delegated timestamps are enabled, specifically in subtests that modify the atime and mtime fields using the 'nobody' user ID. The problem can be reproduced as follow: # echo "/media *(rw,no_root_squash,sync)" >> /etc/exports # export -ra # mount -o rw,nfsvers=4.2 127.0.0.1:/media /tmpdir # cd /opt/ltp # ./runltp -d /tmpdir -s utimes01 # ./runltp -d /tmpdir -s utime06 This issue occurs because nfs_setattr does not verify the inode's UID against the caller's fsuid when delegated timestamps are permitted for the inode. This patch adds the UID check and if it does not match then the request is sent to the server for permission checking.

📍 영향받는 시스템

NFS 타임스탬프 위임 기능이 활성화된 Linux 커널 시스템

⚔️ 공격 벡터

NFS 서버에 연결된 클라이언트에서 권한이 없는 사용자가 특정 조건(delegated timestamps)을 이용해 파일의 atime/mtime을 수정 시도

🛡️ 대응 방법

해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel