CVE-2026-64390 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: track the connection owning a byte-range lock SMB2_LOCK adds each granted byte-range lock to both the file lock list and the lock list of the connection which handled the request. The final close and durable handle paths, however, remove the connection list entry while holding fp->conn->llist_lock. With SMB3 multichannel, the connection handling the LOCK request can be different from the connection which opened the file. The entry can therefore be removed under a different spinlock from the one protecting the list it belongs to. A concurrent traversal can then access freed struct ksmbd_lock and struct file_lock objects. Record the connection owning each lock's clist entry and hold a reference to it while the entry is linked. Use that connection and its llist_lock for unlock, rollback, close, and durable preserve. Durable reconnect assigns the new connection as the owner when publishing the locks again.
A vulnerability in the Linux kernel's ksmbd component relates to improper handling of byte-range locks in SMB2 protocol, particularly under SMB3 multichannel scenarios. The issue arises because the connection managing the LOCK request can differ from the one that opened the file, leading to potential access of freed memory structures. This vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel stable tree, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/22d38cf75b556c20b039743bdf3654d535b858be | kernel.org | Patch |
| https://git.kernel.org/stable/c/427faaa52b0b399940c1a88065a5c310d10dad15 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5fecc15a30cb9ebd310f7b52c1ab607edcea78f6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/66eb3643164e5e1029907793926c132f8b5c6148 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb | kernel.org | Patch |
| https://git.kernel.org/stable/c/ea5c9bf99f626a15cc59f645dc895f2b3f01992e | kernel.org | Patch |
| https://git.kernel.org/stable/c/fe20d492a69a6f79e637f438072b212e21ed3b78 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 5.15.212 >= 5.16, < 6.1.178 >= 6.2, < 6.6.145 >= 6.7, < 6.12.97 >= 6.13, < 6.18.40 >= 6.19, < 7.1.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | Initial Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 27, 2026 | CVE Modified | kernel.org |
| Jul 25, 2026 | New CVE Received | kernel.org |