destroy_previous_session
fs/smb/server/mgmt/user_session.c
Last patched
Overview
destroy_previous_session in fs/smb/server/mgmt/user_session.c (torvalds/linux) was changed by 4 published CVE fixes between 2025 and 2026, in 12 distinct patches that added or removed 28 lines in total.
torvalds/linux has 20,667 CVEs with a located fix in total, so 0% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed destroy_previous_session, newest first, with the lines each fix touched.
CVE-2026-98115 · lines 669–683 · +12 −1
High · CVSS 8.8EPSS 0.3%2026-09-25CVE-2026-90154 · lines 416–425 · +4 −4
High · CVSS 7.1EPSS 0.2%2026-09-17CVE-2026-31717 · lines 399–400 · +2 −1
High · CVSS 8.7EPSS 0.4%2026-05-01CVE-2025-22037 · lines 376–381 · +2 −2
High · CVSS 7.5EPSS 69.4%2025-04-16
Get an alert when the next CVE fix lands in torvalds/linux, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1__session_createfs/smb/server/mgmt/user_session.c19 patches · 6 CVEs2024 to 2026
- 2ksmbd_expire_sessionfs/smb/server/mgmt/user_session.c14 patches · 5 CVEs2024 to 2026
- 3ksmbd_sessions_deregisterfs/smb/server/mgmt/user_session.c11 patches · 4 CVEs2024 to 2026
- 4ksmbd_session_rpc_openfs/smb/server/mgmt/user_session.c8 patches · 3 CVEs2024 to 2025
- 5ksmbd_session_destroyfs/smb/server/mgmt/user_session.c8 patches · 2 CVEs2026
- 6ksmbd_session_registerfs/smb/server/mgmt/user_session.c6 patches · 3 CVEs2026
- 7ksmbd_chann_delfs/smb/server/mgmt/user_session.c6 patches · 2 CVEs2026
- 8free_channel_listfs/smb/server/mgmt/user_session.c6 patches · 2 CVEs2026
Other hotspots in the repository
Functions in torvalds/linux changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to destroy_previous_session.
- How many CVEs have patched destroy_previous_session?
- 4 published CVEs changed destroy_previous_session in torvalds/linux, in 12 distinct patches totalling 28 changed lines, between 2025 and 2026.
- What is the latest CVE that changed destroy_previous_session?
- CVE-2026-98115 (ksmbd: safely drain sessions during logoff), published 2026-09-25, changed lines 669 to 683 of fs/smb/server/mgmt/user_session.c.
- How does destroy_previous_session compare to the rest of torvalds/linux?
- torvalds/linux has 20,667 CVEs with a located fix in total; 4 of them changed destroy_previous_session.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- fs/smb/server/mgmt/user_session.c on GitHub (opens in a new tab)
- All patched functions in torvalds/linux
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track torvalds/linux CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.