{"id":"CVE-2026-143080","summary":"ksmbd: refuse reauthentication of an expired session as another user","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: refuse reauthentication of an expired session as another user\n\nWhen a Kerberos session expires, its owner can reauthenticate it. For an\nNTLM reauthentication, ntlm_authenticate() only compares the new user with\nsess-\u003euser when the session is still valid. An expired session is in\nSMB2_SESSION_IN_PROGRESS during the reauthentication, so it takes the\nother branch and simply sets sess-\u003euser to the new user:\n\n- the session's open files, tree connects and other state, created under\n  the original user's identity, now belong to whichever user just\n  authenticated, and a later Kerberos reauthentication is compared\n  against that user rather than the original one;\n- the original struct ksmbd_user is overwritten without being freed.\n\nkrb5_authenticate() already refuses a different user in this case, and\nthe valid-session branch of ntlm_authenticate() does too. Do the same for\nan expired session: compare with the existing user and refuse a different\none with -EKEYREJECTED, freeing the newly looked-up user either way.\n\nAn AI assistant was used to find and fix this and as an independent\nreviewer.","modified":"2026-12-03T11:01:17.469543890Z","published":"2026-12-03T09:19:00.957Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143080.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/265709f9dc271693d1a261a62242db652fcc471d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/600269bdd8ba81e105b8306b79251e8b0a624dbd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143080.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143080"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a47634cd729b42dfe372048b056d98ba4e128eaa"},{"fixed":"600269bdd8ba81e105b8306b79251e8b0a624dbd"},{"fixed":"265709f9dc271693d1a261a62242db652fcc471d"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3fc762f881c98426154f5cb2088ddbe7661583fd"}]}],"versions":["v7.2.15","v7.2.14","v7.2.13","v7.2.12","v7.2.11","v7.2.10","v7.2.9","v7.2.8","v7.2.7","v7.2.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143080.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.6"},{"fixed":"7.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.3.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143080.json"}}],"schema_version":"1.9.2"}