CVE-2025-38567

MEDIUM

Linux Kernel - Race Condition in nfsd_open_local_fh

Title source: llm
STIX 2.1

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

Scores

CVSS v3 4.7
EPSS 0.0010
EPSS Percentile 1.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-362
Status published
Products (14)
linux/Kernel < 6.15.10linux
linux/Kernel 6.16.0 - 6.16.1linux
Linux/Linux < 6.16
Linux/Linux 6.15.10 - 6.15.*
Linux/Linux 6.15.3 - 6.15.10
Linux/Linux 6.16
Linux/Linux 6.16.1 - 6.16.*
Linux/Linux 6.17
Linux/Linux 986a21ace186433e0397a59491646edad8c8d636 - fcb0a417fddb605530c4837e0996620f8ed38023
Linux/Linux e6f7e1487ab528a6c653bd0d42812ff2942846cd - c4bf8f26c51e51bbb840935659a7b3b65a802c07
... and 4 more
Published Aug 19, 2025
Tracked Since Feb 18, 2026