CVE-2025-38567
nfsd: avoid ref leak in nfsd_open_local_fh()
Mitigation
- Upgrade Linux to 6.15.10 or later.
Who should check
- Anyone running Linux >= 986a21ace186433e0397a59491646edad8c8d636, < fcb0a417fddb605530c4837e0996620f8ed38023; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < c4bf8f26c51e51bbb840935659a7b3b65a802c07; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < e5a73150776f18547ee685c9f6bfafe549714899; >= 6.15.3, < 6.15.10
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= 986a21ace186433e0397a59491646edad8c8d636, < fcb0a417fddb605530c4837e0996620f8ed38023; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < c4bf8f26c51e51bbb840935659a7b3b65a802c07; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < e5a73150776f18547ee685c9f6bfafe549714899; >= 6.15.3, < 6.15.10; Linux 6.16
- Fixed in
- Linux 6.15.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
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().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 986a21ace186433e0397a59491646edad8c8d636, < fcb0a417fddb605530c4837e0996620f8ed38023; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < c4bf8f26c51e51bbb840935659a7b3b65a802c07; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < e5a73150776f18547ee685c9f6bfafe549714899; >= 6.15.3, < 6.15.10 | — | cvelist |
| Linux | 6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38567. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38567.md Affected: Linux >= 986a21ace186433e0397a59491646edad8c8d636, < fcb0a417fddb605530c4837e0996620f8ed38023; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < c4bf8f26c51e51bbb840935659a7b3b65a802c07; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < e5a73150776f18547ee685c9f6bfafe549714899; >= 6.15.3, < 6.15.10; Linu… Fixed in: Linux 6.15.10 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-38567 being exploited?
There is no confirmed exploitation: CVE-2025-38567 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38567?
Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-38567?
Linux >= 986a21ace186433e0397a59491646edad8c8d636, < fcb0a417fddb605530c4837e0996620f8ed38023; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < c4bf8f26c51e51bbb840935659a7b3b65a802c07; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < e5a73150776f18547ee685c9f6bfafe549714899; >= 6.15.3, < 6.15.10; Linux 6.16.
Is there a fix for CVE-2025-38567?
Yes. Fixed in Linux 6.15.10. Upgrade Linux to 6.15.10 or later.
How do I check if I'm affected by CVE-2025-38567?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.