CVE-2025-38028 NFS/localio: Fix a race in nfs_local_open_fh()
A race condition in the Linux kernel's NFS local I/O path can lead to a use-after-free, potentially causing a system crash or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38028?
CVE-2025-38028 is a high-severity vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
NFS/localio: Fix a race in nfs_local_open_fh()
Once the clp->cl_uuid.lock has been dropped, another CPU could come in and free the struct nfsd_file that was just added. To prevent that from happening, take the RCU read lock before dropping the spin lock.
Weakness: CWE-362
Which versions are affected by CVE-2025-38028?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38028?
Apply the vendor's patch.
Is CVE-2025-38028 being exploited?
There is no known exploitation of CVE-2025-38028 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38028, GHSA-g332-j9h9-prvg, UBUNTU-CVE-2025-38028.