CVE-2025-38028: NFS/localio: Fix a race in nfs_local_open_fh()

Published Jun 18, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

NFS/localio: Fix a race in nfslocalopenfh()

Once the clp->cluuid.lock has been dropped, another CPU could come in and free the struct nfsdfile that was just added. To prevent that from happening, take the RCU read lock before dropping the spin lock.

Affected Software

8 affected components
Linux Linux kernel
Linux Linux kernel>=6.14<6.14.8
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5
Linux Linux kernel=6.15-rc6

Event History

Jun 18, 2025
CVE Published
via MITRE·09:28 AM
Data Sourced
via MITRE·09:28 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

The vulnerability has a local attack vector and requires low privileges. No user interaction is required.

2

Which component is involved in the race condition?

The race occurs in the Linux kernel NFS local I/O path, specifically in nfs_local_open_fh(). It involves an nfsd_file being freed after clp->cl_uuid.lock is dropped.

3

What is the impact if exploitation succeeds?

The supplied severity vector indicates high impact to confidentiality, integrity, and availability. The race can lead to use of an nfsd_file after another CPU frees it.

4

What code-level mitigation was applied?

The fix takes an RCU read lock before dropping the clp->cl_uuid spin lock, preventing the referenced nfsd_file from being freed during the affected window.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203