{"id":"CVE-2025-38393","aliases":["CVE-2025-38393"],"related":[],"kind":"vulnerability","state":"published","title":"NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: NFSv4/pNFS: Corrección de una ejecución para reactivar NFS_LAYOUT_DRAIN. Se encontraron varios sistemas bloqueados en espera de escritura diferida en el mismo bloqueo de página, y una tarea esperando el bit NFS_LAYOUT_DRAIN en pnfs_update_layout(). Sin embargo, el recuento plh_outstanding de pnfs_layout_hdr era cero. Lo más probable es que se trate de otra ejecución entre el que espera y el que reactiva, similar al commit ed0172af5d6f (\"SUNRPC: Corrección de una ejecución para reactivar una tarea de sincronización\"). Se soluciona aplicando la barrera recomendada.","source":"nvd"}],"published":"2025-07-25T12:53:38.104Z","modified":"2026-10-15T01:07:11.236Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"8acc3e228e1c90bd410f73597a4549e0409f22d6","fixed":"08287df60bac5b008b6bcdb03053988335d3d282","status":"affected"},{"type":"git","introduced":"ec23a86e060cbe30b62eb2955adc97c92d80cc4c","fixed":"8846fd02c98da8b79e6343a20e6071be6f372180","status":"affected"},{"type":"git","introduced":"880265c77ac415090090d1fe72a188fee71cb458","fixed":"e4b13885e7ef1e64e45268feef1e5f0707c47e72","status":"affected"},{"type":"git","introduced":"880265c77ac415090090d1fe72a188fee71cb458","fixed":"8ca65fa71024a1767a59ffbc6a6e2278af84735e","status":"affected"},{"type":"git","introduced":"880265c77ac415090090d1fe72a188fee71cb458","fixed":"864a54c1243ed3ca60baa4bc492dede1361f4c83","status":"affected"},{"type":"git","introduced":"880265c77ac415090090d1fe72a188fee71cb458","fixed":"1f4da20080718f258e189a2c5f515385fa393da6","status":"affected"},{"type":"git","introduced":"880265c77ac415090090d1fe72a188fee71cb458","fixed":"c01776287414ca43412d1319d2877cbad65444ac","status":"affected"},{"type":"git","version":"f133819e24e78f3aaaa00e9fa2b816d5f73fd172","status":"affected"},{"type":"semver","introduced":"5.10.124","fixed":"5.10.240","status":"affected"},{"type":"semver","introduced":"5.15.49","fixed":"5.15.187","status":"affected"},{"type":"semver","introduced":"5.18.6","fixed":"5.19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"5.10.240","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.187","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.144","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.97","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.37","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.6","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10.124","fixed":"5.10.240"},{"status":"affected","introduced":"5.15.49","fixed":"5.15.187"},{"status":"affected","introduced":"5.18.6","fixed":"5.19"},{"status":"affected","introduced":"5.19.1","fixed":"6.1.144"},{"status":"affected","introduced":"6.2","fixed":"6.6.97"},{"status":"affected","introduced":"6.7","fixed":"6.12.37"},{"status":"affected","introduced":"6.13","fixed":"6.15.6"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/08287df60bac5b008b6bcdb03053988335d3d282","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8846fd02c98da8b79e6343a20e6071be6f372180","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4b13885e7ef1e64e45268feef1e5f0707c47e72","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ca65fa71024a1767a59ffbc6a6e2278af84735e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/864a54c1243ed3ca60baa4bc492dede1361f4c83","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f4da20080718f258e189a2c5f515385fa393da6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c01776287414ca43412d1319d2877cbad65444ac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38393","url":"https://www.cve.org/CVERecord?id=CVE-2025-38393","licence":"CVE Terms of Use","modified":"2026-10-15T01:07:11.236Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38393","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38393","licence":"Public domain","modified":"2026-07-30T06:23:11.647Z"}],"updatedAt":"2026-11-25T22:59:01.686Z","epss":{"score":0.00415,"percentile":0.37806,"date":"2026-12-01T12:00:22.000Z"}}