Back to list

ksmbd: replace hardcoded hdr2_len with offsetof() in smb2_calc_max_out_buf_len() — CVE-2026-31478

MSRC · Microsoft · CVE-2026-31478

ID
CVE-2026-31478
Date
Updated
Activity
Source
MSRC
Vendor
Microsoft
Threat
high
CVSS
7.8

Summary

CVE-2026-31478 is a advisory from MSRC. ksmbd: replace hardcoded hdr2_len with offsetof() in smb2_calc_max_out_buf_len() Vendor: Microsoft. Severity/Threat: high. Source updated on 2026-04-27.

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories