PoC Monitor
← All CVEs
CVE-2026-64390published 25 Jul 2026 08:50 UTCData: JSON · API

Linux

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= f5a544e3bab78142207e0242d22442db85ba1eff, < 22d38cf75b556c20b039743bdf3654d535b858be
  • >= f5a544e3bab78142207e0242d22442db85ba1eff, < 66eb3643164e5e1029907793926c132f8b5c6148
  • >= f5a544e3bab78142207e0242d22442db85ba1eff, < ea5c9bf99f626a15cc59f645dc895f2b3f01992e
  • >= f5a544e3bab78142207e0242d22442db85ba1eff, < fe20d492a69a6f79e637f438072b212e21ed3b78
  • >= f5a544e3bab78142207e0242d22442db85ba1eff, < 427faaa52b0b399940c1a88065a5c310d10dad15
  • >= f5a544e3bab78142207e0242d22442db85ba1eff, < 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6
  • >= f5a544e3bab78142207e0242d22442db85ba1eff, < c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb

Fixed in 22d38cf75b556c20b039743bdf3654d535b858be, 66eb3643164e5e1029907793926c132f8b5c6148, ea5c9bf99f626a15cc59f645dc895f2b3f01992e, fe20d492a69a6f79e637f438072b212e21ed3b78, 427faaa52b0b399940c1a88065a5c310d10dad15, 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6, c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb

Linux Linux
  • 5.15

Fixed in 0, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.4, 7.2

Mitigation

Upgrade Linux to 22d38cf75b556c20b039743bdf3654d535b858be or 66eb3643164e5e1029907793926c132f8b5c6148 or ea5c9bf99f626a15cc59f645dc895f2b3f01992e or fe20d492a69a6f79e637f438072b212e21ed3b78 or 427faaa52b0b399940c1a88065a5c310d10dad15 or 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6 or c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb or later.

Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.4 or 7.2 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published25 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.