🔍 CVE-2026-93207

9.8
CVSS Score
CRITICAL
2026-09-24
2026-10-19 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SUNRPC 구성 요소에서 svcauth_gss_decode_credbody() 함수 호출 시 rpc_gss_wire_cred 구조체가 초기화되지 않아 발생하는 취약점입니다. 디코딩 과정에서 조기 오류가 발생할 경우 이전 요청의 잔류 데이터와 결합되어 잘못된 길이 정보와 댕글링 포인터가 남게 됩니다. 이는 메모리 오염이나 정보 유출로 이어질 수 있습니다.

💡 쉬운 설명

컴퓨터가 이전 작업의 흔적을 제대로 지우지 않고 다음 작업을 수행하다가 발생하는 오류입니다. 이로 인해 잘못된 메모리 주소를 참조하게 되어 시스템 보안이 뚫릴 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Zero rpc_gss_wire_cred at svcauth_gss_decode_credbody() entry svcauth_gss_decode_credbody() writes the caller's rpc_gss_wire_cred field by field and assigns gc_ctx.len only on the success tail. The caller storage is svcdata->clcred, which lives in the per-svc_rqst gss_svc_data and is reused across requests. Early decode failures leave partially decoded state mixed with residue from the prior request. The trailing body_len tightness check is the sharpest case: xdr_stream_decode_opaque_inline() has already written gc_ctx.data with a borrowed inline pointer into the current request's XDR pages, but gc_ctx.len retains its prior value. Once the request pages are released the pooled clcred carries a dangling pointer paired with a stale length. Zero the caller's rpc_gss_wire_cred at function entry so that every early-return path leaves a deterministic all-zero cred. On the trailing tightness-check path, gc_ctx.len is now zero instead of stale, which neuters length-driven consumers such as gss_svc_searchbyctx() that would otherwise walk the dangling data pointer.

📍 영향받는 시스템

Linux kernel (SUNRPC 모듈을 사용하는 시스템)

⚔️ 공격 벡터

조작된 RPC 요청을 전송하여 GSS 디코딩 과정에서 의도적인 오류를 유발하고 메모리 잔류 데이터를 활용함

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 svcauth_gss_decode_credbody() 진입 시 구조체를 초기화하도록 조치

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel