CVE-2026-45964
SUNRPC: fix gss_auth kref leak in gss_alloc_msg error path
Check your servers for CVE-2026-45964
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45964 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.98% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, before 3b2b6c42070ce4204936288253baf101e995c2d3 affected from 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, before b559be2ec6cdb2e9c2c36c23fbbd4690d8a5c3f7 affected from 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, before a1bc9561b617ec7e2d09e6c134d1db8fcf9ca4a6 affected from 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, before 655c9ba9915f05266998dbbf4b76b3c79b8a70aa affected from 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, before e464e26b2457005c87e158570498274b9f3b90c7 affected from 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, before c20f925214249bb4fc04f7e197bea142a6438af6 affected from 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, before a2d4e9a76de0b2178001214ba5de5bf94a7354aa affected from 5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e, before dd2fdc3504592d85e549c523b054898a036a6afe
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 5.10.252 up to and including 5.10.* unaffected from 5.15.202 up to and including 5.15.* unaffected from 6.1.165 up to and including 6.1.* unaffected from 6.6.128 up to and including 6.6.* unaffected from 6.12.75 up to and including 6.12.* unaffected from 6.18.14 up to and including 6.18.* unaffected from 6.19.4 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45964 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45964
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-45964
trivy image --scanners vuln IMAGE | grep CVE-2026-45964
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3b2b6c42070ce4204936288253baf101e995c2d3 git.kernel.org
- https://git.kernel.org/stable/c/b559be2ec6cdb2e9c2c36c23fbbd4690d8a5c3f7 git.kernel.org
- https://git.kernel.org/stable/c/a1bc9561b617ec7e2d09e6c134d1db8fcf9ca4a6 git.kernel.org
- https://git.kernel.org/stable/c/655c9ba9915f05266998dbbf4b76b3c79b8a70aa git.kernel.org
- https://git.kernel.org/stable/c/e464e26b2457005c87e158570498274b9f3b90c7 git.kernel.org
- https://git.kernel.org/stable/c/c20f925214249bb4fc04f7e197bea142a6438af6 git.kernel.org
- https://git.kernel.org/stable/c/a2d4e9a76de0b2178001214ba5de5bf94a7354aa git.kernel.org
- https://git.kernel.org/stable/c/dd2fdc3504592d85e549c523b054898a036a6afe git.kernel.org
Source: the record CVE-2026-45964 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse