# CVE-2026-64390: ksmbd: track the connection owning a byte-range lock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.66% (percentile 47, 2026-11-26)
- **Published:** 2026-07-25T08:50:37.406Z
- **Modified:** 2026-09-04T19:07:30.470Z

## Who should check

- Anyone running Linux \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 22d38cf75b556c20b039743bdf3654d535b858be; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 66eb3643164e5e1029907793926c132f8b5c6148; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< ea5c9bf99f626a15cc59f645dc895f2b3f01992e; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< fe20d492a69a6f79e637f438072b212e21ed3b78; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 427faaa52b0b399940c1a88065a5c310d10dad15; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb
- Anyone running Linux 5.15

## 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.

## Affected and fixed versions

- Linux: \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 22d38cf75b556c20b039743bdf3654d535b858be; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 66eb3643164e5e1029907793926c132f8b5c6148; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< ea5c9bf99f626a15cc59f645dc895f2b3f01992e; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< fe20d492a69a6f79e637f438072b212e21ed3b78; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 427faaa52b0b399940c1a88065a5c310d10dad15; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64390. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64390.md
Affected: Linux >= f5a544e3bab78142207e0242d22442db85ba1eff, < 22d38cf75b556c20b039743bdf3654d535b858be; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 66eb3643164e5e1029907793926c132f8b5c6148; >= f5a544e3bab78142207e0242d22442db85ba1eff, < ea5c9bf99f626a15cc59f645dc895f2b3f01992e; >= f5a544e3bab78142207e024…
Fixed in: Linux 22d38cf75b556c20b039743bdf3654d535b858be, Linux 66eb3643164e5e1029907793926c132f8b5c6148, Linux 427faaa52b0b399940c1a88065a5c310d10dad15, Linux 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64390 being exploited?

There is no confirmed exploitation: CVE-2026-64390 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64390?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-64390?

Linux \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 22d38cf75b556c20b039743bdf3654d535b858be; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 66eb3643164e5e1029907793926c132f8b5c6148; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< ea5c9bf99f626a15cc59f645dc895f2b3f01992e; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< fe20d492a69a6f79e637f438072b212e21ed3b78; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 427faaa52b0b399940c1a88065a5c310d10dad15; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6; \>= f5a544e3bab78142207e0242d22442db85ba1eff, \< c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb; Linux 5.15.

### Is there a fix for CVE-2026-64390?

Yes. Fixed in Linux 22d38cf75b556c20b039743bdf3654d535b858be, Linux 66eb3643164e5e1029907793926c132f8b5c6148, Linux 427faaa52b0b399940c1a88065a5c310d10dad15, Linux 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64390?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/22d38cf75b556c20b039743bdf3654d535b858be>
- patch: <https://git.kernel.org/stable/c/66eb3643164e5e1029907793926c132f8b5c6148>
- patch: <https://git.kernel.org/stable/c/ea5c9bf99f626a15cc59f645dc895f2b3f01992e>
- patch: <https://git.kernel.org/stable/c/fe20d492a69a6f79e637f438072b212e21ed3b78>
- patch: <https://git.kernel.org/stable/c/427faaa52b0b399940c1a88065a5c310d10dad15>
- patch: <https://git.kernel.org/stable/c/5fecc15a30cb9ebd310f7b52c1ab607edcea78f6>
- patch: <https://git.kernel.org/stable/c/c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64390>

HTML: <https://flawdb.com/CVE-2026-64390> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64390>
