CVE-2025-38567

MEDIUM EPSS 1.2%
Published Aug 19, 202510mo ago · Modified Jun 17, 20261w ago
4.7 CVSS 3.1
Medium
Find Similar
Published Aug 19, 2025 10mo ago
Last Modified Jun 17, 2026 1w ago

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

CVSS Details

Base Score
4.7
Exploitability
1.0
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
1.2% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-362

Affected Products 3

VendorProductVersionRange
linuxlinux_kernel*≥6.15.3  –  <6.15.10
linuxlinux_kernel6.16any
linuxlinux_kernel6.17any

References 3

  • git.kernel.org https://git.kernel.org/stable/c/c4bf8f26c51e51bbb840935659a7b3b65a802c07
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e5a73150776f18547ee685c9f6bfafe549714899
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/fcb0a417fddb605530c4837e0996620f8ed38023
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/c4bf8f26c51e51bbb840935659a7b3b65a802c07
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e5a73150776f18547ee685c9f6bfafe549714899
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/fcb0a417fddb605530c4837e0996620f8ed38023
    Patch