VDB

CVE-2026-45964

CVE-2026-45964 PUBLISHED

SUNRPC: fix gss_auth kref leak in gss_alloc_msg error path

Reported by linux · Published May 27, 2026

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: fix gss_auth kref leak in gss_alloc_msg error path Commit 5940d1cf9f42 ("SUNRPC: Rebalance a kref in auth_gss.c") added a kref_get(&gss_auth->kref) call to balance the gss_put_auth() done in gss_release_msg(), but forgot to add a corresponding kref_put() on the error path when kstrdup_const() fails. If service_name is non-NULL and kstrdup_const() fails, the function jumps to err_put_pipe_version which calls put_pipe_version() and kfree(gss_msg), but never releases the gss_auth reference. This leads to a kref leak where the gss_auth structure is never freed. Add a forward declaration for gss_free_callback() and call kref_put() in the err_put_pipe_version error path to properly release the reference taken earlier.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perfAmazon Linux1:6.1.166-197.305.amzn2023
kernel6.18Amazon Linux1:6.18.15-14.217.amzn2023
bpftool6.18Amazon Linux1:6.18.15-14.217.amzn2023
kernel-headersAmazon Linux1:6.1.166-197.305.amzn2023
kernel-toolsAmazon Linux1:6.1.166-197.305.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.15-14.217.amzn2023
kernel6.12Amazon Linux1:6.12.77-99.140.amzn2023
perf6.18Amazon Linux1:6.18.15-14.217.amzn2023
bpftoolAmazon Linux1:6.1.166-197.305.amzn2023
kernel6.12-develAmazon Linux1:6.12.77-99.140.amzn2023
kernelAmazon Linux1:6.1.166-197.305.amzn2023
kernel6.18-libbpf-staticAmazon Linux1:6.18.15-14.217.amzn2023

2 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e
LinuxLinux5.2, 0, 5.10.252
amazon:2023python3-perf0
amazon:2023kernel6.180
amazon:2023bpftool6.180
amazon:2023kernel-headers0
amazon:2023kernel-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.120
amazon:2023perf6.180
amazon:2023bpftool0
amazon:2023kernel6.12-devel0
amazon:2023kernel0
amazon:2023kernel6.18-libbpf-static0
amazon:2023kernel6.12-tools0
LinuxLinux5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-headers0
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.12.77-99.1400

…and 26 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (15 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 10, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45964
vulnetix vdb fixes CVE-2026-45964

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45964/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›