CVE-2026-64390
ksmbd: track the connection owning a byte-range lock
Check your servers for CVE-2026-64390
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64390 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f5a544e3bab78142207e0242d22442db85ba1eff, before 22d38cf75b556c20b039743bdf3654d535b858be affected from f5a544e3bab78142207e0242d22442db85ba1eff, before 66eb3643164e5e1029907793926c132f8b5c6148 affected from f5a544e3bab78142207e0242d22442db85ba1eff, before ea5c9bf99f626a15cc59f645dc895f2b3f01992e affected from f5a544e3bab78142207e0242d22442db85ba1eff, before fe20d492a69a6f79e637f438072b212e21ed3b78 affected from f5a544e3bab78142207e0242d22442db85ba1eff, before 427faaa52b0b399940c1a88065a5c310d10dad15 affected from f5a544e3bab78142207e0242d22442db85ba1eff, before 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6 affected from f5a544e3bab78142207e0242d22442db85ba1eff, before c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.212 up to and including 5.15.* unaffected from 6.1.178 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.4 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64390 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64390
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64390
trivy image --scanners vuln IMAGE | grep CVE-2026-64390
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/22d38cf75b556c20b039743bdf3654d535b858be git.kernel.org
- https://git.kernel.org/stable/c/66eb3643164e5e1029907793926c132f8b5c6148 git.kernel.org
- https://git.kernel.org/stable/c/ea5c9bf99f626a15cc59f645dc895f2b3f01992e git.kernel.org
- https://git.kernel.org/stable/c/fe20d492a69a6f79e637f438072b212e21ed3b78 git.kernel.org
- https://git.kernel.org/stable/c/427faaa52b0b399940c1a88065a5c310d10dad15 git.kernel.org
- https://git.kernel.org/stable/c/5fecc15a30cb9ebd310f7b52c1ab607edcea78f6 git.kernel.org
- https://git.kernel.org/stable/c/c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb git.kernel.org
Source: the record CVE-2026-64390 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse