In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix heap out-of-bounds write in krb5_authenticate() In… (CVE-2026-99083)
Description
A heap out-of-bounds write vulnerability in the Linux kernel's ksmbd component was fixed in the krb5_authenticate() function. The flaw occurs because the calculation of available buffer space (out_len) for the Kerberos AP-REP token does not account for prior responses in a compounded SMB2 request, leading to an overestimation of buffer headroom. This causes a length check to erroneously pass, allowing memcpy() to write beyond the allocated buffer into adjacent kernel heap memory. The issue is resolved by correctly subtracting the offset of prior responses when computing the available buffer space.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's ksmbd service involves an incorrect calculation of the available buffer space (out_len) in the krb5_authenticate() function during processing of SMB2_SESSION_SETUP requests that are part of a compounded SMB2 request. The calculation omits the offset of prior SMB2 response headers (work->next_smb2_rsp_hdr_off), causing out_len to overstate the remaining buffer space. As a result, the length check comparing out_len to the SPNEGO blob length passes incorrectly, leading to a heap out-of-bounds write when memcpy() copies the AP-REP blob past the end of the allocated response buffer into adjacent kernel heap memory. The fix subtracts the missing offset to ensure the length check accurately reflects the physical buffer space.
Potential Impact
This vulnerability allows a heap out-of-bounds write in kernel memory, which can lead to memory corruption. Such corruption could potentially cause system instability, crashes, or escalation of privileges if exploited. However, no known exploits in the wild have been reported. The impact is limited to systems running the vulnerable Linux kernel with ksmbd enabled and processing compounded SMB2_SESSION_SETUP requests with Kerberos authentication.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the calculation of available buffer space in krb5_authenticate(). Users should apply the official kernel updates or patches that include this fix. Since no vendor advisory or patch links are provided in the input, check the Linux kernel mailing lists or vendor advisories for the specific patch and update instructions. Until patched, avoid processing compounded SMB2_SESSION_SETUP requests with Kerberos authentication if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2j87-48p3-j5xw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-99083"]
Threat ID: 6adbaaced73cc49347b20512
Added to database: 10/23/2026, 18:43:26 UTC
Last enriched: 10/23/2026, 18:51:16 UTC
Last updated: 10/24/2026, 00:45:06 UTC
Views: 3
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.