# ksmbd: fix mechToken leak when SPNEGO decode fails after token alloc

CVE record · `CVE-2026-31610`

- **Identifiers:** `CVE-2026-31610`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 24 Apr 2026
- **Updated:** 24 Jul 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 24 Apr 2026, 14:42 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: `fad4161b5cd01a24202234976ebbb133f7adc0b5 to before ae9cdb29efed20ffdee9ff3b0bb72fb369c353da` (git)
  - affected: `fad4161b5cd01a24202234976ebbb133f7adc0b5 to before bd4a7fb04f06f419b0e93d8b52fe32067eb312d1` (git)
  - affected: `fad4161b5cd01a24202234976ebbb133f7adc0b5 to before 745a535461bbb90a56d9357573c9f97a5c12abe1` (git)
  - affected: `fad4161b5cd01a24202234976ebbb133f7adc0b5 to before dd577cb55588ec3fbc66af3621280306601c4192` (git)
  - affected: `fad4161b5cd01a24202234976ebbb133f7adc0b5 to before dd53414e301beb915fe672dc4c4a51bafb917604` (git)
  - affected: `fad4161b5cd01a24202234976ebbb133f7adc0b5 to before 269c800a7a7e363459291885b35f7bc72e231ed6` (git)
  - affected: `fad4161b5cd01a24202234976ebbb133f7adc0b5 to before 6c8c44e6553b9f072f62d9875e567766eb293162` (git)
  - affected: `fad4161b5cd01a24202234976ebbb133f7adc0b5 to before ad0057fb91218914d6c98268718ceb9d59b388e1` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (semver)
  - unaffected: `5.15.212 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.178 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.136 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.83 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.24 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.14 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0.1 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0014, the 3rd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 24 Apr 2026, 15:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31610)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/ae9cdb29efed20ffdee9ff3b0bb72fb369c353da>
- <https://git.kernel.org/stable/c/bd4a7fb04f06f419b0e93d8b52fe32067eb312d1>
- <https://git.kernel.org/stable/c/745a535461bbb90a56d9357573c9f97a5c12abe1>
- <https://git.kernel.org/stable/c/dd577cb55588ec3fbc66af3621280306601c4192>
- <https://git.kernel.org/stable/c/dd53414e301beb915fe672dc4c4a51bafb917604>
- <https://git.kernel.org/stable/c/269c800a7a7e363459291885b35f7bc72e231ed6>
- <https://git.kernel.org/stable/c/6c8c44e6553b9f072f62d9875e567766eb293162>
- <https://git.kernel.org/stable/c/ad0057fb91218914d6c98268718ceb9d59b388e1>

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-31610>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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