ksmbd_expire_session
fs/smb/server/mgmt/user_session.c
Last patched
Overview
ksmbd_expire_session in fs/smb/server/mgmt/user_session.c (torvalds/linux) was changed by 5 published CVE fixes between 2024 and 2026, in 14 distinct patches that added or removed 25 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 ksmbd_expire_session, newest first, with the lines each fix touched.
CVE-2026-98420 · lines 405–429 · +9 −4
Medium · CVSS 5.5EPSS 0.2%2026-10-14CVE-2025-22040 · line 184 · +1 −1
High · CVSS 8.8EPSS 0.7%2025-04-16CVE-2024-50286 · line 195 · +1 −0
Critical · CVSS 9.8EPSS 0.7%2024-11-19CVE-2024-50086 · lines 179–182 · +4 −3
Critical · CVSS 9.8EPSS 0.5%2024-10-29CVE-2023-52480 · line 197 · +1 −1
Critical · CVSS 9.8EPSS 0.5%2024-02-29
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
- 2destroy_previous_sessionfs/smb/server/mgmt/user_session.c12 patches · 4 CVEs2025 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
- 7free_channel_listfs/smb/server/mgmt/user_session.c6 patches · 2 CVEs2026
- 8ksmbd_chann_delfs/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 ksmbd_expire_session.
- How many CVEs have patched ksmbd_expire_session?
- 5 published CVEs changed ksmbd_expire_session in torvalds/linux, in 14 distinct patches totalling 25 changed lines, between 2024 and 2026.
- What is the latest CVE that changed ksmbd_expire_session?
- CVE-2026-98420 (ksmbd: follow SMB2 session expiration semantics), published 2026-10-14, changed lines 405 to 429 of fs/smb/server/mgmt/user_session.c.
- How does ksmbd_expire_session compare to the rest of torvalds/linux?
- torvalds/linux has 20,667 CVEs with a located fix in total; 5 of them changed ksmbd_expire_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.