CVE-2025-39912
NoneCVSS
—
EPSS
0.1%
Published
Oct 1, 2025
CISA due date
—
Cloudanix analysis
A flaw in Linux could let someone using network file shares access or change information they were not supposed to reach.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- OS kernel
- Class
- Authorization Bypass
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability allows NFS local I/O operations to proceed with incorrect or un-restored process credentials when releasing pageio data structures, bypassing intended authorization checks on file access and data handling within the kernel.
Why it matters to the business
Organizations running affected Linux kernels with NFS workloads face potential unauthorized data exposure or modification in networked file systems, increasing compliance and data breach risks until systems are updated; the issue affects a widely used open-source component with broad downstream impact.
How an attack unfolds
An attacker with local or network-adjacent access to an NFS client or server triggers page I/O operations that fail to restore credentials, allowing subsequent operations to execute under elevated or incorrect privileges and access restricted data or resources.
How to fix it
Update the Linux kernel to a version containing commit 57c1bb02b4fc8eec6eb01736e7fad26dffacf18c or later; rebuild and deploy the patched kernel across all affected systems, prioritizing NFS servers and clients.
How to confirm the fix worked
Verify the running kernel includes commit 57c1bb02b4fc8eec6eb01736e7fad26dffacf18c via git log or kernel version strings; test NFS workloads to confirm credential restoration occurs before pageio release.
Typical attack path
- Identify NFS-mounted filesystems on vulnerable kernel versions
- Craft or trigger local I/O workloads involving page cache or direct I/O
- Exploit the missing credential restore to perform operations with unintended privileges
- Access, read, or modify files beyond authorized permissions
How to detect it
Review kernel audit logs and NFS-related system call traces for unexpected credential changes or page I/O operations without proper restoration; correlate with process execution around NFS mounts.
What your security team should do
- Apply the kernel patch containing the referenced commit immediately on all production systems using NFS
- Monitor kernel update channels for stable releases incorporating the fix
- Audit NFS configurations to reduce exposure of sensitive mounts until patched
- Review logging for anomalous NFS I/O patterns as a temporary compensating control
The record
nfs/localio: restore creds before releasing pageio data
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 6.12.0 | 6.12.48 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel