{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b9f5dd57f4a52990963eeb1f1b58d00f717ece69"
            },
            {
              "fixed": "57c1bb02b4fc8eec6eb01736e7fad26dffacf18c"
            },
            {
              "fixed": "c250be1d75bf80dc5ab46f0b434b746c1868a1ea"
            },
            {
              "fixed": "992203a1fba51b025c60ec0c8b0d9223343dea95"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39912.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfs/localio: restore creds before releasing pageio data\n\nOtherwise if the nfsd filecache code releases the nfsd_file\nimmediately, it can trigger the BUG_ON(cred == current-\u003ecred) in\n__put_cred() when it puts the nfsd_file-\u003enf_file-\u003ef-cred.",
  "id": "CVE-2025-39912",
  "modified": "2026-04-01T23:10:14.951593630Z",
  "published": "2025-10-01T07:44:35.513Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/57c1bb02b4fc8eec6eb01736e7fad26dffacf18c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/992203a1fba51b025c60ec0c8b0d9223343dea95"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c250be1d75bf80dc5ab46f0b434b746c1868a1ea"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39912.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-39912"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nfs/localio: restore creds before releasing pageio data"
}