VDB

CVE-2025-38567

CVE-2025-38567 PUBLISHED

nfsd: avoid ref leak in nfsd_open_local_fh()

Reported by linux · Published August 19, 2025

In the Linux kernel, the following vulnerability has been resolved: nfsd: avoid ref leak in nfsd_open_local_fh() If two calls to nfsd_open_local_fh() race and both successfully call nfsd_file_acquire_local(), they will both get an extra reference to the net to accompany the file reference stored in *pnf. One of them will fail to store (using xchg()) the file reference in *pnf and will drop that reference but WON'T drop the accompanying reference to the net. This leak means that when the nfs server is shut down it will hang in nfsd_shutdown_net() waiting for &nn->nfsd_net_free_done. This patch adds the missing nfsd_net_put().

EPSS 0.13% · 2.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.15.10

Risk scores

EPSS Score
0.13%
2.9th percentile

Affected products

VendorProductVersions
LinuxLinux986a21ace186433e0397a59491646edad8c8d636, e6f7e1487ab528a6c653bd0d42812ff2942846cd, e6f7e1487ab528a6c653bd0d42812ff2942846cd
LinuxLinux6.16, 0, 6.15.10
linuxlinux_kernel6.15.3, 6.16, 6.16
LinuxLinux*, *, 6.16

Timeline

  • Aug 19, 2025 CVE Published
  • Aug 20, 2025 EPSS Score (30 in total, the first dated here)
  • Aug 20, 2025 Coalition ESS Score (23 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (181 in total, the first dated here)
  • Dec 18, 2025 PoC Published (3 in total, the first dated here)
  • Apr 20, 2026 Distribution Patch (157 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38567
vulnetix vdb fixes CVE-2025-38567

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38567/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›