CVE-2026-45964
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.15-14.217.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.15-14.217.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.15-14.217.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.15-14.217.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel | Amazon Linux | 1:6.1.166-197.305.amzn2023 |
| kernel6.18-libbpf-static | Amazon Linux | 1:6.18.15-14.217.amzn2023 |
2 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e |
| Linux | Linux | 5.2, 0, 5.10.252 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.18-libbpf-static | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| Linux | Linux | 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.77-99.140 | 0 |
…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