8.8

CVE-2026-64390

ksmbd: track the connection owning a byte-range lock

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version f5a544e3bab78142207e0242d22442db85ba1eff
Version < 22d38cf75b556c20b039743bdf3654d535b858be
Status affected
Version f5a544e3bab78142207e0242d22442db85ba1eff
Version < 66eb3643164e5e1029907793926c132f8b5c6148
Status affected
Version f5a544e3bab78142207e0242d22442db85ba1eff
Version < ea5c9bf99f626a15cc59f645dc895f2b3f01992e
Status affected
Version f5a544e3bab78142207e0242d22442db85ba1eff
Version < fe20d492a69a6f79e637f438072b212e21ed3b78
Status affected
Version f5a544e3bab78142207e0242d22442db85ba1eff
Version < 427faaa52b0b399940c1a88065a5c310d10dad15
Status affected
Version f5a544e3bab78142207e0242d22442db85ba1eff
Version < 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6
Status affected
Version f5a544e3bab78142207e0242d22442db85ba1eff
Version < c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 5.15
Status affected
Version 0
Version < 5.15
Status unaffected
Version <= 5.15.*
Version 5.15.212
Status unaffected
Version <= 6.1.*
Version 6.1.178
Status unaffected
Version <= 6.6.*
Version 6.6.145
Status unaffected
Version <= 6.12.*
Version 6.12.97
Status unaffected
Version <= 6.18.*
Version 6.18.40
Status unaffected
Version <= 7.1.*
Version 7.1.4
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.47% 0.379
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 8.8 2.8 5.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/22d38cf75b556c20b039743bdf3654d535b858be
https://git.kernel.org/stable/c/66eb3643164e5e1029907793926c132f8b5c6148
https://git.kernel.org/stable/c/ea5c9bf99f626a15cc59f645dc895f2b3f01992e
https://git.kernel.org/stable/c/fe20d492a69a6f79e637f438072b212e21ed3b78
https://git.kernel.org/stable/c/427faaa52b0b399940c1a88065a5c310d10dad15
https://git.kernel.org/stable/c/5fecc15a30cb9ebd310f7b52c1ab607edcea78f6
https://git.kernel.org/stable/c/c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb