CVE-2026-43394

nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit().

State
Published
Severity
Not scored
Published
May 8, 2026
Updated
May 11, 2026
Reserved
May 1, 2026

Read the record on cve.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().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 16a471177496c8e04a9793812c187a2c1a2192fa to before 02e87ec0bc706cb93fa47b43d18c4d10102c7d54Affected
  • 16a471177496c8e04a9793812c187a2c1a2192fa to before 019debe5851d7355bea9ff0248cc317878924d8fAffected
  • 16a471177496c8e04a9793812c187a2c1a2192fa to before cba413765376bb466035c9160fa3130402971e2cAffected
  • 16a471177496c8e04a9793812c187a2c1a2192fa to before 92978c83bb4eef55d02a6c990c01c423131eefa7Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.18.19 through 6.18.*Not affected
  • 6.19.9 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.