{"id":"CVE-2025-38393","summary":"NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN\n\nWe found a few different systems hung up in writeback waiting on the same\npage lock, and one task waiting on the NFS_LAYOUT_DRAIN bit in\npnfs_update_layout(), however the pnfs_layout_hdr's plh_outstanding count\nwas zero.\n\nIt seems most likely that this is another race between the waiter and waker\nsimilar to commit ed0172af5d6f (\"SUNRPC: Fix a race to wake a sync task\").\nFix it up by applying the advised barrier.","modified":"2026-04-16T04:38:52.441538160Z","published":"2025-07-25T12:53:38.104Z","related":["SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38393.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08287df60bac5b008b6bcdb03053988335d3d282"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1f4da20080718f258e189a2c5f515385fa393da6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/864a54c1243ed3ca60baa4bc492dede1361f4c83"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8846fd02c98da8b79e6343a20e6071be6f372180"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ca65fa71024a1767a59ffbc6a6e2278af84735e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c01776287414ca43412d1319d2877cbad65444ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4b13885e7ef1e64e45268feef1e5f0707c47e72"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38393.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38393"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8acc3e228e1c90bd410f73597a4549e0409f22d6"},{"fixed":"08287df60bac5b008b6bcdb03053988335d3d282"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ec23a86e060cbe30b62eb2955adc97c92d80cc4c"},{"fixed":"8846fd02c98da8b79e6343a20e6071be6f372180"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"880265c77ac415090090d1fe72a188fee71cb458"},{"fixed":"e4b13885e7ef1e64e45268feef1e5f0707c47e72"},{"fixed":"8ca65fa71024a1767a59ffbc6a6e2278af84735e"},{"fixed":"864a54c1243ed3ca60baa4bc492dede1361f4c83"},{"fixed":"1f4da20080718f258e189a2c5f515385fa393da6"},{"fixed":"c01776287414ca43412d1319d2877cbad65444ac"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"f133819e24e78f3aaaa00e9fa2b816d5f73fd172"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38393.json"}}],"schema_version":"1.7.5"}