Junglewise Threat Intelligence

CVE-2026-45964: Linux kernel memory leak in SUNRPC gss_auth component

CVE-2026-45964 · Severity: info · CVSS 0 · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A memory management issue was identified in the Linux kernel's SUNRPC component, which handles remote procedure calls. A specific error handling path failed to release a reference to an internal structure, leading to a memory leak. Over time, this could potentially degrade system performance or lead to resource exhaustion, though it typically requires specific local conditions to trigger.

Technical details

A reference counting vulnerability exists in net/sunrpc/auth_gss/auth_gss.c within the gss_alloc_msg function. The function calls kref_get(&gss_auth->kref) to balance a subsequent put, but fails to call kref_put() if kstrdup_const() fails for the service_name. This results in the gss_auth structure never being freed, causing a kernel memory leak. The fix introduces a forward declaration for gss_free_callback() and ensures kref_put() is called in the err_put_pipe_version error path. This is primarily a local denial-of-service vector via resource exhaustion.

Affected products

  • Linux Linux kernel All versions prior to the fix in SUNRPC auth_gss.c

Timeline

  • 2026-02-06: other: Patch authored by Daniel Hodges
  • 2026-05-27: disclosed: CVE published by kernel.org

References

Related threats