🔍 CVE-2026-89661

0.0
CVSS Score
UNKNOWN
2026-09-11
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 NFSD 구성 요소에서 nfsd_mutex를 확보하기 전에 nfsd4_cancel_copy_by_sb()가 호출되어 발생하는 Use-After-Free 취약점입니다. 서버 종료 후 /proc/fs/nfsd/unlock_filesystem에 파일 시스템 경로를 작성할 때 이미 해제된 메모리 영역에 접근하여 시스템 오류를 유발할 수 있습니다.

💡 쉬운 설명

NFS 서버가 꺼진 상태에서 특정 명령을 내리면, 컴퓨터가 이미 삭제한 메모리 정보를 다시 읽으려다 오류가 발생하는 문제입니다. 이로 인해 시스템이 멈추거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent post-shutdown use-after-free in unlock_filesystem Writing a filesystem path to /proc/fs/nfsd/unlock_filesystem runs nfsd4_cancel_copy_by_sb() before nfsd_mutex is held and before the handler confirms that nn->nfsd_serv is set. Once nfsd has shut down, nfs4_state_destroy_net() has freed nn->conf_id_hashtbl but left the pointer intact, so the cancel helper iterates freed slab memory as an array of struct list_head and then dereferences a bogus nfs4_client when it takes clp->async_lock. A local administrator holding CAP_SYS_ADMIN can reach this use-after-free by stopping the server and then writing to unlock_filesystem; KASAN reports a slab-use-after-free read in nfsd4_cancel_copy_by_sb(). nfsd4_revoke_states() walks the same state tables and for that reason already runs only under nfsd_mutex with nn->nfsd_serv confirmed present. Move the async COPY cancel into that protected section so every NFSv4 state-table walker on this path observes a running server. Async copies exist only while the server runs, so gating the cancel on nn->nfsd_serv loses nothing.

📍 영향받는 시스템

Linux kernel (NFSD module enabled)

⚔️ 공격 벡터

CAP_SYS_ADMIN 권한을 가진 로컬 관리자가 서버 종료 후 /proc/fs/nfsd/unlock_filesystem에 경로를 작성

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 nfsd_mutex 보호 구역 내에서 취소 작업이 수행되도록 수정

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전인지 배포판 보안 공지를 통해 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel