# ksmbd: fix UAF of struct file_lock in SMB2_LOCK deferred-lock cancellation

CVE record · `CVE-2026-64396`

- **Identifiers:** `CVE-2026-64396`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Jul 2026
- **Updated:** 17 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Jul 2026, 08:50 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 367c42a611fe488b7b03f1f6737f4dee0e8b20a2` (git)
  - affected: `e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 7703fd9aba1f2483c8e55f9ff73b7663e0761ed9` (git)
  - affected: `e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 463bbd79698513af4dad50fe1c573825f297ca2e` (git)
  - affected: `e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 5aa1cb01155f96824003baf7997cdf1f150caba3` (git)
  - affected: `e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 5c75275c0fc9a2deb0d8f5604edcb16f288171c8` (git)
  - affected: `e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before d20d1c8ba5765d1d12eefc0aee6385ab3f240e1e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (semver)
  - unaffected: `6.1.178 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.145 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.96 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.39 to 6.18.*, inclusive` (semver)
  - unaffected: `7.1.4 to 7.1.*, inclusive` (semver)
  - unaffected: `7.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0043, the 38th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 25 Jul 2026. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2026-64396](https://www.cve.org/CVERecord?id=CVE-2026-64396)
- [NVD: CVE-2026-64396](https://nvd.nist.gov/vuln/detail/CVE-2026-64396)

### References from the CNA

- <https://git.kernel.org/stable/c/367c42a611fe488b7b03f1f6737f4dee0e8b20a2>
- <https://git.kernel.org/stable/c/7703fd9aba1f2483c8e55f9ff73b7663e0761ed9>
- <https://git.kernel.org/stable/c/463bbd79698513af4dad50fe1c573825f297ca2e>
- <https://git.kernel.org/stable/c/5aa1cb01155f96824003baf7997cdf1f150caba3>
- <https://git.kernel.org/stable/c/5c75275c0fc9a2deb0d8f5604edcb16f288171c8>
- <https://git.kernel.org/stable/c/d20d1c8ba5765d1d12eefc0aee6385ab3f240e1e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-64396>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-64396/>. Everything for agents: <https://agentprime.io/llms.txt>.
