CVE-2025-38567
Last modified
CVE-2025-38567 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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 estimates a 0.10% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.15.3, < 6.15.10 | — |
| Linux | Linux Kernel | 6.16 | — |
| Linux | Linux Kernel | 6.17 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-38567?
How severe is CVE-2025-38567?
How do I fix CVE-2025-38567?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38561In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38562In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38563In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38564In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38565In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38566In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2025-38568In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38569In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3857When reading binary Ion data through Amazon.IonDotnet using …8.7
- CVE-2025-38570In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38571In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38572In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-38567?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
