CVE-2026-64390

CVE-2026-64390

High · published July 25, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
39.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00467 · 39.5th percentile
Published
2026-07-25T14:17Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 5.15.2125.15.212
linux/linux_kernel≥ 5.16, < 6.1.1786.1.178
linux/linux_kernel≥ 6.2, < 6.6.1456.6.145
linux/linux_kernel≥ 6.7, < 6.12.976.12.97
linux/linux_kernel≥ 6.13, < 6.18.406.18.40
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
References (7)
EPSS history
Timeline
  • 25 JUL 08:50Z
    ksmbd: track the connection owning a byte-range lock
    cvelistv5