🔍 CVE-2026-89547

8.1
CVSS Score
HIGH
2026-09-11
2026-10-19 09:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SUNRPC 구성 중 percpu_counter 할당 실패 시 반환 값을 확인하지 않아 발생하는 취약점입니다. 할당에 실패하더라도 초기화되지 않은 서비스 객체가 생성되어, 이후 메모리 접근 시 CPU별 데이터 영역을 오염시키거나 시스템 충돌을 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 메모리가 부족할 때 시스템의 특정 기능이 제대로 준비되지 않은 상태로 작동하여 데이터가 엉키거나 시스템이 멈출 수 있는 문제입니다. 공격자가 직접 실행하기는 어렵지만, 메모리가 매우 부족한 상황에서 시스템 오류를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Check svc pool percpu counter allocation __svc_create() initializes three per-pool percpu_counter stats and ignores every return value. On SMP, percpu_counter_init() fails when __alloc_percpu_gfp() cannot satisfy the allocation, leaving the failed counter with fbc->counters == NULL and its embedded raw_spinlock_t, list_head, and count never initialized. __svc_create() returns the half-constructed svc_serv to nfsd, lockd, or the NFS callback service anyway. Once that service is live, the hot-path increments in svc_xprt_enqueue(), svc_handle_xprt(), and svc_pool_wake_idle_thread() reach a counter whose backing pointer is NULL. The pointer is a per-cpu offset, so the access does not fault: it resolves to offset zero of the current CPU's per-cpu area and silently corrupts whatever variable lives there. A /proc/fs/nfsd/pool_stats read walks the same NULL per-cpu storage and returns garbage, and on CONFIG_DEBUG_SPINLOCK or lockdep it splats on the never-initialized lock. Creating the broken service requires a percpu allocation failure during RPC server startup, so it is reachable only by a local administrator under memory pressure or fault injection; a remote peer cannot induce the bad state on its own. Check each percpu_counter_init() return value in __svc_create() and fail when an allocation fails, unwinding the counters already set up in the current pool and in every pool initialized before it. A discrete percpu_counter_destroy() per counter at teardown frees each per-cpu allocation exactly once.

📍 영향받는 시스템

Linux kernel (SUNRPC 관련 모듈 사용 시스템)

⚔️ 공격 벡터

로컬 관리자가 메모리 압박(Memory Pressure) 또는 결함 주입(Fault Injection)을 통해 유도하는 로컬 공격

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 __svc_create() 함수의 할당 검증 로직을 적용해야 합니다.

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel