CVE-2026-89709

lockd, nfsd: RCU-protect nlmsvc_ops dispatch

State
Published
Severity
8.1 High
Published
Sep 11, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before cc2f0d79b21be69b891cbd1899daf2a1fdf9df87Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 43943532c105ea8fe26039a1347cfda4ac0fcadcAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6e7495972039f212e336e552b58cac9dd54611c3Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 836ce2b99bcce6d68c58edd04efbc5cd1fd581afAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3c461a1820088fb5889d73a6522369bde45527a9Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 641e5e20852359b8c31149be4598884e30652f60Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.4 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.