CVE-2025-39912 nfs/localio: restore creds before releasing pageio data

Medium 5.5 Published Updated

A missing credential restoration in Linux kernel NFS local I/O can trigger a kernel bug, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-39912?

CVE-2025-39912 is a medium-severity vulnerability in Linux kernel, published on 1 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2025-39912?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-39912?

Apply the vendor's patch.

Is CVE-2025-39912 being exploited?

There is no known exploitation of CVE-2025-39912 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-39912, DEBIAN-CVE-2025-39912, GHSA-9qxq-33m2-8r47, UBUNTU-CVE-2025-39912.

Is CVE-2025-39912 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free