Skip to main content
Network Thinking Solutions Logo

CVE-2025-38567

Linux kernel: nfsd: avoid ref leak in nfsd_open_local_fh()

All CVEs
CVE-2025-38567Published 8/19/2025

Linux kernel: nfsd: avoid ref leak in nfsd_open_local_fh()

Vendor advisory
CVSS4.7Medium

Overview

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().

Published
8/19/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.15.3, < 6.15.10

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

Source
linux kernel
linux
6.17

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 986a21ace186433e0397a59491646edad8c8d636, < fcb0a417fddb605530c4837e0996620f8ed38023

Verify advisory

Source
Linux
Linux
≥ e6f7e1487ab528a6c653bd0d42812ff2942846cd, < c4bf8f26c51e51bbb840935659a7b3b65a802c07

Verify advisory

Source
Linux
Linux
≥ e6f7e1487ab528a6c653bd0d42812ff2942846cd, < e5a73150776f18547ee685c9f6bfafe549714899

Verify advisory

Source
Linux
Linux
≥ 6.15.3, < 6.15.10

Verify advisory

Source
Linux
Linux
6.16

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 4.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.