{
  "id": "CVE-2025-38393",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38393",
  "published_at": "2025-07-25T12:53:38.104Z",
  "title": "NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.19:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.19:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.19:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.19:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.19:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.19:rc8:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 4.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 8acc3e228e1c90bd410f73597a4549e0409f22d6, \u003c 08287df60bac5b008b6bcdb03053988335d3d282",
          "\u003e= ec23a86e060cbe30b62eb2955adc97c92d80cc4c, \u003c 8846fd02c98da8b79e6343a20e6071be6f372180",
          "\u003e= 880265c77ac415090090d1fe72a188fee71cb458, \u003c e4b13885e7ef1e64e45268feef1e5f0707c47e72",
          "\u003e= 880265c77ac415090090d1fe72a188fee71cb458, \u003c 8ca65fa71024a1767a59ffbc6a6e2278af84735e",
          "\u003e= 880265c77ac415090090d1fe72a188fee71cb458, \u003c 864a54c1243ed3ca60baa4bc492dede1361f4c83",
          "\u003e= 880265c77ac415090090d1fe72a188fee71cb458, \u003c 1f4da20080718f258e189a2c5f515385fa393da6",
          "\u003e= 880265c77ac415090090d1fe72a188fee71cb458, \u003c c01776287414ca43412d1319d2877cbad65444ac",
          "f133819e24e78f3aaaa00e9fa2b816d5f73fd172",
          "\u003e= 5.10.124, \u003c 5.10.240",
          "\u003e= 5.15.49, \u003c 5.15.187",
          "\u003e= 5.18.6, \u003c 5.19"
        ],
        "fixed_in": [
          "08287df60bac5b008b6bcdb03053988335d3d282",
          "8846fd02c98da8b79e6343a20e6071be6f372180",
          "e4b13885e7ef1e64e45268feef1e5f0707c47e72",
          "8ca65fa71024a1767a59ffbc6a6e2278af84735e",
          "864a54c1243ed3ca60baa4bc492dede1361f4c83",
          "1f4da20080718f258e189a2c5f515385fa393da6",
          "c01776287414ca43412d1319d2877cbad65444ac",
          "5.10.240",
          "5.15.187",
          "5.19"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.19"
        ],
        "fixed_in": [
          "0",
          "5.10.240",
          "5.15.187",
          "6.1.144",
          "6.6.97",
          "6.12.37",
          "6.15.6",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 08287df60bac5b008b6bcdb03053988335d3d282 or 8846fd02c98da8b79e6343a20e6071be6f372180 or e4b13885e7ef1e64e45268feef1e5f0707c47e72 or 8ca65fa71024a1767a59ffbc6a6e2278af84735e or 864a54c1243ed3ca60baa4bc492dede1361f4c83 or 1f4da20080718f258e189a2c5f515385fa393da6 or c01776287414ca43412d1319d2877cbad65444ac or 5.10.240 or 5.15.187 or 5.19 or later.",
      "Upgrade Linux to 0 or 5.10.240 or 5.15.187 or 6.1.144 or 6.6.97 or 6.12.37 or 6.15.6 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
