🔍 CVE-2026-89709

8.1
CVSS Score
HIGH
2026-09-11
2026-10-30 13:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 lockd 및 nfsd 구성 요소에서 nlmsvc_ops 구조체에 대한 RCU 보호가 누락되어 발생하는 취약점입니다. nfsd 모듈이 제거된 후에도 lockd가 해당 포인터를 참조할 경우 NULL 역참조 또는 모듈 텍스트 영역의 Use-After-Free(UAF)가 발생할 수 있습니다.

💡 쉬운 설명

NFS 서비스가 종료된 후에도 시스템의 일부가 종료된 서비스의 메모리 주소를 계속 참조하려고 시도하여 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: lockd, nfsd: RCU-protect nlmsvc_ops dispatch nlmsvc_ops is published by nfsd_lockd_init() and cleared by nfsd_lockd_shutdown() with plain stores, while lockd dereferences it unguarded from dispatch sites in fs/lockd/svcsubs.c. The pointer targets nfsd's .rodata and the fopen/fclose callbacks live in nfsd's .text, so a stale load after rmmod nfsd results in either a NULL deref or a module-text use-after-free. Declare nlmsvc_ops as __rcu, publish via rcu_assign_pointer(), clear via RCU_INIT_POINTER() + synchronize_rcu(). Add a struct module *owner field to nlmsvc_binding and pin the module across indirect calls with try_module_get/module_put. When the binding is torn down, fall back to fput() to avoid leaking struct file references.

📍 영향받는 시스템

Linux Kernel (nfsd 및 lockd 모듈을 사용하는 시스템)

⚔️ 공격 벡터

nfsd 모듈을 제거(rmmod)하는 과정에서 발생하는 레이스 컨디션을 이용한 메모리 오염 공격

🛡️ 대응 방법

커널 패치를 적용하여 nlmsvc_ops에 RCU 보호를 적용하고 모듈 참조 카운팅(try_module_get/module_put)을 구현해야 합니다.

🔧 검증 코드

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

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