Unchecked procfs registration failure in Linux kernel nfsd
CVE-2025-22026 is an unchecked return-value vulnerability in the Linux kernel NFS server subsystem. The nfsd_proc_stat_init() function ignores the result of svc_proc_register(), allowing nfsd network-namespace initialization to continue when creation of its procfs statistics entry fails. Registration can fail because a dentry cannot be allocated or an identical dentry already exists, although the latter is unlikely during nfsd_net construction. Subsequent cleanup attempts to remove the uncreated entry, triggering a kernel WARN. The fix propagates the registration result and aborts nfsd_net construction on failure.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Failed procfs registration can leave nfsd initialization in an inconsistent state and trigger a kernel warning during subsequent cleanup. The vulnerability is assessed as an availability issue with a CVSS v3 base score of 5.5 and high availability impact. The documented technical behavior establishes a kernel warning; it does not establish an unconditional system crash. No confidentiality or integrity impact is identified.
If you can’t patch tonight, do this now.
Where operationally feasible, avoid loading or using the NFS server subsystem until the kernel is updated. Maintaining adequate available memory may reduce allocation-related registration failures, but is not a complete workaround or substitute for patching. No definitive workaround is identified.
Patch, then assume compromise.
Install the applicable vendor kernel update containing the nfsd registration-error-handling fix and reboot into the updated kernel. The fix changes nfsd_proc_stat_init() to return the pointer type returned by svc_proc_register(), makes nfsd_net_init() validate that result, and aborts nfsd_net construction with -ENOMEM when registration fails. Example fixed RHEL kernel releases include 4.18.0-553.77.1.el8_10 for RHEL 8.10, 5.14.0-284.131.1.el9_2 for applicable RHEL 9.2 channels, and 5.14.0-427.83.1.el9_4 for applicable RHEL 9.4 channels. Use the update appropriate to the installed product and support stream.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.