nfsd: fix dentry ref leak on V4ROOT export filehandle lookup (Linux Linux)

CVE-2026-89683
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: fix dentry ref leak on V4ROOT export filehandle lookup nfsd_set_fh_dentry() leaks the dentry reference from exportfs_decode_fh_raw() when the NFS3_FHSIZE or NFS_FHSIZE switch cases detect NFSEXP_V4ROOT and goto out. The out: label calls exp_put() but never dput(dentry), and fhp->fh_dentry was never assigned so fh_put() cannot compensate. A crafted NFSv3 filehandle targeting a V4ROOT export's fsid triggers the leak on every request.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected ef7f6c4904d03ccd7478e1ac20ed75f79c4ac444 < d493cf57f4c4dae5396cd6ad41e5c209d0615a81 ; affected ef7f6c4904d03ccd7478e1ac20ed75f79c4ac444 < c1ae0f973bcba5730871e35976a0ab6878fdac34 ; affected ef7f6c4904d03ccd7478e1ac20ed75f79c4ac444 < 11db8df188b34bdb8c6a3a0bf438e5fc8cd75aca ; affected ef7f6c4904d03ccd7478e1ac20ed75f79c4ac444 < 6247023fbbec1325029f2d5f2a7cdc0f9f9ea15a
Linux · Linuxaffected 6.12 ; unaffected 0 < 6.12 ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* ; unaffected 7.2.4 ≤ 7.2.* ; unaffected 7.3 ≤ *

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