CVE-2026-64390: ksmbd: track the connection owning a byte-range lock

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: track the connection owning a byte-range lock

SMB2LOCK 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->llistlock.

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 ksmbdlock and struct filelock 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 llistlock for unlock, rollback, close, and durable preserve. Durable reconnect assigns the new connection as the owner when publishing the locks again.

Affected Software

7 affected components
Linux Linux kernel
Linux Linux kernel>=5.15<5.15.212
Linux Linux kernel>=5.16<6.1.178
Linux Linux kernel>=6.2<6.6.145
Linux Linux kernel>=6.7<6.12.97
Linux Linux kernel>=6.13<6.18.40
Linux Linux kernel>=6.19<7.1.4

Event History

Jul 25, 2026
CVE Published
via MITRE·08:50 AM
Data Sourced
via MITRE·08:50 AM
DescriptionSeverity
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

When is this issue most likely to be triggered?

It is associated with SMB3 multichannel, where the connection processing a byte-range lock request differs from the connection that opened the file. Concurrent traversal of the affected lock list can then access freed lock objects.

2

What level of attacker access is indicated by the severity data?

The CVSS vector indicates network reachability, low attack complexity, no user interaction, and low privileges required. Successful exploitation can affect confidentiality, integrity, and availability.

3

What should teams do if they cannot immediately apply the patch?

The provided remediation is to apply the available patch. No alternative workaround or configuration-based mitigation is specified in the supplied information.

4

How can I determine whether my kernel includes the fix?

No affected kernel-version range is provided. Compare your kernel's applied patches or source history with the listed stable commit references to determine whether the remediation has been incorporated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203