kcve.ai취약점 정보 · 내 서버 확인

CVE-2026-89709 lockd, nfsd: RCU-protect nlmsvc_ops dispatch

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.12

    해결 버전

    • 2.6.12 미만
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.114 이상
    • 6.18.57 이상
    • 7.2.4 이상
‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의