CVE-2026-64390

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLinux Kernel
PublishedJul 25, 2026
First seenJul 25, 2026

How to fix

Update
  • linux linux_kernel5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.4 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 5.15.212, 5.16 ≤ v < 6.1.178, 6.2 ≤ v < 6.6.145, 6.7 ≤ v < 6.12.97, 6.13 ≤ v < 6.18.40, 6.19 ≤ v < 7.1.45.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.