CVE-2026-43394
Received Received - Intake
Credential Reference Leak in Linux Kernel NFS Daemon

Publication date: 2026-05-08

Last updated on: 2026-05-08

Assigner: kernel.org

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().
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-08
Last Modified
2026-05-08
Generated
2026-05-09
AI Q&A
2026-05-08
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a credential reference leak in the Linux kernel's NFS daemon (nfsd) specifically in the function nfsd_nl_listener_set_doit(). The function uses get_current_cred() to obtain credentials but does not properly release them with put_cred(), causing a reference count leak.

The issue arises because nfsd_nl_listener_set_doit() uses get_current_cred() without a corresponding put_cred(), unlike other callers such as svc_xprt_create_from_sa() which do not require the extra reference count. The fix involves using current_cred() instead, which does not increase the reference count and avoids the leak.


How can this vulnerability impact me? :

The vulnerability causes a credential reference leak in the kernel, which can lead to resource leakage over time. This may result in increased memory usage or exhaustion of credential references, potentially degrading system performance or stability.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart