Skip to content
Heist/ feed
Back to feed
MediumFix available

nfs/localio: restore creds before releasing pageio data

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: nfs/localio: restore creds before releasing pageio data Otherwise if the nfsd filecache code releases the nfsd_file immediately, it can trigger the BUG_ON(cred == current->cred) in __put_cred() when it puts the nfsd_file->nf_file->f-cred.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.48, 6.16.8
CVEs
CVE-2025-39912
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:16 UTC · Revision 1

Source evidence

nfs/localio: restore creds before releasing pageio data

core-osv · Original source

Published 1 Oct 2025, 07:44 UTC

In the Linux kernel, the following vulnerability has been resolved: nfs/localio: restore creds before releasing pageio data Otherwise if the nfsd filecache code releases the nfsd_file immediately, it can trigger the BUG_ON(cred == current->cred) in __put_cred() when it puts the nfsd_file->nf_file->f-cred.

osv:CVE-2025-39912

Kernel

Fixed versions: 6.12.48, 6.16.8

Complete source record
{
  "id": "f052df8af8e7d0c15fe5b948ec4b882521a332da3dbbb744d7704e61cc741cb5",
  "url": "https://osv.dev/vulnerability/CVE-2025-39912",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nfs/localio: restore creds before releasing pageio data",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: nfs/localio: restore creds before releasing pageio data Otherwise if the nfsd filecache code releases the nfsd_file immediately, it can trigger the BUG_ON(cred == current->cred) in __put_cred() when it puts the nfsd_file->nf_file->f-cred.",
    "evidence": "osv:CVE-2025-39912",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.48",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.16.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-39912",
      "aliases": [
        "CVE-2025-39912"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b9f5dd57f4a52990963eeb1f1b58d00f717ece69"
                },
                {
                  "fixed": "57c1bb02b4fc8eec6eb01736e7fad26dffacf18c"
                },
                {
                  "fixed": "c250be1d75bf80dc5ab46f0b434b746c1868a1ea"
                },
                {
                  "fixed": "992203a1fba51b025c60ec0c8b0d9223343dea95"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39912.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.12.0"
                },
                {
                  "fixed": "6.12.48"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.16.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39912.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.145666245Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/57c1bb02b4fc8eec6eb01736e7fad26dffacf18c",
        "https://git.kernel.org/stable/c/992203a1fba51b025c60ec0c8b0d9223343dea95",
        "https://git.kernel.org/stable/c/c250be1d75bf80dc5ab46f0b434b746c1868a1ea",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39912.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-39912",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39912.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-39912",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497244,
  "published_at": "2025-10-01T07:44:35.513+00:00"
}