CVE-2026-72044: ksmbd: fix stack buffer overflow in multichannel session-key copy

Published Aug 15, 2026
·
Updated

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

ksmbd: fix stack buffer overflow in multichannel session-key copy

Commit 4b706360ffb7 ("ksmbd: fix multichannel binding and enforce channel limit") moved the binding-path session key out of the session-wide sess->sesskey (CIFSKEYSIZE = 40) into a new per-channel buffer, and sized both that buffer and the on-stack copy used during binding with SMB2NTLMV2SESSKEYSIZE (16):

struct channel { char sesskey[SMB2NTLMV2SESSKEYSIZE]; / 16 / ... };

ntlmauthenticate() / krb5authenticate(): char channelkey[SMB2NTLMV2SESSKEYSIZE] = {}; / 16 / char authkey = conn->binding ? channelkey : sess->sesskey;

The two writers that fill this destination still bound the copy length against CIFSKEYSIZE (40), not against the 16-byte buffer:

ksmbddecodentlmsspauthblob() (NTLM key exchange): if (sesskeylen > CIFSKEYSIZE) / 40 / return -EINVAL; arc4crypt(ctxarc4, sesskey, (char )authblob + sesskeyoff, sesskeylen);

ksmbdkrb5authenticate(): if (resp->sessionkeylen > sizeof(sess->sesskey)) / 40 / ... memcpy(sesskey, resp->payload, resp->sessionkeylen);

On a binding SESSIONSETUP, authkey points at the 16-byte channelkey, so a client that supplies an NTLM EncryptedRandomSessionKey of up to 40 bytes (with NTLMSSPNEGOTIATEKEYEXCH), or a Kerberos ticket whose session key is longer than 16 bytes (a normal AES256 key is 32), writes past the 16-byte stack buffer -- up to a 24-byte kernel stack overflow. KASAN reports it as a stack-out-of-bounds write in arc4crypt() called from ksmbddecodentlmsspauthblob().

The destinations must be able to hold the full session key the length checks already permit. Size the per-channel key buffer and the two on-stack channelkey buffers with CIFSKEYSIZE, matching sess->sesskey.

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 4b706360ffb7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ksmbd: fix stack buffer overflow in multichannel session-key copy

Event History

Aug 15, 2026
CVE Published
via MITRE·05:52 AM
Data Sourced
via MITRE·05:52 AM
Description
Data Sourced
via NVD·06:21 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72044?

CVE-2026-72044 has a risk rating of 71, indicating a high severity vulnerability.

2

How do I fix CVE-2026-72044?

To mitigate CVE-2026-72044, update your Linux kernel to the latest version where this vulnerability has been patched.

3

What type of vulnerability is CVE-2026-72044?

CVE-2026-72044 is classified as a buffer overflow vulnerability.

4

Which software is affected by CVE-2026-72044?

CVE-2026-72044 affects the Linux kernel, specifically related to ksmbd and multichannel session-key handling.

5

When was CVE-2026-72044 published?

CVE-2026-72044 was published on August 15, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203