# ksmbd: validate session id and tree id in the compound request

CVE record · `CVE-2023-3866`

- **Identifiers:** `CVE-2023-3866`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** Yes: CVSS 7+ and EPSS
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 16 Aug 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Aug 2025, 13:27 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.

## Critical

Critical, because:

- CVSS score 7.5 (7.0 or more) and EPSS 0.22 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before eb947403518ea3d93f6d89264bb1f5416bb0c7d0` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 854156d12caa9d36de1cf5f084591c7686cc8a9d` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before d1066c1b3663401cd23c0d6e60cdae750ce00c0f` (git)
  - affected: `0626e6641f6b467447c81dd7678a69c66f7746cf to before 5005bcb4219156f1bf7587b185080ec1da08518e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (semver)
  - unaffected: `5.15.121 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.36 to 6.1.*, inclusive` (semver)
  - unaffected: `6.3.10 to 6.3.*, inclusive` (semver)
  - unaffected: `6.4 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.22, the 97th percentile, on 18 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 16 Aug 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/eb947403518ea3d93f6d89264bb1f5416bb0c7d0>
- <https://git.kernel.org/stable/c/854156d12caa9d36de1cf5f084591c7686cc8a9d>
- <https://git.kernel.org/stable/c/d1066c1b3663401cd23c0d6e60cdae750ce00c0f>
- <https://git.kernel.org/stable/c/5005bcb4219156f1bf7587b185080ec1da08518e>

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

---

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