CVE-2026-143080
not scored yetksmbd: refuse reauthentication of an expired session as another user
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= a47634cd729b42dfe372048b056d98ba4e128eaa, < 600269bdd8ba81e105b8306b79251e8b0a624dbd; >= a47634cd729b42dfe372048b056d98ba4e128eaa, < 265709f9dc271693d1a261a62242db652fcc471d; = 3fc762f881c98426154f5cb2088ddbe7661583fd; >= 7.2.6, < 7.3 | 600269bdd8ba81e105b8306b79251e8b0a624dbd, 265709f9dc271693d1a261a62242db652fcc471d, 7.3 |
| CVE List | Linux | Linux | = 7.3 |
References
- https://git.kernel.org/stable/c/265709f9dc271693d1a261a62242db652fcc471d
- https://git.kernel.org/stable/c/600269bdd8ba81e105b8306b79251e8b0a624dbd
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)