NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN

Summary

CVECVE-2025-38393
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-07-25 13:15:28 UTC
Updated2026-05-12 13:16:48 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN We found a few different systems hung up in writeback waiting on the same page lock, and one task waiting on the NFS_LAYOUT_DRAIN bit in pnfs_update_layout(), however the pnfs_layout_hdr's plh_outstanding count was zero. It seems most likely that this is another race between the waiter and waker similar to commit ed0172af5d6f ("SUNRPC: Fix a race to wake a sync task"). Fix it up by applying the advised barrier.

Risk And Classification

Primary CVSS: v3.1 4.7 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-362

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 8acc3e228e1c90bd410f73597a4549e0409f22d6 08287df60bac5b008b6bcdb03053988335d3d282 git Not specified
CNA Linux Linux affected ec23a86e060cbe30b62eb2955adc97c92d80cc4c 8846fd02c98da8b79e6343a20e6071be6f372180 git Not specified
CNA Linux Linux affected 880265c77ac415090090d1fe72a188fee71cb458 e4b13885e7ef1e64e45268feef1e5f0707c47e72 git Not specified
CNA Linux Linux affected 880265c77ac415090090d1fe72a188fee71cb458 8ca65fa71024a1767a59ffbc6a6e2278af84735e git Not specified
CNA Linux Linux affected 880265c77ac415090090d1fe72a188fee71cb458 864a54c1243ed3ca60baa4bc492dede1361f4c83 git Not specified
CNA Linux Linux affected 880265c77ac415090090d1fe72a188fee71cb458 1f4da20080718f258e189a2c5f515385fa393da6 git Not specified
CNA Linux Linux affected 880265c77ac415090090d1fe72a188fee71cb458 c01776287414ca43412d1319d2877cbad65444ac git Not specified
CNA Linux Linux affected f133819e24e78f3aaaa00e9fa2b816d5f73fd172 git Not specified
CNA Linux Linux affected 5.19 Not specified
CNA Linux Linux unaffected 5.19 semver Not specified
CNA Linux Linux unaffected 5.10.240 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.187 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.144 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.97 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.37 6.12.* semver Not specified
CNA Linux Linux unaffected 6.15.6 6.15.* semver Not specified
CNA Linux Linux unaffected 6.16 * original_commit_for_fix Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.5 * custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.5 * custom Not specified

References

ReferenceSourceLinkTags
lists.debian.org/debian-lts-announce/2025/10/msg00008.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
cert-portal.siemens.com/productcert/html/ssa-082556.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/08287df60bac5b008b6bcdb03053988335d3d282 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/8846fd02c98da8b79e6343a20e6071be6f372180 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/8ca65fa71024a1767a59ffbc6a6e2278af84735e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/864a54c1243ed3ca60baa4bc492dede1361f4c83 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/1f4da20080718f258e189a2c5f515385fa393da6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/e4b13885e7ef1e64e45268feef1e5f0707c47e72 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/c01776287414ca43412d1319d2877cbad65444ac 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2025/10/msg00007.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report