PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-45964 Linux CVE debrief

A reference counting bug in the Linux kernel's SUNRPC GSS authentication subsystem can cause a kernel memory leak. When gss_alloc_msg() fails to duplicate a service name string, the error path omits releasing a reference taken on the gss_auth structure, preventing its eventual deallocation. This flaw was introduced when balancing reference counts in commit 5940d1cf9f42. The fix adds the missing kref_put() call in the error path.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-06-16
Advisory published
2026-05-27
Advisory updated
2026-06-16

Who should care

System administrators running Linux NFS clients or servers with Kerberos/GSSAPI authentication enabled; kernel maintainers and distribution packagers; security teams monitoring for kernel memory exhaustion conditions

Technical summary

The vulnerability exists in the SUNRPC GSS authentication implementation within the Linux kernel. The function gss_alloc_msg() takes a reference on the gss_auth structure via kref_get() to balance a later gss_put_auth() in gss_release_msg(). However, if kstrdup_const() fails to duplicate the service_name string, the error path err_put_pipe_version calls put_pipe_version() and kfree(gss_msg) but never releases the gss_auth reference. This results in a kref leak where the gss_auth structure accumulates unreleased references and is never freed, causing kernel memory exhaustion over time. The fix adds a forward declaration for gss_free_callback() and inserts kref_put() in the error path to properly release the reference.

Defensive priority

medium

Recommended defensive actions

  • Apply kernel updates containing the referenced stable commits when available from your Linux distribution
  • Monitor kernel memory usage on systems using NFS with Kerberos/GSSAPI authentication for unexpected growth
  • Review system logs for memory pressure indicators on long-running NFS client or server systems
  • Prioritize patching on systems where NFS services with GSSAPI authentication cannot be easily restarted

Evidence notes

The vulnerability description identifies the specific function gss_alloc_msg() in the Linux kernel's SUNRPC GSS authentication code. The flaw involves a missing kref_put() call in the err_put_pipe_version error path when kstrdup_const() fails. Multiple stable kernel commits are referenced, indicating fixes were backported across kernel versions.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-45964 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-45964

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-45964 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45964

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3b2b6c42070ce4204936288253baf101e995c2d3

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/655c9ba9915f05266998dbbf4b76b3c79b8a70aa

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a1bc9561b617ec7e2d09e6c134d1db8fcf9ca4a6

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a2d4e9a76de0b2178001214ba5de5bf94a7354aa

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/b559be2ec6cdb2e9c2c36c23fbbd4690d8a5c3f7

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c20f925214249bb4fc04f7e197bea142a6438af6

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/dd2fdc3504592d85e549c523b054898a036a6afe

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.