🔍 CVE-2026-53397

7.5
CVSS Score
HIGH
2026-07-19
2026-10-19 20:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 nfsd 구성 요소에서 SETACL 디코딩 실패 시 posix_acl 메모리가 해제되지 않고 누수되는 취약점이 발견되었습니다. 디코딩 과정에서 두 번의 ACL 호출 중 두 번째 호출이 실패할 경우, 첫 번째 호출로 할당된 메모리가 해제되지 않은 채 서버에 남게 됩니다.

💡 쉬운 설명

NFS 서버에서 권한 설정 명령을 처리하다가 오류가 발생하면, 사용했던 메모리를 제대로 돌려주지 않고 계속 쌓아두는 버그입니다. 이 문제가 반복되면 서버의 메모리가 점차 부족해져 시스템 성능이 떨어지거나 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nfsd: fix posix_acl leak on SETACL decode failure nfsaclsvc_decode_setaclargs() and nfs3svc_decode_setaclargs() each call nfs_stream_decode_acl() twice, first for NFS_ACL and then for NFS_DFACL. Each successful call transfers ownership of a freshly allocated posix_acl into argp->acl_access or argp->acl_default. If the first call succeeds but the second fails, the decoder returns false and argp->acl_access is left dangling. ACLPROC2_SETACL.pc_release was wired to nfssvc_release_attrstat and ACLPROC3_SETACL.pc_release was wired to nfs3svc_release_fhandle. Both only call fh_put() and have no knowledge of the ACL fields on argp. The posix_acl_release() pairs sat at the out: labels inside nfsacld_proc_setacl() and nfsd3_proc_setacl(), but svc_process() skips pc_func when pc_decode returns false, so that cleanup is unreachable on decode failure: svc_process_common() pc_decode() /* decode_setaclargs: false */ /* pc_func skipped */ pc_release() /* fh_put only -- ACLs leaked */ The orphaned posix_acl is leaked for the lifetime of the server. Fix by adding nfsaclsvc_release_setacl() and nfs3svc_release_setacl(), which release both argp->acl_access and argp->acl_default in addition to fh_put(), and wiring them as pc_release for their respective SETACL procedures. pc_release runs on every path svc_process() takes after decode, including decode failure, so the posix_acl_release() pairs are removed from the proc functions' out: labels to keep ownership in one place. This matches the existing release_getacl() pattern used by the sibling GETACL procedures.

📍 영향받는 시스템

Linux kernel (nfsd component)

⚔️ 공격 벡터

조작된 SETACL 요청을 반복적으로 보내 메모리 누수를 유도하는 방식

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

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