smb2_calc_max_out_buf_len() · ksmbd: replace hardcoded hdr2_len with offsetof()
Affects MicrosoftSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical · fixed in c3a89e3ec1ccf64fa6a34e391e1581ebbcba8683 : patch Microsoft as a priority.
Data as of 27 Oct 2026, 00:35 UTC
- Patch
- Available – fixed in c3a89e3ec1ccf64fa6a34e391e1581ebbcba8683, 80824c7e527b70cf9039534e60aff592e8f209d1, 70b4c414889492c522b6e4331562360f49be2361 +6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
Since the vulnerability is published and the description mentions a code change, it is likely that a fix exists or is planned. Users should consult the Microsoft Security Response Center or official advisories for patch availability and remediation instructions.
Description
This vulnerability involves the ksmbd component where a hardcoded header length value (hdr2_len) is replaced with a safer calculation using offsetof() in the smb2_calc_max_out_buf_len() function. The fix addresses a coding practice issue in Microsoft software versions 2.0 and 3.0. No CVSS score or detailed impact information is provided.