CVE-2026-45964

Source
https://cve.org/CVERecord?id=CVE-2026-45964
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45964.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-45964
Downstream
Related
Published
2026-05-27T12:18:22.052Z
Modified
2026-07-02T09:29:16.710103Z
Summary
SUNRPC: fix gss_auth kref leak in gss_alloc_msg error path
Details

In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: fix gssauth kref leak in gssalloc_msg error path

Commit 5940d1cf9f42 ("SUNRPC: Rebalance a kref in authgss.c") added a krefget(&gssauth->kref) call to balance the gssputauth() done in gssreleasemsg(), but forgot to add a corresponding krefput() on the error path when kstrdup_const() fails.

If servicename is non-NULL and kstrdupconst() fails, the function jumps to errputpipeversion which calls putpipeversion() and kfree(gssmsg), but never releases the gssauth reference. This leads to a kref leak where the gssauth structure is never freed.

Add a forward declaration for gssfreecallback() and call krefput() in the errputpipeversion error path to properly release the reference taken earlier.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45964.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5940d1cf9f42f67e9cc3f7df9eda39f5888d6e9e
Fixed
3b2b6c42070ce4204936288253baf101e995c2d3
Fixed
b559be2ec6cdb2e9c2c36c23fbbd4690d8a5c3f7
Fixed
a1bc9561b617ec7e2d09e6c134d1db8fcf9ca4a6
Fixed
655c9ba9915f05266998dbbf4b76b3c79b8a70aa
Fixed
e464e26b2457005c87e158570498274b9f3b90c7
Fixed
c20f925214249bb4fc04f7e197bea142a6438af6
Fixed
a2d4e9a76de0b2178001214ba5de5bf94a7354aa
Fixed
dd2fdc3504592d85e549c523b054898a036a6afe

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45964.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
5.10.252
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.202
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.165
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.128
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.75
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.14
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45964.json"