smb2_lock
fs/smb/server/smb2pdu.c
Last patched
Overview
smb2_lock in fs/smb/server/smb2pdu.c (torvalds/linux) was changed by 8 published CVE fixes between 2025 and 2026, in 52 distinct patches that added or removed 107 lines in total.
torvalds/linux has 20,658 CVEs with a located fix in total, so 0% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed smb2_lock, newest first, with the lines each fix touched.
CVE-2026-90162 · lines 8848–8917 · +16 −17 in 3 hunks
High · CVSS 8.8EPSS 0.7%2026-09-17CVE-2026-90156 · lines 7775–7795 · +5 −1 in 2 hunks
Medium · CVSS 5.5EPSS 0.2%2026-09-17CVE-2026-90155 · lines 9536–9577 · +3 −2 in 2 hunks
Medium · CVSS 5.5EPSS 0.2%2026-09-17CVE-2026-64396 · lines 7749–7769 · +16 −18
High · CVSS 8.8EPSS 0.4%2026-07-25CVE-2026-64390 · lines 7605–7806 · +8 −2 in 3 hunks
High · CVSS 8.8EPSS 0.5%2026-07-25CVE-2026-31477 · lines 7605–7736 · +8 −3 in 3 hunks
High · CVSS 7.1EPSS 0.5%2026-04-22CVE-2025-21945 · lines 7460–7467 · +3 −3
High · CVSS 8.8EPSS 0.5%2025-04-01CVE-2025-21944 · line 7455 · +1 −1
Medium · CVSS 5.5EPSS 0.2%2025-04-01
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.
- 1smb2_openfs/smb/server/smb2pdu.c79 patches · 17 CVEs2024 to 2026
- 2smb2_sess_setupfs/smb/server/smb2pdu.c75 patches · 16 CVEs2024 to 2026
- 3smb2_ioctlfs/smb/server/smb2pdu.c45 patches · 5 CVEs2024 to 2026
- 4smb2_session_logofffs/smb/server/smb2pdu.c38 patches · 8 CVEs2024 to 2026
- 5krb5_authenticatefs/smb/server/smb2pdu.c34 patches · 7 CVEs2025 to 2026
- 6smb2_get_info_filesystemfs/smb/server/smb2pdu.c30 patches · 4 CVEs2026
- 7smb2_get_eafs/smb/server/smb2pdu.c25 patches · 4 CVEs2024 to 2026
- 8parse_durable_handle_contextfs/smb/server/smb2pdu.c24 patches · 6 CVEs2024 to 2026
Other hotspots in the repository
Functions in torvalds/linux changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to smb2_lock.
- How many CVEs have patched smb2_lock?
- 8 published CVEs changed smb2_lock in torvalds/linux, in 52 distinct patches totalling 107 changed lines, between 2025 and 2026.
- What is the latest CVE that changed smb2_lock?
- CVE-2026-90162 (ksmbd: defer publishing granted locks to prevent UAF/double-free race), published 2026-09-17, changed lines 8848 to 8917 of fs/smb/server/smb2pdu.c.
- How does smb2_lock compare to the rest of torvalds/linux?
- torvalds/linux has 20,658 CVEs with a located fix in total; 8 of them changed smb2_lock.
- 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/smb2pdu.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.