CVE-2026-43394

nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit().

Published May 8, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit().

nfsd_nl_listener_set_doit() uses get_current_cred() without
put_cred().

As we can see from other callers, svc_xprt_create_from_sa()
does not require the extra refcount.

nfsd_nl_listener_set_doit() is always in the process context,
sendmsg(), and current->cred does not go away.

Let's use current_cred() in nfsd_nl_listener_set_doit().

Analysis

AI-generated

Technical impact

A refcount leak was discovered in the Linux NFS daemon, where the function nfsd_nl_listener_set_doit() obtained a credential reference using get_current_cred() but failed to release it with put_cred(). This oversight causes the kernel to retain unnecessary credential objects, which can grow unbounded in long‑running or high‑traffic NFS operations. While the leak alone does not directly grant elevated privileges, an attacker could potentially amplify the dysfunction by repeatedly invoking the vulnerable path, leading to kernel memory exhaustion and a denial of service.

Affected Systems

All Linux kernel implementations prior to the inclusion of the fix (commit 019debe5851d7355bea9ff0248cc317878924d8f) are affected. The vulnerability is present across all architectures that compile the NFS server module and is not limited to a particular distribution.

Risk and Exploitability

The exploit requires access to the kernel’s NFS subsystem, implying local or privileged execution capability. The EPSS score is 0.00023 (approximately 0.023%), and the vulnerability is not listed in the CISA KEV catalog, so the likelihood of exploitation remains very low. Nonetheless, the CVSS score is 5.5, indicating a moderate impact. From the description, the likely attack vector is local exploitation calling the NFS or sendmsg path. An attacker with local privileges could repeatedly trigger the leak, increasing the risk of resource exhaustion or stability degradation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that incorporates the commit that fixes the credential refcount leak (019debe5851d7355bea9ff0248cc317878924d8f).
  • Restart the NFS service or reboot the system to ensure the patched kernel is active.
  • If an immediate kernel upgrade is not possible, consider disabling or throttling NFS-related traffic to reduce the opportunity for the leak to accumulate.

Generated by OpenCVE AI on May 26, 2026 at 17:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-775
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-775
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit(). nfsd_nl_listener_set_doit() uses get_current_cred() without put_cred(). As we can see from other callers, svc_xprt_create_from_sa() does not require the extra refcount. nfsd_nl_listener_set_doit() is always in the process context, sendmsg(), and current->cred does not go away. Let's use current_cred() in nfsd_nl_listener_set_doit().
Title nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit().
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 3:42 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 8, 2026, 3:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Moderate
Public date
May 8, 2026, 12:00 AM