CVE-2026-143080: ksmbd: refuse reauthentication of an expired session as another user

Published Dec 3, 2026
·
Updated

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

ksmbd: refuse reauthentication of an expired session as another user

When a Kerberos session expires, its owner can reauthenticate it. For an NTLM reauthentication, ntlmauthenticate() only compares the new user with sess->user when the session is still valid. An expired session is in SMB2SESSIONINPROGRESS during the reauthentication, so it takes the other branch and simply sets sess->user to the new user:

- the session's open files, tree connects and other state, created under the original user's identity, now belong to whichever user just authenticated, and a later Kerberos reauthentication is compared against that user rather than the original one; - the original struct ksmbduser is overwritten without being freed.

krb5authenticate() already refuses a different user in this case, and the valid-session branch of ntlmauthenticate() does too. Do the same for an expired session: compare with the existing user and refuse a different one with -EKEYREJECTED, freeing the newly looked-up user either way.

An AI assistant was used to find and fix this and as an independent reviewer.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In ksmbd NTLM reauthentication, compare the newly authenticated user with the existing session user; if the expired session is reauthenticated as a different user, reject it with -EKEYREJECTED and free the newly looked-up user.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

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