What’s Vulnerable › Vulnerabilities
CVE-2026-89709: lockd, nfsd: RCU-protect nlmsvc_ops dispatch
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-11 · updated 2026-10-21
Description
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.
Affected products
- Linux kernel: 2.6.12 — fixed in 7.3
How to fix
Upgrade to a fixed version: Linux kernel 7.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3c461a1820088fb5889d73a6522369bde45527a9
- https://git.kernel.org/stable/c/43943532c105ea8fe26039a1347cfda4ac0fcadc
- https://git.kernel.org/stable/c/641e5e20852359b8c31149be4598884e30652f60
- https://git.kernel.org/stable/c/6e7495972039f212e336e552b58cac9dd54611c3
- https://git.kernel.org/stable/c/836ce2b99bcce6d68c58edd04efbc5cd1fd581af
Get alerted when CVE-2026-89709 or the next vulnerability affects your stack