lockd, nfsd: RCU-protect nlmsvc_ops dispatch (Linux Linux)

CVE-2026-89709
HIGH 8.1

En bref

Source
NVD
EPSS
EPSS 0.53 % · centile 46 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cc2f0d79b21be69b891cbd1899daf2a1fdf9df87
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 43943532c105ea8fe26039a1347cfda4ac0fcadc
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6e7495972039f212e336e552b58cac9dd54611c3
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 836ce2b99bcce6d68c58edd04efbc5cd1fd581af
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3c461a1820088fb5889d73a6522369bde45527a9
affectée : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 641e5e20852359b8c31149be4598884e30652f60
Autres versions : non affectée
Linux · Linux
affectée : 2.6.12
non affectée : ≥ 0 < 2.6.12
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.57 ≤ 6.18.*
non affectée : ≥ 7.2.4 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD