CVE-2026-64390 json
ksmbd: track the connection owning a byte-range lock
published 2026-07-25 3 mo ago modified 2026-09-04 2 mo ago also EUVD-2026-48934
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.4, 7.2
- linux Debian 12 6.1.180-1
- linux Debian 13 6.12.100-1
- linux Debian 14 7.1.4-1
- linux-6.12 Debian 12 6.12.100-1~deb12u1
debian advisories DEBIAN-CVE-2026-64390
- linux Ubuntu 22.04 LTS 5.15.0-198.208
- linux Ubuntu 24.04 LTS 6.8.0-147.147
- linux Ubuntu 26.04 LTS 7.0.0-31.31
- linux-aws Ubuntu 22.04 LTS 5.15.0-1117.124
- linux-aws Ubuntu 24.04 LTS 6.8.0-1067.70
- linux-aws Ubuntu 26.04 LTS 7.0.0-1012.12
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1118.128
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1071.79
ubuntu advisories UBUNTU-CVE-2026-64390
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 7.1.7-1.1
opensuse advisories openSUSE-SU-2026:11476-1
- git.kernel.org/stable/c/22d38cf75b556c20b039743bdf3654d535b858be commit
- git.kernel.org/stable/c/66eb3643164e5e1029907793926c132f8b5c6148 commit
- git.kernel.org/stable/c/ea5c9bf99f626a15cc59f645dc895f2b3f01992e commit
- git.kernel.org/stable/c/fe20d492a69a6f79e637f438072b212e21ed3b78 commit
- git.kernel.org/stable/c/427faaa52b0b399940c1a88065a5c310d10dad15 commit
- git.kernel.org/stable/c/5fecc15a30cb9ebd310f7b52c1ab607edcea78f6 commit
- git.kernel.org/stable/c/c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-64390 updated
kernel: ksmbd: track the connection owning a byte-range lock
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/22d38cf75b556c20b039743bdf3654d535b858be
patch
-
git.kernel.org
/stable/c/66eb3643164e5e1029907793926c132f8b5c6148
patch
-
git.kernel.org
/stable/c/ea5c9bf99f626a15cc59f645dc895f2b3f01992e
patch
-
git.kernel.org
/stable/c/fe20d492a69a6f79e637f438072b212e21ed3b78
patch
-
git.kernel.org
/stable/c/427faaa52b0b399940c1a88065a5c310d10dad15
patch
-
git.kernel.org
/stable/c/5fecc15a30cb9ebd310f7b52c1ab607edcea78f6
patch
-
git.kernel.org
/stable/c/c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb
patch
Sources
- CVE List CVE-2026-64390
- NVD CVE-2026-64390
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.