A memory leak vulnerability exists in the Linux kernel's SUNRPC auth_gss component due to improper cleanup in XDR decoding error paths. (CVE-2026-45870)
A memory leak vulnerability exists in the Linux kernel's SUNRPC auth_gss component due to improper cleanup in XDR decoding error paths. Specifically, functions gssx_dec_ctx(), gssx_dec_status(), and gssx_dec_name() allocate memory but may return early on decode failures without freeing previously allocated buffers. This leads to unreclaimed memory, particularly in gssx_dec_ctx() where multiple buffers can be allocated before an error occurs. The issue has been fixed by adding error handling to free allocated buffers on failure.
AI Analysis
Technical Summary
The Linux kernel's SUNRPC auth_gss module had a memory leak vulnerability (CVE-2026-45870) caused by missing cleanup in error paths during XDR decoding. Functions such as gssx_dec_ctx(), gssx_dec_status(), and gssx_dec_name() allocate memory buffers using kmemdup() but do not free these buffers if a subsequent decode operation fails, resulting in memory leaks. The leak in gssx_dec_ctx() is notable because multiple buffers are allocated before failure can occur, leaving several buffers unreleased. The fix involves adding goto-based cleanup logic to free any previously allocated buffers before returning an error.
Potential Impact
This vulnerability leads to memory leaks in the Linux kernel's SUNRPC auth_gss component. While it does not affect confidentiality or integrity, it impacts availability by causing resource exhaustion (memory consumption) over time. There are no known exploits in the wild. The CVSS vector indicates local attack vector with low privileges required and no user interaction, with no confidentiality or integrity impact but high impact on availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor for updates from the Linux kernel maintainers and apply patches once released. No specific workaround or temporary fix is provided in the available information.
A memory leak vulnerability exists in the Linux kernel's SUNRPC auth_gss component due to improper cleanup in XDR decoding error paths. (CVE-2026-45870)
Description
A memory leak vulnerability exists in the Linux kernel's SUNRPC auth_gss component due to improper cleanup in XDR decoding error paths. Specifically, functions gssx_dec_ctx(), gssx_dec_status(), and gssx_dec_name() allocate memory but may return early on decode failures without freeing previously allocated buffers. This leads to unreclaimed memory, particularly in gssx_dec_ctx() where multiple buffers can be allocated before an error occurs. The issue has been fixed by adding error handling to free allocated buffers on failure.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's SUNRPC auth_gss module had a memory leak vulnerability (CVE-2026-45870) caused by missing cleanup in error paths during XDR decoding. Functions such as gssx_dec_ctx(), gssx_dec_status(), and gssx_dec_name() allocate memory buffers using kmemdup() but do not free these buffers if a subsequent decode operation fails, resulting in memory leaks. The leak in gssx_dec_ctx() is notable because multiple buffers are allocated before failure can occur, leaving several buffers unreleased. The fix involves adding goto-based cleanup logic to free any previously allocated buffers before returning an error.
Potential Impact
This vulnerability leads to memory leaks in the Linux kernel's SUNRPC auth_gss component. While it does not affect confidentiality or integrity, it impacts availability by causing resource exhaustion (memory consumption) over time. There are no known exploits in the wild. The CVSS vector indicates local attack vector with low privileges required and no user interaction, with no confidentiality or integrity impact but high impact on availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor for updates from the Linux kernel maintainers and apply patches once released. No specific workaround or temporary fix is provided in the available information.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cc2x-2xg8-9rpf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-45870"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a3ef7ef27e9c79719034bda
Added to database: 06/26/2026, 22:06:39 UTC
Last enriched: 06/26/2026, 22:50:24 UTC
Last updated: 07/31/2026, 19:24:48 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.