🔍 CVE-2026-89695

7.5
CVSS Score
HIGH
2026-09-11
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 nfsd에서 POSIX ACL 디코딩 시 클라이언트가 전송한 엔트리 개수를 검증하지 않아 발생하는 취약점입니다. 공격자가 매우 큰 값을 전송할 경우, 서버 측에서 O(n^2) 복잡도를 가진 버블 정렬이 실행되어 CPU 자원을 과도하게 소모하게 됩니다.

💡 쉬운 설명

해커가 조작된 데이터를 보내 서버의 계산 능력을 마비시키는 공격입니다. 서버가 처리할 수 없는 엄청난 양의 데이터를 정렬하느라 CPU가 100% 사용되어 시스템이 느려지거나 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nfsd: cap decoded POSIX ACL count to bound sort cost nfsd4_decode_posixacl() reads a u32 entry count off the wire and passes it straight to posix_acl_alloc() and sort_pacl_range(). The latter is an O(n^2) bubble sort, so a client-chosen count drives unbounded CPU in the server's compound processing path. nfsd4_decode_posixacl() xdr_stream_decode_u32(&count) /* uncapped u32 */ posix_acl_alloc(count, GFP_KERNEL) sort_pacl_range(*acl, 0, count - 1) /* O(n^2) bubble sort */ The encoder side in the same file already rejects ACLs whose a_count exceeds NFS_ACL_MAX_ENTRIES, but the decoder introduced in commit 5fc51dfc2eb1 ("NFSD: Add support for XDR decoding POSIX draft ACLs") omitted the symmetric check. Fix by rejecting a wire count greater than NFS_ACL_MAX_ENTRIES with nfserr_inval, before any allocation, so the sort is bounded by NFS_ACL_MAX_ENTRIES^2 comparisons. While we're in here, also fix the nfserr_resource return if posix_acl_alloc() fails. That's not a legal error code for v4.1+. Change it to return nfserr_jukebox as that's more appropriate for memory allocation failures.

📍 영향받는 시스템

Linux kernel (nfsd 구성 요소가 포함된 버전)

⚔️ 공격 벡터

네트워크를 통해 조작된(매우 큰 count 값을 가진) POSIX ACL 데이터를 NFS 서버로 전송

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ACL 엔트리 개수 제한 및 오류 처리 로직을 적용해야 합니다.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 보안 공지(CVE-2026-89695)와 대조하여 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel