PT-2026-166935
CVE-2026-143080
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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, ntlm authenticate() only compares the new user with
sess->user when the session is still valid. An expired session is in
SMB2 SESSION IN PROGRESS 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 ksmbd user is overwritten without being freed.
krb5 authenticate() already refuses a different user in this case, and
the valid-session branch of ntlm authenticate() 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.
Found an issue in the description? Have something to add? Feel free to write us 👾