CVE-2025-39912
nfs/localio: restore creds before releasing pageio data
Reported by linux · Published October 1, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| kernel-livepatch-6.12.48-67.114 | Amazon Linux | 1:1.0-0.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.48-67.114.amzn2023 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b9f5dd57f4a52990963eeb1f1b58d00f717ece69, b9f5dd57f4a52990963eeb1f1b58d00f717ece69, b9f5dd57f4a52990963eeb1f1b58d00f717ece69 |
| Linux | Linux | 6.12, 0, 6.12.48 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.12.48-67.114 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| linux | linux_kernel | 6.12, 6.12, 6.12 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| Linux | Linux | *, 6.12, 0 |
Timeline
- Sep 30, 2025 CVE Published
- Oct 1, 2025 EPSS Score (30 in total, the first dated here)
- Oct 4, 2025 Coalition ESS Score (4 in total, the first dated here)
- Oct 12, 2025 PoC Published (2 in total, the first dated here)
- Dec 5, 2025 CVE Updated
- Dec 15, 2025 Security Advisory (70 in total, the first dated here)
- Oct 10, 2026 Distribution Patch (63 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-39912
vulnetix vdb fixes CVE-2025-39912
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39912/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart